[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bpfk] Fighting copy-pasting in PEG



On 3/25/2015 6:28 PM, Jorge Llambías wrote:
    "free*" is used ~200 times in the grammar. I'm sure this number can
    be lowered significantly.


To just one if "free*" was allowed wherever "indicators" are. The
rationale for the restrictions on "free" was never very clear to me.

In the original YACC grammar, it was simple. I tried adding "free modifiers" after every construct, one at a time, and excluded it where the YACC program found an ambiguity problem.

lojbab


--
You received this message because you are subscribed to the Google Groups "BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bpfk-list+unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at http://groups.google.com/group/bpfk-list.
For more options, visit https://groups.google.com/d/optout.