Groovy ANtlr plugin

View: New views
6 Messages — Rating Filter:   Alert me  

Groovy ANtlr plugin

by HamletDRC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I heard at 2GX that it is possible to provide an ANTLR plugin for Groovy.

Are there any examples of this in the codebase or elsewhere?

--
Hamlet D'Arcy
hamletdrc@...

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


--
Hamlet D'Arcy

Re: Groovy ANtlr plugin

by Andres Almiray :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Look at the old eclipse-plugin source code. They plugin in they're own parser as the grammar is tweaked for error recovery.

HamletDRC wrote:
I heard at 2GX that it is possible to provide an ANTLR plugin for Groovy.

Are there any examples of this in the codebase or elsewhere?

--
Hamlet D'Arcy
hamletdrc@gmail.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




-----
--
Hamlet D'Arcy

Re: Groovy ANtlr plugin

by Guillaume Laforge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

An example of this:
http://groovyconsole.appspot.com/view.groovy?id=3

On Sat, Oct 24, 2009 at 22:02, Hamlet D'Arcy <hamletdrc@...> wrote:
> I heard at 2GX that it is possible to provide an ANTLR plugin for Groovy.
>
> Are there any examples of this in the codebase or elsewhere?

--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Groovy ANtlr plugin

by Andrew Eisenberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Look at the old eclipse-plugin source code. They plugin in they're own parser
> as the grammar is tweaked for error recovery.

FYI- the new eclipse plugin uses the same grammar, with a few more tweaks.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Groovy ANtlr plugin

by HamletDRC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there a way to hook an ANTLR plugin into the groovyc compiler
similar to how global transformations can be hooked in?


--
Hamlet D'Arcy
hamletdrc@...



On Sun, Oct 25, 2009 at 3:29 AM, Guillaume Laforge
<glaforge@...> wrote:

> An example of this:
> http://groovyconsole.appspot.com/view.groovy?id=3
>
> On Sat, Oct 24, 2009 at 22:02, Hamlet D'Arcy <hamletdrc@...> wrote:
>> I heard at 2GX that it is possible to provide an ANTLR plugin for Groovy.
>>
>> Are there any examples of this in the codebase or elsewhere?
>
> --
> Guillaume Laforge
> Groovy Project Manager
> Head of Groovy Development at SpringSource
> http://www.springsource.com/g2one
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


--
Hamlet D'Arcy

Re: Groovy ANtlr plugin

by Guillaume Laforge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You mean with a manifest file or something like that?
If that's what you mean, no, there's nothing like that currently.

On Tue, Oct 27, 2009 at 00:05, Hamlet D'Arcy <hamletdrc@...> wrote:

> Is there a way to hook an ANTLR plugin into the groovyc compiler
> similar to how global transformations can be hooked in?
>
>
> --
> Hamlet D'Arcy
> hamletdrc@...
>
>
>
> On Sun, Oct 25, 2009 at 3:29 AM, Guillaume Laforge
> <glaforge@...> wrote:
>> An example of this:
>> http://groovyconsole.appspot.com/view.groovy?id=3
>>
>> On Sat, Oct 24, 2009 at 22:02, Hamlet D'Arcy <hamletdrc@...> wrote:
>>> I heard at 2GX that it is possible to provide an ANTLR plugin for Groovy.
>>>
>>> Are there any examples of this in the codebase or elsewhere?
>>
>> --
>> Guillaume Laforge
>> Groovy Project Manager
>> Head of Groovy Development at SpringSource
>> http://www.springsource.com/g2one
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email