-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparseScript
48 lines (47 loc) · 1.9 KB
/
parseScript
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
build
etac ("Test --parse") "--parse" {
arrayblankbetween.eta;
arrayfunctioncalladd.eta;
arrayliteralaccess.eta;
arrayliteralaccessadd.eta;
blocksinblocks.eta;
blocksthenblocks.eta;
blockscomplex.eta;
booleanprecedence.eta;
earlyreturn.eta (Syntax, "a");
exampleprogram.eta;
functioncalls.eta;
globaldeclarations.eta;
globalmultass1.eta (Syntax, "multiple assignment disallowed in global");
globalmultass2.eta (Syntax, "multiple assignment disallowed in global");
globalmultass3.eta (Syntax, "multiple assignment disallowed in global");
globalmultass4.eta (Syntax, "multiple assignment disallowed in global");
globalnegs.eta (Syntax, "no double negative in global");
invalidarrayinit1.eta (Syntax, "cannot initialize size of global arrays");
invalidarrayinit2.eta (Syntax, "cannot assign to array in global");
invalidarrayinit3.eta (Syntax, "cannot initialize size and declare values");
invalidarrayinit4.eta (Syntax, "Unexpected index 3");
invalideti1.eti (Syntax, "unexpected character {, interface function cannot have block");
invalideti2.eti (Syntax, "unexpected token :, declaration cannot occur in eti file");
invalidlargeint.eta (Syntax, "-9223372036854775808");
invalidsinglereturn.eta (Syntax, "return");
invalidsubtraction.eta (Syntax, "-9223372036854775808");
largeint.eta;
largeintfail.eta (Syntax, "this number too big");
length.eta;
lengthwithtrailingcommas.eta;
manyassignments.eta;
manyfunctions.eta;
manynegative.eta;
multiassign1.rh;
multiassignment.eta;
multiassignmentwitharrayinit.eta (Syntax, "Unexpected token 3");
multideclaration.eta (Syntax, "Unexpected token ]");
mutuallyrecursive.eta;
nestedifstatements.eta;
nomethodbody.eta (Syntax, "<<EOF>>");
operatorprecedence.eta;
trailingcomma.eta;
variabledeclarations.eta;
whilenoblock.eta;
}