-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_test
34 lines (28 loc) · 1.19 KB
/
run_test
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
echo "Tracing semantics...\n"
python generate_preamble.py ./traced_builtins test-nomh.js
./runchurch test-nomh.church >> test-nomh.js
echo "console.log(dump_trace());" >> test-nomh.js
echo "Direct trace semantics...\n"
python generate_preamble.py ./webchurch/church_builtins trace-nomh.js
node test-nomh.js >> trace-nomh.js
node trace-nomh.js
echo "Retracing semantics...\n"
python generate_preamble.py ./retraced_builtins trace-nomh.js
node test-nomh.js >> trace-nomh.js
echo "console.log(dump_trace());" >> trace-nomh.js
python generate_preamble.py ./webchurch/church_builtins retraced-nomh.js
node trace-nomh.js >> retraced-nomh.js
node retraced-nomh.js
echo "Deforestation semantics...\n"
python generate_preamble.py ./deforest_builtins trace-nomh.js
node test-nomh.js >> trace-nomh.js
echo "console.log(dump_trace());" >> trace-nomh.js
python generate_preamble.py ./webchurch/church_builtins deforest-nomh.js
node trace-nomh.js >> deforest-nomh.js
node deforest-nomh.js
echo "Slicing...\n"
echo "console.log(dump_trace());" >> deforest-nomh.js
python generate_preamble.py ./sliced_builtins slice-nomh.js
node trace-nomh.js >> slice-nomh.js
echo "__int.get_slices();" >> slice-nomh.js
node slice-nomh.js