[DGD] Re: parse string difficulties
Robert Forshaw
iouswuoibev at hotmail.com
Sun Mar 28 22:43:05 CEST 2004
>From: Erwin Harte <harte at is-here.com>
>Hope this gets you a few steps further in the right direction. I'm
>not going to write a full-blown introduction because I think there are
>other resources out there that explain grammars better than I can. :-)
Your explanation was just fine, but there is one other thing I'm wondering
about, here:
>Then the production rules come into play. Beginning at the bottom,
>basically.
>
>The parse_string() code might for instance say "Hey, that set of
><operator> <word> <newline> at the end, I can match that to an
>OPERATION rule, let's see what happens if I use that."
>
>That means that fun_3 is presented with a 'mixed *tree' parameter that
>has as value
.....
If this is the case, what is the point in having production rules that don't
call functions?
_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list