[antlr-interest] Advice needed

Andrew Deren andrew at adersoftware.com
Sun Apr 9 10:58:32 PDT 2006


See my examples at:
http://www.adersoftware.com/index.cfm?page=compilers
Includes small interpreter using Antlr (no treewalker, just custom AST
structure). Written in C# and Java.
Andrew

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Gevik Babakhani
Sent: Wednesday, April 05, 2006 10:03 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Advice needed 

Folks,

I would like some advice of the following. Advice needed

I have been playing with ANTLR for sometime now and for learning reasons I
would like to create my own language interpreter. I looked at the
tinybasic and pascal (java) examples. I have no problem reading the
sources but I see that I just lack the knowledge of why and how things are
done.

I was wondering if anyone could recommend a book or any good writing about
creating a language interpreter or a compiler. Well, the lexer, the parser
and the tree walker part I understand but what happens next if one would
like to build a simple language interpreter.

(Function Scope?, Stack?!)

PS.
I know taking Ters classes at the uni would be the best option but I live
too far for that :(


Thank you.





More information about the antlr-interest mailing list