-
Notifications
You must be signed in to change notification settings - Fork 0
/
FollowSet.txt
51 lines (51 loc) · 1.94 KB
/
FollowSet.txt
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
program $
moduleDeclarations DRIVERDEF DEF
moduleDeclaration DECLARE DRIVERDEF DEF
otherModules DRIVERDEF $
driverModule DEF $
module DEF DRIVERDEF $
ret START
input_plist SQBC
input_plist2 SQBC
output_plist SQBC
output_plist2 SQBC
dataType SEMICOL COMMA SQBC
type COMMA SEMICOL SQBC
moduleDef DEF DRIVERDEF $
statements END BREAK
statement GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
ioStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
var BC MUL DIV PLUS MINUS LT LE GT GE EQ NE AND OR SEMICOL
whichId BC MUL DIV PLUS MINUS LT LE GT GE EQ NE AND OR SEMICOL
simpleStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
assignmentStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
whichStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
lvalueIDStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
lvalueARRStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
index1 SQBC
moduleReuseStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
optional USE
idList COLON SQBC SEMICOL
idList2 COLON SQBC SEMICOL
expression SEMICOL
arithmeticOrBooleanExpr BC SEMICOL
arithmeticOrBooleanExpr2 BC SEMICOL
anyTerm AND OR BC SEMICOL
anyTerm2 AND OR BC SEMICOL
arithmeticExpr LT LE GT GE EQ NE BC AND OR SEMICOL
arithmeticExpr2 LT LE GT GE EQ NE BC AND OR SEMICOL
term PLUS MINUS LT LE GT GE EQ NE BC AND OR SEMICOL
term2 PLUS MINUS LT LE GT GE EQ NE BC AND OR SEMICOL
factor MUL DIV PLUS MINUS LT LE GT GE EQ NE BC AND OR SEMICOL
op1 ID NUM RNUM
op2 ID NUM RNUM
logicalOp ID NUM RNUM
relationalOp ID NUM RNUM
declareStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
conditionalStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
caseStmts ID DEFAULT
caseStmt ID DEFAULT
value COLON
default1 END
iterativeStmt GET_VALUE PRINT DECLARE FOR WHILE ID USE SQBO SWITCH END BREAK
range BC SQBCC