diff --git a/src/grammar.pest b/src/grammar.pest index db36c39..6f428fc 100644 --- a/src/grammar.pest +++ b/src/grammar.pest @@ -8,7 +8,7 @@ infix_expr = { #lhs = term ~ operator ~ #rhs = expr } -operator = { "+" | "-" | "*" | "/" | "&&" | "||" } +operator = { "+" | "-" | "*" | "/" | "&&" | "||" | "<" | ">" | "==" | "!=" } ident = @{ ALPHABETIC ~ (ALPHABETIC | NUMBER | "_")* | quoted_indent } quoted_indent = _{ "`" ~ (!"`" ~ ANY)+ ~ "`" }