X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=grammar%2Fgrammar.txt;h=98bb06eeaefe3c12079878228610bc37174f528a;hb=1f01e39fb2383aa2c63234d0750c0459fe3de752;hp=78e5450e72d3fdce064905b4a6cb3176b1980e20;hpb=e34b5f088ff9a86da61afbbe91c2c88f895673c7;p=cc1516.git diff --git a/grammar/grammar.txt b/grammar/grammar.txt index 78e5450..98bb06e 100644 --- a/grammar/grammar.txt +++ b/grammar/grammar.txt @@ -1,6 +1,7 @@ ::= + ::= '(' * ')' ['::' * + '}' ::= ['->' ] + | '(' ')' ::= 'if' '(' ')' '{' * '}' ['else' '{' * '}'] | 'while' '(' ')' '{' * '}' | '=' ';'