forked from bachelor-group-66-systemf/churf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Justfile
59 lines (42 loc) · 1.07 KB
/
Justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# build from scratch
build:
bnfc -o src -d Grammar.cf
cabal install --installdir=. --overwrite-policy=always
# clean the generated directories
clean:
rm -r src/Grammar
rm churf
rm -r dist-newstyle/
# run all tests
test:
cabal test
debug FILE:
cabal run churf -- -d {{FILE}}
hm FILE:
cabal run churf -- -t hm {{FILE}}
bi FILE:
cabal run churf -- -t bi {{FILE}}
hml FILE:
cabal run churf -- -l -t hm {{FILE}}
bil FILE:
cabal run churf -- -l -t bi {{FILE}}
hmd FILE:
cabal run churf -- -d -t hm {{FILE}}
bid FILE:
cabal run churf -- -d -t bi {{FILE}}
hmdm FILE:
cabal run churf -- -d -t hm -m {{FILE}}
bidm FILE:
cabal run churf -- -d -t bi -m {{FILE}}
hmp FILE:
cabal run churf -- -t hm -p {{FILE}}
bip FILE:
cabal run churf -- -t bi -p {{FILE}}
hmdp FILE:
cabal run churf -- -t hm -d -p {{FILE}}
bidp FILE:
cabal run churf -- -t bi -d -p {{FILE}}
quicksort:
cabal run churf -- -t bi sample-programs/working/quicksort.crf
lc:
cabal run churf -- -t bi sample-programs/working/lambda_calculus-2.crf