[antlr-interest] Reusing the text editor in ANTLRworks

Sam Harwell sharwell at pixelminegames.com
Mon Oct 6 13:15:55 PDT 2008


Depending on your target platform, you can also target the Visual Studio
Shell (free). Might take you a bit to get a skeleton language service
working but it's lightning fast and packed full of features. Once you
get your feet under you it's not bad at all; at this point if I was
given a working grammar I could create a functional language service for
it in a day, and implement a good portion of the IntelliSense features
in a week at most. I grabbed the Antlr V3 grammar from ANTLRworks (or
maybe it was the Eclipse plugin) and put one together with
auto-complete, go-to definition, hover tips, and more in about 2 days.

Sam

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Marco Hunsicker
Sent: Monday, October 06, 2008 2:48 PM
To: undisclosed-recipients
Cc: antlr-interest at antlr.org
Subject: Re: [antlr-interest] Reusing the text editor in ANTLRworks

Hello Aaron,

> While I was working, I realized how solid and
> full-featured the grammar editor is in ANTLRworks.
> 
> Now I'm trying to reuse that component as my SQL editor component.
> 
> Is there any precedent for this? Can anyone comment on whether or not
it's a
> good idea to try, and if it is a good idea,

It's definitely possible and feasible to re-use the ANTLRWorks editor 
component in your own project. It's still quite a bit of work to extract

the interesting pieces and add highlighting support for your target 
language.

You therefore might be better off with a ready-to-use editor component. 
I'm only aware of two specific components. Both have support for SQL.

http://code.google.com/p/jsyntaxpane/ APL 2.0
http://fifesoft.com/rsyntaxtextarea/  LGPL

Cheers,

Marco

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-addr
ess



More information about the antlr-interest mailing list