diff options
| author | Baitinq <[email protected]> | 2025-01-12 17:43:50 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-01-12 17:47:51 +0100 |
| commit | 1a2f5d76b34bbee23bf7a5cb439168442bf6def5 (patch) | |
| tree | 355cf53c0efcd5853b0e4c0755670b42453dec23 /grammar.ebnf | |
| parent | Evaluator: Fix bug when variables are initialized with the same identifier as... (diff) | |
| download | pry-lang-1a2f5d76b34bbee23bf7a5cb439168442bf6def5.tar.gz pry-lang-1a2f5d76b34bbee23bf7a5cb439168442bf6def5.tar.bz2 pry-lang-1a2f5d76b34bbee23bf7a5cb439168442bf6def5.zip | |
Add support for sum operator
Diffstat (limited to 'grammar.ebnf')
| -rw-r--r-- | grammar.ebnf | 2 |
1 files changed, 1 insertions, 1 deletions
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 |