-
Notifications
You must be signed in to change notification settings - Fork 7
/
First.txt
105 lines (105 loc) · 2.35 KB
/
First.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
program TK_FUNID TK_MAIN
mainFunction TK_MAIN
otherFunctions TK_FUNID eps
function TK_FUNID
input_par TK_INPUT
output_par TK_OUTPUT eps
parameter_list TK_INT TK_REAL TK_RECORD
dataType TK_INT TK_REAL TK_RECORD
primitiveDatatype TK_INT TK_REAL
constructedDatatype TK_RECORD
remaining_list TK_COMMA eps
stmts TK_RECORD TK_TYPE TK_ID TK_WHILE TK_IF TK_READ TK_WRITE TK_SQL TK_CALL TK_RETURN
typeDefinitions TK_RECORD eps
typeDefinition TK_RECORD
fieldDefinitions TK_TYPE
fieldDefinition TK_TYPE
moreFields TK_TYPE eps
declarations TK_TYPE eps
declaration TK_TYPE
global_or_not TK_COLON eps
otherStmts TK_ID TK_WHILE TK_IF TK_READ TK_WRITE TK_SQL TK_CALL eps
stmt TK_ID TK_WHILE TK_IF TK_READ TK_WRITE TK_SQL TK_CALL
assignmentStmt TK_ID
singleOrRecId TK_ID
new_24 TK_DOT eps
funCallStmt TK_SQL TK_CALL
outputParameters TK_SQL eps
inputParameters TK_SQL
iterativeStmt TK_WHILE
conditionalStmt TK_IF
elsePart TK_ELSE TK_ENDIF
ioStmt TK_READ TK_WRITE
allVar TK_ID TK_NUM TK_RNUM
newallvar TK_DOT eps
arithmeticExpression TK_OP TK_NUM TK_RNUM TK_ID
expPrime TK_PLUS TK_MINUS eps
term TK_OP TK_NUM TK_RNUM TK_ID
termPrime TK_MUL TK_DIV eps
factor TK_OP TK_NUM TK_RNUM TK_ID
lowPrecedenceOperators TK_PLUS TK_MINUS
highPrecedenceOperators TK_MUL TK_DIV
all TK_NUM TK_RNUM TK_ID
allnew TK_DOT eps
temp TK_DOT eps
booleanExpression TK_OP TK_ID TK_NUM TK_RNUM TK_NOT
var TK_ID TK_NUM TK_RNUM
logicalOp TK_AND TK_OR
relationalOp TK_LT TK_LE TK_EQ TK_GT TK_GE TK_NE
returnStmt TK_RETURN
optionalReturn TK_SQL eps
more_ids TK_COMMA eps
idList TK_ID
TK_MAIN TK_MAIN
TK_END TK_END
eps eps
TK_FUNID TK_FUNID
TK_SEM TK_SEM
TK_INPUT TK_INPUT
TK_PARAMETER TK_PARAMETER
TK_LIST TK_LIST
TK_SQL TK_SQL
TK_SQR TK_SQR
TK_OUTPUT TK_OUTPUT
TK_ID TK_ID
TK_INT TK_INT
TK_REAL TK_REAL
TK_RECORD TK_RECORD
TK_RECORDID TK_RECORDID
TK_COMMA TK_COMMA
TK_ENDRECORD TK_ENDRECORD
TK_TYPE TK_TYPE
TK_COLON TK_COLON
TK_FIELDID TK_FIELDID
TK_GLOBAL TK_GLOBAL
TK_ASSIGNOP TK_ASSIGNOP
TK_DOT TK_DOT
TK_CALL TK_CALL
TK_WITH TK_WITH
TK_PARAMETERS TK_PARAMETERS
TK_WHILE TK_WHILE
TK_OP TK_OP
TK_CL TK_CL
TK_ENDWHILE TK_ENDWHILE
TK_IF TK_IF
TK_THEN TK_THEN
TK_ELSE TK_ELSE
TK_ENDIF TK_ENDIF
TK_READ TK_READ
TK_WRITE TK_WRITE
TK_NUM TK_NUM
TK_RNUM TK_RNUM
TK_MUL TK_MUL
TK_DIV TK_DIV
TK_PLUS TK_PLUS
TK_MINUS TK_MINUS
TK_NOT TK_NOT
TK_AND TK_AND
TK_OR TK_OR
TK_LT TK_LT
TK_LE TK_LE
TK_EQ TK_EQ
TK_GT TK_GT
TK_GE TK_GE
TK_NE TK_NE
TK_RETURN TK_RETURN