|example about using bison? email@example.com (2003-09-04)|
|Re: example about using bison? firstname.lastname@example.org (2003-09-23)|
|From:||email@example.com (Quick Function)|
|Date:||4 Sep 2003 22:42:33 -0400|
|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?
[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]
Return to the
Search the comp.compilers archives again.