continued work pattern matching

This commit is contained in:
sebastianselander 2023-03-02 16:05:43 +01:00
parent 05313652f9
commit 2401b6437b
6 changed files with 79 additions and 58 deletions

17
Justfile Normal file
View 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}}