[antlr-interest] Files required for cantlr?

Ric Klaren ric.klaren at gmail.com
Tue Jun 14 15:49:51 PDT 2005


Evan Lavelle wrote:
> Can we have a ruling on exactly which files are required to build cantlr 
> with gcj, and/or a makefile? Is it just everything in antlr-2.7.5/antlr?
> 
> Luca Di Gaspero's makefile from 2003 omits TokenWithIndex.java, and the 
> csharp/python files, but includes most of the files in antlr/debug. A 
> cantlr generated from this makefile seems to work Ok.
> 
> The makefile that Ric Klaren posted recently 
> (http://www.antlr.org/pipermail/antlr-interest/2005-April/011723.html) 
> is basically identical, with the addition of the csharp and python 
> files, but it omits CommonASTWithHiddenTokens, CommonHiddenStreamToken, 
> TokenStreamHiddenTokenFilter, and everything in antlr/debug.

Those are not necessary for building antlr itself. (at least not 
necessary to build the native executable) So you can just go with mine 
which is based on Luca's. I've used it multiple times to build a native 
binary.

Cheers,

Ric


More information about the antlr-interest mailing list