-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
Description
Current syntax for defining actions is:
@action_name
Rulename: ...;
If action definition would be moved to {} block together with disambiguation and other meta-data (issue #57) a fine-grained control would be possible. As {} block is defined by production, each production could have a different action. This would make current list-based specification of actions deprecated.
After #17 is implemented additional flexibility is achieved. Action could be given per rule as it is now, and overriden per production.
Syntax might be similar to what it's now but the @... would be given inside {} block.
Rulename: .... {@action_name};
Or for each production defined in one rule (after #17 is implemented):
Rulename {@action_name}: ...;
Reactions are currently unavailable