Hi

I'm currently trying to rewrite some java source code, and was looking
for some pointers for doing this. I have added the Java.g (1.5)
grammar and is currently using the grammar for parsing java files,
with no problems.

What I'm wondering is, how to proceed from this? I have used
StringTemplates before, but it seems to be a lot of work when I'm only
interested in rewriting small parts of the grammar, since I would have
to add rewrite rules for the entire java language, and I couldn't find
any pre-made files for this.

Could something like this be accomplished using a tree walker?

Any ideas or examples would be appreciated, thanks.


Regards,
Morten

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.

Reply via email to