[antlr-interest] Java to C source converter

piyush.thakker at tcs.com piyush.thakker at tcs.com
Fri Dec 26 03:18:27 PST 2008


Hi, 

I am new to anltr. I wanted to convert Java source code to C source using 
antlr. I downloaded the java and java tree grammar from the antlr.org. How 
do I proceed from here. What should be the approach in order to print 
equivalent C code for the Java Code? 

I have read about AST to AST transformation being cumbersome. Is there any 
alternate way to convert Java code to C code?

--Piyush
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081226/62b855ee/attachment.html 


More information about the antlr-interest mailing list