Added if statement

This commit is contained in:
Marvin Kaiser
2019-10-29 10:30:18 +01:00
parent 64c41122d0
commit d43fa90bc3
9 changed files with 343 additions and 96 deletions

View File

@@ -1,14 +1,24 @@
PRINT=1
SCOL=2
MULT=3
ADD=4
SUB=5
MOD=6
INTEGER_LITERAL=7
WS=8
IF=2
THEN=3
ELSE=4
SCOL=5
OBRK=6
CBRK=7
MULT=8
ADD=9
SUB=10
MOD=11
INTEGER_LITERAL=12
WS=13
'print'=1
';'=2
'*'=3
'+'=4
'-'=5
'%'=6
'if'=2
'then'=3
'else'=4
';'=5
'{'=6
'}'=7
'*'=8
'+'=9
'-'=10
'%'=11