Update Grammar
This commit is contained in:
parent
8f9bfbc5bd
commit
71d2428e57
7
Grammar
7
Grammar
@ -18,10 +18,3 @@
|
|||||||
| <string>
|
| <string>
|
||||||
|
|
||||||
|
|
||||||
/* actual grammar encoded in program */
|
|
||||||
|
|
||||||
<program> := <statements> EOF
|
|
||||||
<statements> := <statement> | <statement> SEP <statements>
|
|
||||||
<let_expression> := let <identifier> = <rhs>
|
|
||||||
<rhs> := <num_literal> | <str_literal> | <identifier>
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user