-
Working on parsing for recursive expression DSL where expression could be of type Value/Function/Math Expr/Logical Expr in recursive format. Below grammar works for most of usecases but for expr I thought Multiplication is handled as parr of LogicalExpr hierarchy at line 10. Not sure where I'm doing wrong. I can make sense of other part of grammar except for these recursive expressions. Thank you for taking a look and suggesting any changes.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
your primary expression looks wired. you ususally put this next to the literals
|
Beta Was this translation helpful? Give feedback.
your primary expression looks wired. you ususally put this next to the literals