Hi I want to make a translator, which can translate Java source code into C++ source code. But I am not sure how to do this using ANTLR.What is the best way for doing this? I have looked at an Article written in 2004 by Terence Parr: http://www.antlr.org/wiki/display/ST/Language+Translation+Using+ANTLR+and+StringTemplate This article describes how to translate Cminus to either Java, Python or pseudo bytecodes using string templates. Since this article is from 2004 and that I cannot find the code example, is this still an efficience way of translating from source code to source code using ANTLR, even though Java and C++ are much more complex than the Cminus example? And can anyone find the code example? It is mentioned in the article that the software is compressed in the cminus.tar.gz. But where is the link to this this file, so I can follow the examples by my self. I managed to find the Cminus grammar at http://media.pragprog.com/titles/tpantlr/code/trees/CMinus/CMinus.g but the other files I cannot find. I hope you guys can help me in the right direction for making such a translator. Best regards Glen _________________________________________________________________ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
