On Jan 19, 2009, at 7:21 PM, Sidharth Kuruvila wrote:

>
> It should be enough to add your Target's java directory to the  
> classpath.  So you don't need to physically put the code into the  
> antlr source.

Yep, to add a new target, all you have to do is define the directory  
of templates and put it into the path. This is also an effective way  
to override the standard Java or whatever templates. If you need  
XTarget.java for for language X, just add it to the class path (with  
the right package org.antlr.tool.codegen) and ANTLR sees it also.

Ter

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