nmh-workers
[Top] [All Lists]

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

2014-08-29 12:38:19
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.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>