[antlr-interest] visual basic 6 grammar

Sebastian Kaliszewski sk at z.pl
Mon Apr 5 10:06:22 PDT 2004


Anthony Youngman wrote:

> So what you're saying is, if the output of Antlr consists of a mixture
> of Antlr code and your GPL code, then the licence on your code (GPL)
> trumps that of Antlr?

Yes, thats true.

> I don't think so!

But that's the reality. As Antlr licence is compatible with GPL, there is no 
conflict -- the stronger one (i.e. GPL) applies.

> Okay, so Antlr's licence is GPL-compatible so in practice there is no
> problem here, but as I read what you are saying, you are assuming that
> you can ignore the licence on the Antlr code just because Antlr has
> mixed your code in with it.

I can ignore Antlr's licence since it has none (it's in PD). But if Antlr 
had some (stupid) licence disallowing GPLin the resulting

> 
> Let's give an example. I write a load of code-generator code that goes
> into Antlr, and it's NOT GPL compatible (yes, I know, Ter would reject
> it ... but let's assume he doesn't). You then run your grammar through
> Antlr, and the result is a mixture of your code, my code, and other
> peoples' code.

It depends on your licence. If it disallows GPL redistribution then 
hypothetical Antlr with your addon is unuseable for GPL code.

> Are you saying that your GPL licence trumps my licence?

The effect is then unlicenceable at all until some party loosens the constrains.

But it's academic discussion. Even closed source commercial tools usually 
have apropriate non-constrainig licences for the pieces of code getting into 
the generated results of their tools (with exceptions of some restricted 
editions, like educational, evaluation or similar)

rgds
-- 
Sebastian Kaliszewski



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list