[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Question]:Question about bison adding GPL copyright to the parser f

From: Christian Schoenebeck
Subject: Re: [Question]:Question about bison adding GPL copyright to the parser files generated by bison and yacc.c
Date: Sat, 26 Jan 2019 21:48:34 +0100
User-agent: KMail/5.2.3 (Linux/4.9.0-8-amd64; KDE/5.28.0; x86_64; ; )

On Samstag, 26. Januar 2019 14:31:06 CET Hans Åberg wrote:
> > On 21 Jan 2019, at 17:24, bird bravo <address@hidden> wrote:
> >    I noticed that when I use bison and the parser skeleton(yacc.c) to
> > 
> > generate a parser file... there will be a copyright notice to claim the
> > file is a GPLV3 and an exception declaration... I wanna know is that OK to
> > use and distribute the parser file as I wish..
> Yes, see [1]. The copyright applies to the skeleton code which is copied
> over to the generated parser, but there is an exception added for that.
> 1.

No, that's not what the exception sais. The exception applies (and hence the 
freedom to distribute a Bison generated parser under any arbitrary, different 
license than GPL) only if the generated parser is not itself a parser 
generator. This is not as obvious as you might think. It really depends on 
what his generated parser is capable to do.

I give you a simple example: let's say you used Bison to develop a tool which 
converts source code from one programming language A to B. Now you might think 
this is not a parser generator. Well, it was obviously not your intention. But 
now consider somebody uses that conversion tool for converting a parser  
originally written in programming language A to language B.

Right, your Bison generated conversion tool just generated a parser.

Best regards,
Christian Schoenebeck

reply via email to

[Prev in Thread] Current Thread [Next in Thread]