-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.py
40 lines (36 loc) · 1.06 KB
/
build.py
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
srcpath = "src/"
package = "elipses"
bin = 'elipc'
bindir = "bin/"
classpath = bindir
sablejar = "vendor/sablecc.jar"
mainclass = package + ".Main"
sablegrammar = "src/ElipsesCST.sable"
sablegrammar = "src/Elipses.sable"
autorun = True
codegen_files = [
"test/codegen/block.elip",
#"test/codegen/function_references.elip",
#"test/codegen/lambda.elip",
#"test/codegen/ir.elip",
]
semantic_files = [
"test/semantic/incorrect_duplicate_entry.elip",
#"test/semantic/incorrect_already_defined.elip",
#"test/semantic/incorrect_undeclared.elip",
#"test/semantic/incorrect_operation.elip",
#"test/semantic/incorrect_if_expr.elip",
#"test/semantic/incorrect_args.elip",
#"test/semantic/incorrect_return_type.elip",
#"test/semantic/incorrect_decl_const_type.elip",
#"test/semantic/correct_builtins.elip",
#"test/semantic/incorrect_lambda_args.elip",
#"test/semantic/incorrect_use_of_bool.elip",
]
runargs = [
#"--gui",
#"--c",
#"--exe",
#*semantic_files
*codegen_files
]