Infer cons from non-terminal name
A lot of times my rules look like this:
(Terminal | Nonterminal )* -> NonTerm {cons(“NonTerm”)}It seems natural to infer the cons name if it is omitted like:
(Terminal | Nonterminal )* -> NonTermResulting in the same rule.
Submitted by Tim on 3 June 2010 at 15:22
Log in to post comments