You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for plex! Would it be feasible to support multiple entry points that reuse the same grammar? As an example, I have something like:
statement: Statement {
expression[e] TokenSemicolon => ExprStatement(e),
// other variants...
}
expression: Expr {
// some variants...
}
and want to expose parser entry points for both Expr and Statement. This might be possible via a single entry point that returns an enum but I'm wondering if there's a cleaner way.
The text was updated successfully, but these errors were encountered:
Thanks for plex! Would it be feasible to support multiple entry points that reuse the same grammar? As an example, I have something like:
and want to expose parser entry points for both Expr and Statement. This might be possible via a single entry point that returns an enum but I'm wondering if there's a cleaner way.
The text was updated successfully, but these errors were encountered: