diff options
| author | Baitinq <[email protected]> | 2025-03-08 20:53:46 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-03-08 20:53:46 +0100 |
| commit | 5f132c8422cb88e3f0ca266f4de9cc0129d44775 (patch) | |
| tree | ab4acc5dbed602b19c4eea4e451175f4fa265200 /grammar.ebnf | |
| parent | Codegen: Fix bug with recursive functions as variables (diff) | |
| download | interpreter-5f132c8422cb88e3f0ca266f4de9cc0129d44775.tar.gz interpreter-5f132c8422cb88e3f0ca266f4de9cc0129d44775.tar.bz2 interpreter-5f132c8422cb88e3f0ca266f4de9cc0129d44775.zip | |
Feature: Add support for GT and LT operators
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 ed87d7f..addd256 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -16,7 +16,7 @@ FunctionArguments ::= Expression ("," Expression)* Expression ::= EqualityExpression | AdditiveExpression -EqualityExpression ::= AdditiveExpression "==" AdditiveExpression +EqualityExpression ::= AdditiveExpression ("==" | "<" | ">") AdditiveExpression AdditiveExpression ::= MultiplicativeExpression (("+" | "-") MultiplicativeExpression)* |