Ter:
Speaking only in very general terms (certainly not to provide legal advise by way of this list), Antlr is no different from any other OSS project. These projects are not in a position to control or indemnify the use of their software package post distribution. Consequently, these projects cannot and do not advise on the suitability of their products (or third-party grammars) in a manner, commercial or otherwise, beyond their control. This is entirely standard in the industry, particularly in light of the Bison licensing kerfuffle*.
If a commercial entity wishes certainty relative to the use of a GPL licensed work, no amount of lawyering alone will be sufficient. In many, if not most cases, the best path is to negotiate a commercial license directly with the GPL license holder.
Alternately, and this particularly pertains to Antlr grammars, the best path to certainty is to drop the GPL work entirely and do an independent implementation.
-----
* Because Bison copies a part of itself (independent of the grammar) into the generated code, the production would always be GPL. The Bison license was changed to provide a release for the code copied from the generator into the production. The release, however, does not concern any aspect of the grammar used for code generation -- if the grammar is GPL, then the production will also be GPL (according to Stallman).
Bison does not provide any license concerning the grammar that is fed to it; not even a license that warns that it provides no license.
On Wednesday, July 29, 2015 at 2:23:14 PM UTC-7, the_antlr_guy wrote:
hi gang.
Eclipse.org has officially vetted my license and contributors agreement and found it to be clean for inclusion of ANTLR/ST into eclipse stuff.
I can easily add a license that says generated code is also BSD or perhaps considered a derivative work of the grammar license. The latter is probably more proper but is comment by me sufficient for commercial entity?