Re: if-then-else under yacc

Dave Brotherstone <>
27 Jul 2001 02:51:09 -0400

          From comp.compilers

Related articles
if-then-else under yacc (Dave Brotherstone) (2001-07-23)
Re: if-then-else under yacc (Dave Brotherstone) (2001-07-27)
Re: if-then-else under yacc (Vinay Kakade) (2001-07-27)
| List of all articles for this month |

From: Dave Brotherstone <>
Newsgroups: comp.compilers
Date: 27 Jul 2001 02:51:09 -0400
Organization: Compilers Central
Keywords: parse, design
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, 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. has just that, and it's not just a
calculator, as all the other examples seem to be!

Thanks again,

"Dave Brotherstone" <> wrote in message
>I'm constructing a small compiler to effectively tokenise an simple input
>using yacc. ...

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.