|creating non-GPL'ed C++ parser code -- flex++ and yacc? email@example.com (Tim Converse) (1998-05-04)|
|Re: creating non-GPL'ed C++ parser code -- flex++ and yacc? firstname.lastname@example.org (Craig Burley) (1998-05-07)|
|Re: creating non-GPL'ed C++ parser code -- flex++ and yacc? email@example.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? firstname.lastname@example.org (1998-05-15)|
|From:||email@example.com (T. Kurt Bond)|
|Date:||15 May 1998 22:38:41 -0400|
corbett@lupa.Eng.Sun.COM (Robert Corbett) writes:
> Tim Converse <firstname.lastname@example.org> 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
/* 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, email@example.com
Return to the
Search the comp.compilers archives again.