summaryrefslogtreecommitdiff
path: root/grammar.bnf
diff options
context:
space:
mode:
Diffstat (limited to 'grammar.bnf')
-rw-r--r--grammar.bnf2
1 files changed, 2 insertions, 0 deletions
diff --git a/grammar.bnf b/grammar.bnf
index 256e58a..7c18f8f 100644
--- a/grammar.bnf
+++ b/grammar.bnf
@@ -1,3 +1,5 @@
1// Comments are introduced by # and terminated by newline
2
1program ::= (statement ';'?)*; 3program ::= (statement ';'?)*;
2statement ::= definition | expression; 4statement ::= definition | expression;
3definition ::= 'def' def-spec '=' expression; 5definition ::= 'def' def-spec '=' expression;