Skip to content

Move action definition to prod/rule meta-data #58

@igordejanovic

Description

@igordejanovic

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}: ...;

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions