continued work pattern matching
This commit is contained in:
parent
05313652f9
commit
2401b6437b
6 changed files with 79 additions and 58 deletions
17
Justfile
Normal file
17
Justfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
alias b := build
|
||||
|
||||
build:
|
||||
bnfc -o src -d Grammar.cf
|
||||
|
||||
# clean the generated directories
|
||||
clean:
|
||||
rm -r src/Grammar
|
||||
rm language
|
||||
|
||||
# run all tests
|
||||
test:
|
||||
cabal test
|
||||
|
||||
# compile a specific file
|
||||
run FILE:
|
||||
cabal run language {{FILE}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue