Per Bothner wrote:

Audrius Meskauskas wrote:

There is the IDL language desciption for the JavaCC parser generator at https://javacc.dev.java.net/files/documents/17/2916/IDLjj, inside JavaCC project The license is not stated explicitly (also not stated in the file header), but the license of the whole javacc project is BSD.


However, a lot of the javacc source files contain copyright notices
that contradict it being Free Software.  Arguably, the top-level license
overrides, but the situation is a mess long ignored by javacc developers:

https://javacc.dev.java.net/issues/show_bug.cgi?id=69

It seems javacc is very lackadaisical when it comes to licensing
issues, so ClassPath (as a GNU project) needs to be very cautious
about including javacc code.

Well, the JavaCC need not go into Classpath source code itself, the but generated classes would go, and JavaCC would be a necessary tool to build that compiler. That Per wrote is unexpected for me. If this is a problem (potentially could be), we should look for another parser generator or probably just parse with the StringTokenizer or StreamTokenizer. Vittorio, wait a little bit with JavaCC and try to find other similar really Free tools.

It is a kind of not a very honest behavior, to put the BSD on the top and something incompatible in the file headers. I am sorry, I did not look myself.

Audrius.


Reply via email to