|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 SECTIONS This manual page contains the following sections: 1. DESCRIPTION overview and short history of of bisonc++; 2. GENERATED FILES files bisonc++ may more»
bisonc++ (4.01.00-1) unstable; urgency=low * new upstream release depends on bobcat >= 3.00.00 and fixes some small issues (cf. the upstream changelog) -- Frank B. Brokken <firstname.lastname@example.org> Sat, 05 May 2012 17:44:12 +0200 bisonc++ (4.00.00-1) unstable; urgency=low * new upstream release moves to the next major release, as bisonc++ itself is now capable of generating a parser u more»
bisonc++ (4.01.00) * Repaired a long-existing bug due to which some S/R conflicts are solved by more»
This package was debianized by Frank B. Brokken <email@example.com> on Thu, 27 Jan 2005 22:34:50 more»