[antlr-interest] Build errors for ANTLR 3.13

Christian Schladetsch christian.schladetsch at gmail.com
Fri Apr 11 07:58:07 PDT 2008


There is a `clean` target for the ant script.

But the recursive nature of ANTLR makes this tricky. As Dr. Parr has pointed
out, the latest release is self-referential and needs `version 3 grammars`.
I guess that is from a previous version 3, as my belief system requires that
a thing cannot use itself to create itself. Of course, a thing can use an
older version of itself to make itself, that's fine, but the latest 'builds'
are something else.

Which makes it really hard for us grunts. I am a C++/C#/C/Asm guy trying to
meet deadlines. I am not a Java/Ant guy.

Sure, so it sucks to be me. Even so, I am not an idiot and it has been a
real pain to get a build up and running. Generated code from 3.1 is crashing
on VS2008 and I don't know if it's my grammar or because of the build
kludges I put in (like, *deleting* files from the release package).

It would be fine except I need a C++ target so I am using Jim's 3.1 C
runtime. But that means java -> C -> C++ burdened with build issues. I know
this is bleeding edge, and I am used to that (I am in game-dev) but at least
the builds should build?

I have utmost respect for Dr. Parr and his work, and for all the other
contributers. But if builds cannot be built out-of-the-box there is
something deeply wrong. Is there a build maintainter for this project? The
documentation is scant (yes I have bought the book), but my word if it has
to use java then `ant` from from the root has to Just Work.

Regards,
Christian.


On Sat, Apr 12, 2008 at 1:47 AM, Micheal J <open.zone at virgin.net> wrote:

> Hi,
>
> > I sent the following updated build.xml to a couple of folks
> > the other day; give it a try and let us know here.  A better
> > fix would be for the ANTLR distro _not_ to include the
> > generated files in the src tree, but until then...
>
> ...you could add a 'clean' target?
>
> Much like in the Nant build for the C# v3.1 beta.
>
> Micheal
>
> -----------------------
> The best way to contact me is via the list/forum. My time is very limited.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080412/24fa294e/attachment.html 


More information about the antlr-interest mailing list