[DGD] Working with parse_string()
Felix A. Croes
felix at dworkin.nl
Wed Jul 22 12:38:09 CEST 2009
Kamil N <kamiln at gmail.com> wrote:
>[...]
> I really miss the possibility to determine if I'm at the bottom of
> parse tree in LPC function, because this would allow me to gracefully
> end parsing that tree if its impossible to further adjust results.
Unfortunately that isn't possible, especially with ambiguous grammars.
The parser is evaluating many parse trees in parallel and may
simultaneously be at the bottom of one, and in the middle of another.
It doesn't have any notion of up or down until parsing is completed.
Regards,
Felix Croes
More information about the DGD
mailing list