nesaro / pydsl

Python Domain Specific Language Tools
http://nestorarocha.com/pydsl/
GNU General Public License v3.0
83 stars 11 forks source link

Add action predicate to BNF productions #80

Open nesaro opened 10 years ago

nesaro commented 10 years ago

any production

A -> BC

should allow to define rules for code generation,

A -> BC (returns B+C)

the task is to allow that in the productions, BNF class and BNF format

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1739589-add-action-predicate-to-bnf-productions?utm_campaign=plugin&utm_content=tracker%2F129089&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F129089&utm_medium=issues&utm_source=github).
nesaro commented 10 years ago

clarification: required to allow BNF translations