Hi all, about this problem I have two candidate ways of proceeding: 1) starting from the OMG IDL spec. copy the grammar rules into a text file with some vim substitutions produce a javacc jj file generate the lexical analyzer with javacc develop a java idl2java compiler 2) the same steps of point 1 but using bison develop a C++ idl2java compiler I'm not sure if there are licensing issues about the following points: copying from the OMG specs (but I think this is safe) using as Open Source a *product* of javacc and what abount ANTLR? (just discovered!) http://www.antlr.org/license.html Do you have opinions? Vittorio --- Per Bothner <per@xxxxxxxxxxx> ha scritto: > 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. > -- > --Per Bothner > per@xxxxxxxxxxx http://per.bothner.com/ > ___________________________________ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yahoo.com