diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-19 23:40:05 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-19 23:40:05 +0100 |
commit | fcead42285fe37990d1843c3d3da39f65fd426c0 (patch) | |
tree | 3d15851970de503613be095b25b7b4d2753b06fa /grammar.ebnf | |
parent | Bug: Fix bug with accept_parse (diff) | |
download | interpreter-fcead42285fe37990d1843c3d3da39f65fd426c0.tar.gz interpreter-fcead42285fe37990d1843c3d3da39f65fd426c0.tar.bz2 interpreter-fcead42285fe37990d1843c3d3da39f65fd426c0.zip |
Start working on proper operator precedence
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 aaa0e78..bde99cb 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -12,7 +12,7 @@ ReturnStatement ::= RETURN Expression FunctionArguments ::= Expression ("," Expression)* -Expression ::= EqualityExpression | AdditiveExpression | FunctionDefinition +Expression ::= EqualityExpression | AdditiveExpression | FunctionDefinition | LPAREN Expression RPAREN EqualityExpression ::= AdditiveExpression "==" AdditiveExpression |