Related articles |
---|
creating non-GPL'ed C++ parser code -- flex++ and yacc? converse@cs.uchicago.edu (Tim Converse) (1998-05-04) |
Re: creating non-GPL'ed C++ parser code -- flex++ and yacc? burley@cygnus.com (Craig Burley) (1998-05-07) |
Re: creating non-GPL'ed C++ parser code -- flex++ and yacc? jason@cygnus.com (Jason Merrill) (1998-05-07) |
Re: creating non-GPL'ed C++ parser code -- flex++ and yacc? corbett@lupa.Eng.Sun.COM (1998-05-12) |
Re: creating non-GPL'ed C++ parser code -- flex++ and yacc? tkb@access.mountain.net (1998-05-15) |
From: | tkb@access.mountain.net (T. Kurt Bond) |
Newsgroups: | comp.compilers |
Date: | 15 May 1998 22:38:41 -0400 |
Organization: | Compilers Central |
References: | 98-05-022 98-05-071 |
Keywords: | yacc |
corbett@lupa.Eng.Sun.COM (Robert Corbett) writes:
> Tim Converse <converse@cs.uchicago.edu> wrote:
> >Does anyone know if yacc can generate C++ code? If not, does anyone
> >have any suggestions about how to produce non-GPL'ed parser code in
> >C++? (Any suggestions, that is, other than the obvious one: writing
> >it myself. :)
>
> Berkeley Yacc is public-domain. You could modify the parser skeleton
> to have it produce C++ instead of C.
Note that the licensing of bison's parser skeleton has changed to be less
restrictive, so it might be a possiblity too.
>From File: bison.info, Node: Conditions:
Conditions for Using Bison
**************************
As of Bison version 1.24, we have changed the distribution terms for
`yyparse' to permit using Bison's output in non-free programs.
Formerly, Bison parsers could be used only in programs that were free
software.
bison.simple contains:
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
--
T. Kurt Bond, tkb@access.mountain.net
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.