[antlr-interest] line #'s into tree
ksplem
ken at imachines.com
Fri Apr 2 03:23:49 PST 2004
Hi,
A ANTLR newbie here. I've been working with the tool for 2 weeks now
and I'm very impressed at how well it works and how easy it is to
use. Kudos to the development team! I already have the basics of my
compiler working already .NET executables that actually run ;>). I'm
targetting .net using .Emit calls with the implementation in C#.
What I'm looking for is a hint on the best way to get a token's or
parser sentence's line number into the tree (e.g. anAST.getLine()
perhaps?). From my limited understanding, it seems that I might have
to override one or more classes perhaps ASTFactory and ASTNode
(sp?).
Any help for a rookie?
Thanks in advance,
Kenny
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list