[antlr-interest] Example of source-to-source translation, searching archives

Monty Zukowski monty at codetransform.com
Mon Jul 19 08:44:37 PDT 2004


On Jul 16, 2004, at 11:02 AM, johnj1984 wrote:

> 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 use
> AST trees to generate source code for another language? Most examples
> I've seen stop at using the AST to compute expressions.
>

Check out my GCC translation framework.  
http://www.codetransform.com/gcc.html.  It uses an AST to generate C 
back out again.

>   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**..
>

Unfortunately yahoo just sucks.  I know of no way to actually search 
the archives completely.

Monty

ANTLR & Java Consultant -- http://www.codetransform.com
ANSI C/GCC transformation toolkit -- 
http://www.codetransform.com/gcc.html
Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html



 
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