parser recommendation

Kay Schluehr kay.schluehr at gmx.net
Fri Jun 6 11:25:16 EDT 2008


On 6 Jun., 01:58, Alan Isaac <ais... at american.edu> wrote:
> One other possibility:
> SimpleParse (for speed).
> <URL:http://simpleparse.sourceforge.net/>
> It is very nice.
> Alan Isaac

How does SimpleParse manage left-factorings, left-recursion and other
ambiguities?

For example according to [1] there are two non-terminals

UNICODEESCAPEDCHAR_16

and

UNICODEESCAPEDCHAR_32

with an equal initial section of 4 token. How does SimpleParse detect
when it has to use the second production?

[1] http://simpleparse.sourceforge.net/simpleparse_grammars.html



More information about the Python-list mailing list