summary refs log tree commit diff
path: root/grammar.ebnf
diff options
context:
space:
mode:
Diffstat (limited to 'grammar.ebnf')
-rw-r--r--grammar.ebnf4
1 files changed, 1 insertions, 3 deletions
diff --git a/grammar.ebnf b/grammar.ebnf
index 406c2d0..35a7079 100644
--- a/grammar.ebnf
+++ b/grammar.ebnf
@@ -1,11 +1,9 @@
 Program      ::= Statement+
 
-Statement    ::= (AssignmentStatement | PrintStatement | FunctionCallStatement) SEMICOLON
+Statement    ::= (AssignmentStatement | FunctionCallStatement) SEMICOLON
 
 AssignmentStatement ::= "let" IDENTIFIER EQUALS Expression
 
-PrintStatement ::= PRINT LPAREN Expression RPAREN -- TODO: this won't be needed once functions support arguments
-
 FunctionCallStatement ::= IDENTIFIER LPAREN FunctionArguments? RPAREN
 
 FunctionArguments ::= Expression ("," Expression)*