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
The @ syntax for specifying common actions in the grammar is great. It would be really nice if I could specify my own common actions for use with the @ syntax.
If a key conflicts with a default common action (like collect), I'd like to override the default. (common actions should also be specified in documentation).
The text was updated successfully, but these errors were encountered:
- User actions may be given in grammar using `@` syntax. Action must be
provided using `actions` param during Parser instantiation.
- Parglare common action can be overriden using `actions` param.
- actions for `call_actions` are now given as usual using `actions` param of
(GLR)Parser class but `build_tree` must be `True` in order to postpone actions
call.
Feature request.
The
@
syntax for specifying common actions in the grammar is great. It would be really nice if I could specify my own common actions for use with the@
syntax.parser = Parser(g, actions=actions, common_action=common_actions)
If a key conflicts with a default common action (like collect), I'd like to override the default. (common actions should also be specified in documentation).
The text was updated successfully, but these errors were encountered: