example about using bison?

quickcur@yahoo.com (Quick Function)
4 Sep 2003 22:42:33 -0400

          From comp.compilers

Related articles
example about using bison? quickcur@yahoo.com (2003-09-04)
Re: example about using bison? matthew@tedder.com (2003-09-23)
| List of all articles for this month |

From: quickcur@yahoo.com (Quick Function)
Newsgroups: comp.compilers
Date: 4 Sep 2003 22:42:33 -0400
Organization: Compilers Central
Keywords: yacc, question
Posted-Date: 04 Sep 2003 22:42:33 EDT



Can someone point me some examples about using Bison? I read those in
the Bison doc, but would like to try more. For example, how to make
if...else and for loop?


Thanks,


qq
[This has come up often before. Bison just helps you build a parser.
You're on your own if you want to do something with the results of
your parse. If you want to write an interpretive language, I suggest
translating into an internal form such as trees or bytecodes and
interpreting that. -John]



Post a followup to this message

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