|Excellent example of code generation from abstract syntax trees using firstname.lastname@example.org (SeeScreen.com) (2007-01-18)|
|Date:||18 Jan 2007 11:31:55 -0500|
|Keywords:||lex, yacc, comment|
|Posted-Date:||18 Jan 2007 11:31:55 EST|
This is the most succinct example of code generation that I have ever
encountered. It includes an interpreter, a code generator, and
graphical output of the abstract syntax tree diagram. Because of this
one example I finally understand the best way to generate code.
I have struggled with obtaining this knowledge for twenty years
carefully studying the relevant chapters of the Dragon book. Now
finally with one succinct example, I got it. I want to make sure that
I share this information in a way that others can most easily reach
I have recommended that this author's work be added to the Oreilly book, lex &
yacc, Second Edition By John Levine, Tony Mason, Doug Brown.
[If we ever revise the book, I'll keep it in mind. -John]
Return to the
Search the comp.compilers archives again.