[antlr-interest] Using ANTLR3 in an Eclipse Environment

Ryan Hollom ryan.hollom at us.lawson.com
Tue Dec 5 11:06:57 PST 2006


Bill-
Could you describe what you're trying to accomplish with ANTLR and 
Eclipse?  Are you trying to generate a parser and use it within an Eclipse 
plugin, or something else?

Assuming it is the former, you should not need to build ANTLR3 jars on 
your own.  Just include the relevant ANTLR jar files as runtime jar files 
in your Eclipse plugin (antlr-3.0b5.jar, et al) and you'll be able to 
write code that reference ANTLR classes (such as your generated parser). 
As for debugging, you can then attach the ANTLR source and Eclipse will do 
the rest.

I don't know of any ANTLR v3 implementations currently available in 
Eclipse.  Personally, I still use ANTLRworks to write my grammar, and then 
switch over to eclipse to write my plugin that uses the generated parser.

Hope this helps,
Ryan




"Foolish Ewe" <foolishewe at hotmail.com> 
Sent by: antlr-interest-bounces at antlr.org
12/05/2006 09:30 AM

To
antlr-interest at antlr.org
cc

Subject
[antlr-interest] Using ANTLR3 in an Eclipse Environment






Hello All:

I'm a beginner with eclipse, but have been doing some grammar 
implementation/testing
using ANTLRworks (a very nice tool).  Now, I'm getting ready to use ANTLR 
with eclpse,
and am wondering about what the best route to working with ANTLR3 with 
Eclipse (the
preferred local development environment).

1) Should I build my own ANTLR3 jars, and if so, how can I get good 
debugging information in them.
2) Are there any good eclipse integrations of ANTLR3 currently available?
3) Any hints on how to build ANTLR3 in eclipse?

Regards:

Bill M.

_________________________________________________________________
WIN up to $10,000 in cash or prizes ? enter the Microsoft Office Live 
Sweepstakes http://clk..atdmt.com/MRT/go/aub0050001581mrt/direct/01/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061205/fefaa24d/attachment-0001.html 


More information about the antlr-interest mailing list