diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,8 +16,7 @@ or can be interpreted with the [ABCMachine][abc-github] project. <Initialisation> ::= <Type> <Name>-clist ';' -<Statement> ::= <Name> ':=' <Expression> ';' - | <Expression> ';' +<Statement> ::= [<Name> ':='] <Expression> ';' | 'return' [<Expression>] ';' | 'if' '(' <Expression> ')' '{' <CodeBlock> '}' ['else' 'if' '(' <Expression> ')' '{' <CodeBlock> '}']-list @@ -29,7 +28,8 @@ or can be interpreted with the [ABCMachine][abc-github] project. | <Literal> | <Name> '(' <Expression>-clist ')' | <Op1> <Expression> - | <Op2> <Expression> + | <Expression> <Op2> <Expression> + | '(' <Expression> ')' <Op1> ::= '~' | '!' |