[antlr-interest] Converting AST to Byte code
Gautam
gautham5678 at gmail.com
Sat Jul 16 06:28:39 PDT 2011
I am trying to learn to build a simple compiler as a hobby , I
am targeting the Java Virtual machine .
I have written a simple grammar using AntLr plugin for Eclipse .
Some one told me that there is something known as a method node on the AST
generated by Antlr , and that has to be called .
I am planning to use ASM to generate the bytecode .
So what is the method node and How do I call it from ASM and make it visit
method instructions ?
Also what about the semantic Analyser of a Compiler , should that be
manually written or are there any generators for it ?
More information about the antlr-interest
mailing list