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
This won't work with stable syntax extensions, or at least with their first version.
The text was updated successfully, but these errors were encountered:
pczarn
changed the title
Let grammars be defined in item positions (not only in functions)
Let grammars be defined in Rust's item positions (not only in functions)
May 21, 2016
I think grammars in item positions shouldn't be cut off from all variables. Their semantic actions should have access to common values akin to self-passing. To this end, Rust code including variable definitions could be mixed with grammar rules.
Allow top-level grammar definitions that can be used anywhere. For example,
Then, parsers can be instantiated.
This won't work with stable syntax extensions, or at least with their first version.
The text was updated successfully, but these errors were encountered: