» Ubuntu » Packages » lucid (10.04LTS) » devel » bisonc++
lucid  ] [  precise  ] [  raring  ] [  saucy  ] [  trusty  ] [  utopic  ]
[ Source: bisonc++  ]

Package: bisonc++ (2.4.8-1) [universe]

Links for bisonc++

Screenshot

Ubuntu Resources:

Download Source Package bisonc++:

Maintainer:

Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.

Original Maintainers (usually from Debian):

  • Frank B. Brokken
  • George Danchev
  • Tony Mancill

It should generally not be necessary for users to contact the original maintainer.

External Resources:

Similar packages:

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.

Other Packages Related to bisonc++

  • depends
  • recommends
  • suggests
  • dep: libbobcat2 (>= 2.05.00)
    run-time (shared) Bobcat library
  • dep: libc6 (>= 2.4)
    Embedded GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libgcc1 (>= 1:4.1.1)
    GCC support library
  • dep: libstdc++6 (>= 4.4.0)
    The GNU Standard C++ Library v3
  • sug: bison
    A parser generator that is compatible with YACC
  • sug: bisonc++-doc
    Bison-style parser generator for C++

Download bisonc++

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 183.5 kB520.0 kB [list of files]
i386 177.2 kB504.0 kB [list of files]