|File Search||Catalog||Content Search|
Since bisonc++ generates the parser class as well as the parsing function. The class can easily be provided with additional members without needing polymorphic functions. Consequently, classes generated by bisonc++ have no virtual members and actually have but one public member: parse(), replacing the old-style bison and bison++ yyparse() function.
Bisonc++ offers many options, among which an option to define classes generated by bisonc++ in a separate namespace. This allows developers to define additional symbols, even outside of the class generated by bisonc++, without encountering name-collision problems. With bisonc++, artificial means to prevent name-collisions, like bison and bison++'s yy-convention are not required anymore when using bisonc++. Bisonc++ merely generates C++ code. If C code is required, bison should be used. Bisonc++'s grammar requirements are highly compatible with bison's requirements, so converting a bison grammar into a bisonc++ grammar should be fairly simple.
In addition to the bisonc++ parser generator itself and several skeleton files, the package contains an extensive man-page, a full manual rewritten after the original bison manual, and several examples.
Some history: Bisonc++ versions 0.98 is a complete rewrite of an LALR(1) parser generator, as described in Aho, Sethi and Ullman's (1986) book `Compilers' (a.k.a. the `Dragon Book'). Version 0.98 was completed in May 2005. Another major rewrite was completed one year later, May 2006, resulting in version 1.00.
Bisonc++ 0.98 is a complete rewrite of the well-known bison(++) parser generator. See the manual page for details. Several demo programs are found below the bisonc++/documentation/examples directory. In that directory there's a README file describing the purposes of the various examples. The (original) bison documentation is provided in html format in the directory bisonc++/documentation/html. T more»
bisonc++(1) bisonc++ parser generator bisonc++(1) NAME bisonc++ - Generate a C++ parser class and parsing function SYNOPSIS bisonc++ [OPTIONS] grammar-file DESCRIPTION The program bisonc++ is based on previous work on bison by Alain Coetmeur (email@example.com), who created in the early ’90s a C++ class encapsulating the yyparse func more»
bisonc++ (2.7.0-2) unstable; urgency=low New release linked against bobcat 2.08.00 -- Frank B. Brokken <firstname.lastname@example.org> Tue, 04 May 2010 13:05:46 +0200 bisonc++ (2.7.0-1) unstable; urgency=low [ Frank B. Brokken ] * New upstream release [ George Danchev ] * Added source/format * Pass -a to debhelper scripts in binary-arch -- Frank B. Brokken <email@example.com> Wed, 3 more»
bisonc++ (2.7.0) * $-characters appearing in strings or character constants in action blocks more»
This package was debianized by Frank B. Brokken <firstname.lastname@example.org> on Thu, 27 Jan 2005 22:34:50 more»