[antlr-interest] Re: Example of source-to-source translation, searching archives
dermot_oneill at hotmail.com
Tue Jul 20 10:04:19 PDT 2004
I have a small example of a source to source translator on my website
It uses a lexer, grammar recognizer, source AST, target AST and
It has 2 small transformations between the source AST and target AST.
It uses grammar inheritence.
Its only a prototype but it might give you some ideas.
--- In antlr-interest at yahoogroups.com, "johnj1984" <johnj1984 at y...>
> Hello All,
> Is there any concrete example of a source-to-source antlr project
> somewhere? I've read the excellent XL Lexer/Parser tutorial,
> unfortunately that stops just when it gets interesting: How do I
> AST trees to generate source code for another language? Most
> I've seen stop at using the AST to compute expressions.
> Also, how can I search the yahoo archives through more than 200
> posts? Every search I do seems to only search posts 127** to 126**..
> Thanks in advance!
Yahoo! Groups Links
<*> To visit your group on the web, go to:
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
More information about the antlr-interest