mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-16 18:35:02 +01:00
stmt parse
This commit is contained in:
parent
67e6dfccc2
commit
c5b82c4b18
7 changed files with 884 additions and 733 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue