How to Install and Uninstall bisonc++ Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "bisonc++" package

This guide let you learn how to install bisonc++ on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install bisonc++

2. Uninstall "bisonc++" package

In this section, we are going to explain the necessary steps to uninstall bisonc++ on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove bisonc++ $ sudo apt autoclean && sudo apt autoremove

3. Information about the bisonc++ package on Ubuntu 21.10 (Impish Indri)

Package: bisonc++
Architecture: amd64
Version: 6.04.01-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Frank B. Brokken
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 877
Depends: libbobcat5 (>= 5.05.00), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 9)
Suggests: bisonc++-doc, flexc++
Filename: pool/universe/b/bisonc++/bisonc++_6.04.01-1_amd64.deb
Size: 217700
MD5sum: 128c037cd4ad346965d6c6e61aacc471
SHA1: e0fe7af20be3ab8a29e9903e47ca650443a745f6
SHA256: 3d98da73f095bf40efdf674a3580fbe8e72652e590acb5d84e5f28816df8e7e1
SHA512: a0fe38426c10a47d0cbad6809e1455ba515cc86bafce52f6101eb91f139f18287d901c3aec283d10eff7b26e06cf4fbf724c7d50020e068bbef4a5a73b2fce06
Homepage: https://fbb-git.gitlab.io/bisoncpp/
Description-en: Bison-style parser generator for C++
Bisonc++ was designed after `bison++', created by Alain Coetmeur. Bisonc++
adds to bison++ a cleaner class-design, using a base-class to communicate
lexical tokens to a lexical scanner.
.
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.
Description-md5: 74fda00dbfd36167bcdfa72847ca341b