Using Antlr

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Using Antlr

Russel Winder-2
Of course the Groovy build requires an Antlr pass before doing the Java
compile.  Has anyone got any paradigmatic examples of using Antlr or
some other compiler generator with Gradle?

Thanks.

--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [hidden email]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[hidden email]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Steve Ebersole
Does it use Antlr 2 or Antlr 3?

For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was going to
integrate this code into the main codebase, though I am not sure where
thhat stands ATM.

I just have not yet migrated to Antlr 3 for my project.

On Sat, 2009-12-12 at 15:15 +0000, Russel Winder wrote:
> Of course the Groovy build requires an Antlr pass before doing the Java
> compile.  Has anyone got any paradigmatic examples of using Antlr or
> some other compiler generator with Gradle?
>
> Thanks.
>
--
Steve Ebersole <[hidden email]>
Hibernate.org


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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Russel Winder-2
On Sat, 2009-12-12 at 10:10 -0600, Steve Ebersole wrote:
> Does it use Antlr 2 or Antlr 3?

Antlr 2.7.7, there hasn't been an attempt top move to Antlr 3 as yet but
it is planned.

> For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was going to
> integrate this code into the main codebase, though I am not sure where
> thhat stands ATM.
>
> I just have not yet migrated to Antlr 3 for my project.

Is this plugin available for use, if so I'll definitely give it a go.
Thanks.

> On Sat, 2009-12-12 at 15:15 +0000, Russel Winder wrote:
> > Of course the Groovy build requires an Antlr pass before doing the Java
> > compile.  Has anyone got any paradigmatic examples of using Antlr or
> > some other compiler generator with Gradle?
> >
> > Thanks.
> >


--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [hidden email]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[hidden email]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Steve Ebersole
http://jira.codehaus.org/browse/GRADLE-711

On Sat, 2009-12-12 at 21:57 +0000, Russel Winder wrote:

> On Sat, 2009-12-12 at 10:10 -0600, Steve Ebersole wrote:
> > Does it use Antlr 2 or Antlr 3?
>
> Antlr 2.7.7, there hasn't been an attempt top move to Antlr 3 as yet but
> it is planned.
>
> > For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was going to
> > integrate this code into the main codebase, though I am not sure where
> > thhat stands ATM.
> >
> > I just have not yet migrated to Antlr 3 for my project.
>
> Is this plugin available for use, if so I'll definitely give it a go.
> Thanks.
>
> > On Sat, 2009-12-12 at 15:15 +0000, Russel Winder wrote:
> > > Of course the Groovy build requires an Antlr pass before doing the Java
> > > compile.  Has anyone got any paradigmatic examples of using Antlr or
> > > some other compiler generator with Gradle?
> > >
> > > Thanks.
> > >
>
>
--
Steve Ebersole <[hidden email]>
Hibernate.org


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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Steve Ebersole
Sorry, should have pointed out that here is the project using the
plugin:
http://fisheye.jboss.org/browse/Hibernate/core/branches/gradle/hibernate-core


On Sat, 2009-12-12 at 17:11 -0600, Steve Ebersole wrote:

> http://jira.codehaus.org/browse/GRADLE-711
>
> On Sat, 2009-12-12 at 21:57 +0000, Russel Winder wrote:
> > On Sat, 2009-12-12 at 10:10 -0600, Steve Ebersole wrote:
> > > Does it use Antlr 2 or Antlr 3?
> >
> > Antlr 2.7.7, there hasn't been an attempt top move to Antlr 3 as yet but
> > it is planned.
> >
> > > For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was going to
> > > integrate this code into the main codebase, though I am not sure where
> > > thhat stands ATM.
> > >
> > > I just have not yet migrated to Antlr 3 for my project.
> >
> > Is this plugin available for use, if so I'll definitely give it a go.
> > Thanks.
> >
> > > On Sat, 2009-12-12 at 15:15 +0000, Russel Winder wrote:
> > > > Of course the Groovy build requires an Antlr pass before doing the Java
> > > > compile.  Has anyone got any paradigmatic examples of using Antlr or
> > > > some other compiler generator with Gradle?
> > > >
> > > > Thanks.
> > > >
> >
> >
--
Steve Ebersole <[hidden email]>
Hibernate.org


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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Russel Winder-2
Steve,

Any chance of this plugin being separated out and published so that it
can be used easily by others?

This plugin is too useful not to be in some form of central repository
already compiled up and in a jar on the Maven repository.

Thanks.

On Sat, 2009-12-12 at 17:45 -0600, Steve Ebersole wrote:

> Sorry, should have pointed out that here is the project using the
> plugin:
> http://fisheye.jboss.org/browse/Hibernate/core/branches/gradle/hibernate-core
>
>
> On Sat, 2009-12-12 at 17:11 -0600, Steve Ebersole wrote:
> > http://jira.codehaus.org/browse/GRADLE-711
> >
> > On Sat, 2009-12-12 at 21:57 +0000, Russel Winder wrote:
> > > On Sat, 2009-12-12 at 10:10 -0600, Steve Ebersole wrote:
> > > > Does it use Antlr 2 or Antlr 3?
> > >
> > > Antlr 2.7.7, there hasn't been an attempt top move to Antlr 3 as yet but
> > > it is planned.
> > >
> > > > For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was going to
> > > > integrate this code into the main codebase, though I am not sure where
> > > > thhat stands ATM.
> > > >
> > > > I just have not yet migrated to Antlr 3 for my project.
> > >
> > > Is this plugin available for use, if so I'll definitely give it a go.
> > > Thanks.
> > >
> > > > On Sat, 2009-12-12 at 15:15 +0000, Russel Winder wrote:
> > > > > Of course the Groovy build requires an Antlr pass before doing the Java
> > > > > compile.  Has anyone got any paradigmatic examples of using Antlr or
> > > > > some other compiler generator with Gradle?
> > > > >
> > > > > Thanks.
> > > > >
> > >
> > >

--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [hidden email]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[hidden email]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

hans_d
Administrator
In reply to this post by Steve Ebersole


On Sat, Dec 12, 2009 at 5:10 PM, Steve Ebersole <[hidden email]> wrote:
Does it use Antlr 2 or Antlr 3?

For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was going to
integrate this code into the main codebase, though I am not sure where
thhat stands ATM.

This will be part of 0.9. I haven't incorporated it yet though.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Steve Ebersole
In reply to this post by Russel Winder-2
Well as Hans said, this will be part of 0.9.  So to me this depends on when 0.9 will be getting released.  If we are talking about a week or two or three I just don't see the need.

Hans?  Adam?  Any idea how long we are talking about here?

I will consider this if its going to be a month or more, but I really need this to 'not be painful' as I am in the midst of JPA certification work which takes precedence for me right now.

-- Sent from my Palm Prē

[hidden email]
http://hibernate.org

Russel Winder wrote:

Steve,

Any chance of this plugin being separated out and published so that it
can be used easily by others?

This plugin is too useful not to be in some form of central repository
already compiled up and in a jar on the Maven repository.

Thanks.

On Sat, 2009-12-12 at 17:45 -0600, Steve Ebersole wrote:
> Sorry, should have pointed out that here is the project using the
> plugin:
> http://fisheye.jboss.org/browse/Hibernate/core/branches/gradle/hibernate-core
>
>
> On Sat, 2009-12-12 at 17:11 -0600, Steve Ebersole wrote:
> > http://jira.codehaus.org/browse/GRADLE-711
> >
> > On Sat, 2009-12-12 at 21:57 +0000, Russel Winder wrote:
> > > On Sat, 2009-12-12 at 10:10 -0600, Steve Ebersole wrote:
> > > > Does it use Antlr 2 or Antlr 3?
> > >
> > > Antlr 2.7.7, there hasn't been an attempt top move to Antlr 3 as yet but
> > > it is planned.
> > >
> > > > For Antlr 2 I have written an Antlr plugin. AFAIK, Hans was going to
> > > > integrate this code into the main codebase, though I am not sure where
> > > > thhat stands ATM.
> > > >
> > > > I just have not yet migrated to Antlr 3 for my project.
> > >
> > > Is this plugin available for use, if so I'll definitely give it a go.
> > > Thanks.
> > >
> > > > On Sat, 2009-12-12 at 15:15 +0000, Russel Winder wrote:
> > > > > Of course the Groovy build requires an Antlr pass before doing the Java
> > > > > compile. Has anyone got any paradigmatic examples of using Antlr or
> > > > > some other compiler generator with Gradle?
> > > > >
> > > > > Thanks.
> > > > >
> > >
> > >


--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: [hidden email]
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[hidden email]
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Russel Winder-2
In reply to this post by hans_d
On Mon, 2009-12-14 at 11:41 +0100, Hans Dockter wrote:

>
>
> On Sat, Dec 12, 2009 at 5:10 PM, Steve Ebersole <[hidden email]>
> wrote:
>         Does it use Antlr 2 or Antlr 3?
>        
>         For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was
>         going to
>         integrate this code into the main codebase, though I am not
>         sure where
>         thhat stands ATM.
>
> This will be part of 0.9. I haven't incorporated it yet though.
>
If it is a question of putting files in place and running tests, can
someone else do it.  i.e. Steve or me?

If it is scheduled for 0.9 it really ought to be in sooner rather than
later -- and I need it to start doing a build for Groovy!


--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [hidden email]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[hidden email]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Russel Winder-2
In reply to this post by Steve Ebersole
On Mon, 2009-12-14 at 08:13 -0600, Steve Ebersole wrote:
> Well as Hans said, this will be part of 0.9.  So to me this depends on
> when 0.9 will be getting released.  If we are talking about a week or
> two or three I just don't see the need.
>
I run trunk so as soon as it is in place I can try it, trouble is it
isn't in place yet.

> Hans?  Adam?  Any idea how long we are talking about here?
>
> I will consider this if its going to be a month or more, but I really
> need this to 'not be painful' as I am in the midst of JPA
> certification work which takes precedence for me right now.
>
Given everything said, I think the only path is to includce the material
sooner rather than later.  No point in creating a separate plugin in
this context.


--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [hidden email]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[hidden email]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using Antlr

Russel Winder-2
In reply to this post by Russel Winder-2
Any further news on the Antlr issue?

On Mon, 2009-12-14 at 14:56 +0000, Russel Winder wrote:

> On Mon, 2009-12-14 at 11:41 +0100, Hans Dockter wrote:
> >
> >
> > On Sat, Dec 12, 2009 at 5:10 PM, Steve Ebersole <[hidden email]>
> > wrote:
> >         Does it use Antlr 2 or Antlr 3?
> >        
> >         For Antlr 2 I have written an Antlr plugin.  AFAIK, Hans was
> >         going to
> >         integrate this code into the main codebase, though I am not
> >         sure where
> >         thhat stands ATM.
> >
> > This will be part of 0.9. I haven't incorporated it yet though.
> >
> If it is a question of putting files in place and running tests, can
> someone else do it.  i.e. Steve or me?
>
> If it is scheduled for 0.9 it really ought to be in sooner rather than
> later -- and I need it to start doing a build for Groovy!
>
>

--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [hidden email]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[hidden email]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

signature.asc (204 bytes) Download Attachment