From b3344abfba762b22af1ac80cdf2801ff6eaf3696 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 12 Jan 2025 17:43:50 +0100 Subject: Add support for sum operator --- grammar.ebnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grammar.ebnf') diff --git a/grammar.ebnf b/grammar.ebnf index 1423e74..1ac139e 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -6,4 +6,4 @@ VariableStatement ::= ("let" IDENTIFIER | IDENTIFIER) EQUALS Expression PrintStatement :== PRINT LPAREN Expression RPAREN -Expression :== NUMBER | IDENTIFIER +Expression :== NUMBER | IDENTIFIER | Expression + Expression -- cgit 1.4.1