etch  ] [  etch-m68k  ] [  lenny  ] [  sid  ]
[ Source: bisonc++  ]

Package: bisonc++ (2.4.4-1)

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.

Tags: Software Development: Code Generation, C++ Development, Implemented in: C++, User Interface: Command Line, Role: Program, Scope: Utility

Other Packages Related to bisonc++

  • depends
  • recommends
  • suggests
  • dep: libbobcat1
    run-time (shared) Bobcat library
  • dep: libc0.1 (>= 2.7-1) [kfreebsd-amd64, kfreebsd-i386]
    Biblioteca de C de GNU: Bibliotecas compartidas
    also a virtual package provided by libc0.1-udeb
  • dep: libc6 (>= 2.5-5) [m68k]
    Biblioteca de C de GNU: Bibliotecas compartidas
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.7-1) [not alpha, ia64, kfreebsd-amd64, kfreebsd-i386, m68k]
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    Biblioteca de C de GNU: Bibliotecas compartidas
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.1.1) [not arm, armel, hppa, kfreebsd-amd64, kfreebsd-i386, m68k]
    Biblioteca de ayuda de GCC
    dep: libgcc1 (>= 1:4.3) [arm, armel, kfreebsd-amd64, kfreebsd-i386]
  • dep: libgcc2 (>= 4.2.1) [m68k]
    Biblioteca de ayuda de GCC
  • dep: libgcc4 (>= 4.1.1) [hppa]
    Biblioteca de ayuda de GCC
  • dep: libstdc++6 (>= 4.2.1) [not armel, kfreebsd-amd64, kfreebsd-i386]
    La versión 3 de la biblioteca estándar de C++ de GNU
    dep: libstdc++6 (>= 4.3) [armel, kfreebsd-amd64, kfreebsd-i386]
  • dep: libunwind7 (>= 0.98.5-6) [ia64]
    Una biblioteca para determinar la cadena de llamadas de un programa. Ejecutables
  • sug: bison
    un generador de filtros que es compatible con YACC

Download bisonc++

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 345.4 kB2064 kB [list of files]
amd64 325.4 kB1920 kB [list of files]
arm 323.5 kB1896 kB [list of files]
armel 311.3 kB1856 kB [list of files]
hppa 347.0 kB2008 kB [list of files]
i386 318.7 kB1900 kB [list of files]
ia64 378.0 kB2232 kB [list of files]
kfreebsd-amd64 (unofficial port) 325.5 kB1368 kB [list of files]
kfreebsd-i386 (unofficial port) 319.9 kB1352 kB [list of files]
m68k 313.1 kB1916 kB [list of files]
mips 334.2 kB2092 kB [list of files]
mipsel 333.9 kB2092 kB [list of files]
powerpc 332.3 kB1944 kB [list of files]
s390 321.7 kB1908 kB [list of files]
sparc 420.9 kB2476 kB [list of files]