mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-14 17:35:03 +01:00
fix top level
This commit is contained in:
parent
9837713771
commit
c6e5a5d686
5 changed files with 68 additions and 39 deletions
|
|
@ -1,9 +1,11 @@
|
|||
# todo: calls (property access and function calls)
|
||||
|
||||
|
||||
<program> ::= <block>
|
||||
<program> ::= <statement-list>
|
||||
|
||||
<block> ::= "{" { <statement> } "}"
|
||||
<statement-list> ::= { <statement> }
|
||||
|
||||
<block> ::= "{" <statement-list> "}"
|
||||
|
||||
<statement> ::= <declaration>
|
||||
| <assignment>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue