nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] First idea of a Bison-based address parser available


From: Ralph Corderoy
Subject: Re: [Nmh-workers] First idea of a Bison-based address parser available
Date: Fri, 29 Aug 2014 18:37:55 +0100

Hi Ken,

> Across different rules, where does the CFWS end up at when a reduction
> happens?  However, it really doesn't matter where CFWS ends up since
> we ignore it (except for the case of the old-style addresses).

Rather than settle all the shift/reduce conflicts with %prec, etc.,
could it be that a different parsing technique would be more suited,
e.g. https://en.wikipedia.org/wiki/Parsing_expression_grammar always
picks the first rule so you can remove ambiguity by careful ordering.
Still work required, but different work.  :-)

Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]