Hot to parse a boolean expression with stateful lexer ? #195
Unanswered
jyj1993126
asked this question in
Q&A
Replies: 1 comment
-
You should not be using the lexer for this. The key is in your question: "how to parse"! Have a look at the expr example to see how you might parse an expression like this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for example:
( a == 1 AND b == 2 OR ( c + 2 > 3 ) )
Beta Was this translation helpful? Give feedback.
All reactions