diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -14,7 +14,9 @@ or can be interpreted with the [ABCMachine][abc-github] project. <CodeBlock> ::= <Initialisation>-list <Statement>-list -<Initialisation> ::= <Type> <Name>-clist ';' +<Initialisation> ::= <Type> <InitName>-clist ';' + +<InitName> ::= <Name> [':=' <Expression>] <Statement> ::= [<Name> ':='] <Expression> ';' | 'return' [<Expression>] ';' @@ -41,6 +43,9 @@ or can be interpreted with the [ABCMachine][abc-github] project. <Int> ::= <Digit>-list ``` +Comments (single-line `//`, multi-line `/* ... */`) are not included in the +grammar above. + ## Dependencies You need a working Clean installation to build the compiler and at least `clm` |