Re: if-then-else under yacc

Dave Brotherstone <davegb@pobox.com>
27 Jul 2001 02:51:09 -0400

          From comp.compilers

Related articles
if-then-else under yacc davegb@nospam.pobox.com (Dave Brotherstone) (2001-07-23)
Re: if-then-else under yacc davegb@pobox.com (Dave Brotherstone) (2001-07-27)
Re: if-then-else under yacc kvinay@ip.eth.net (Vinay Kakade) (2001-07-27)
| List of all articles for this month |
From: Dave Brotherstone <davegb@pobox.com>
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
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!


Thanks again,
Dave.




"Dave Brotherstone" <davegb@nospam.pobox.com> 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.