|if-then-else under yacc email@example.com (Dave Brotherstone) (2001-07-23)|
|Re: if-then-else under yacc firstname.lastname@example.org (Dave Brotherstone) (2001-07-27)|
|Re: if-then-else under yacc email@example.com (Vinay Kakade) (2001-07-27)|
|From:||Dave Brotherstone <firstname.lastname@example.org>|
|Date:||27 Jul 2001 02:51:09 -0400|
|Posted-Date:||27 Jul 2001 02:51:08 EDT|
Many thanks to all that helped. The tokenised language is now reverse
polish (and it is easier ;-). The FAQ mentions
http://epaperpress.com/, which has a complete compiler example (using
a tree), - this was a great help. There seems to be a massive amount
of help and examples with grammars, but very little on how to do the
last stage. epaperpress.com has just that, and it's not just a
calculator, as all the other examples seem to be!
"Dave Brotherstone" <email@example.com> wrote in message
>I'm constructing a small compiler to effectively tokenise an simple input
>using yacc. ...
Return to the
Search the comp.compilers archives again.