[antlr-interest] Hello & Parsing an AST
Kay Roepke
kroepke at classdump.org
Wed Aug 2 10:19:24 PDT 2006
On 2. Aug 2006, at 13:55 Uhr, Guido wrote:
> Hi @all,
>
> just a short "Hello" from a newbie (from Germany).
Moin, Guido :)
> I managed to build a parser & lexer but got stuck after generating
> the AST.
[...]
>
> My problem: Up to now I didn't manage to build a Tree Parser, so I
> would
> appreciate any hint...
Take a hard look at <http://antlr.org/doc/trees.html#_bb1> and
<http://antlr.org/doc/sor.html#_bb1>.
Also there is an excellent article on how ANTLR tree building is done
(if automatic tree building is
not what you want/need) at <http://antlr.org/article/1137964510001/
manual.tree.construction.txt>
HTH,
-k
--
Kay Röpke <kroepke at classdump.org>
classdump Software
More information about the antlr-interest
mailing list