Skip to content

Parsing Recursive Expressions #1825

Answered by cdietrich
brsanthu asked this question in Q&A
Discussion options

You must be logged in to vote

your primary expression looks wired. you ususally put this next to the literals

Expr infers Expr:
    LogicalExpr;

PrimaryExpr infers Expr:
    (paren?='(' Expr paren?=')');

ValueExpr:
    PrimaryExpr |
    Literal |
    FunctionCall |
    FieldRef
;

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@brsanthu
Comment options

@cdietrich
Comment options

@brsanthu
Comment options

@cdietrich
Comment options

Answer selected by brsanthu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants