[DGD] Debugging a parse_string() grammar.

Felix A. Croes felix at dworkin.nl
Mon Dec 2 13:15:54 CET 2002


Keith Dunwoody <keithdunwoody at yahoo.com> wrote:

> I was wondering what a good way was to debug a grammar
> for use with parse_string().  I'm trying to write a
> grammar, but it never seems to parse the way I want it
> to, and was wondering if there was a way of figuring
> out why it parses the way it does.

There is the standard technique of trying to isolate the problem in the
smallest possible program (grammar).

Writing good grammars is hard -- quite as hard as writing good programs.

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list