mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-14 17:35:03 +01:00
add assignments
This commit is contained in:
parent
63c9d5300c
commit
0b79d4500d
3 changed files with 78 additions and 8 deletions
|
|
@ -13,13 +13,13 @@
|
|||
| <break-stmt>
|
||||
| <return-stmt>
|
||||
| <block>
|
||||
| <expression-statement>
|
||||
|
||||
|
||||
<declaration> ::= "let" <IDENT> "=" <expression> ";"
|
||||
|
||||
|
||||
<assignment> ::= { call "." } <IDENT> "=" <expression> ";"
|
||||
| <expression> ";"
|
||||
|
||||
|
||||
<fn-decl> ::= "fn" <IDENT> <fn-args> <block>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue