Binary Operators (and Grouping in Expressions)

Add support for <, <=, >, >=, && and ||.

Also, add support for grouping (with ( and )) in expressions.

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-03-23 07:53:41 -04:00
parent 6ff7c5175d
commit 7c35b2b6e5
5 changed files with 158 additions and 68 deletions
+7 -3
View File
@@ -60,14 +60,18 @@ parser simple() {
(selectExpression
(select)
(expression
(identifier)
(simple_expression
(identifier)
)
)
(selectBody
(selectCase
(keysetExpression
(expression
(booleanLiteralExpression
(true)
(simple_expression
(booleanLiteralExpression
(true)
)
)
)
)