stmt parse

This commit is contained in:
nora 2021-10-31 13:59:47 +01:00
parent 67e6dfccc2
commit c5b82c4b18
7 changed files with 884 additions and 733 deletions

View file

@ -30,9 +30,9 @@
<fn-args> ::= "(" { <IDENT> { "," } } ")"
<if-stmt> ::= "if" <expression> <block> { <else-stmt> }
<if-stmt> ::= "if" <expression> <block> { <else-part> }
<else-stmt> ::= "else" ( <if-stmt> | <block> )
<else-part> ::= "else" ( <if-stmt> | <block> )
<loop-stmt> ::= "loop" <block>