Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> devel >> bisonc++
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: bisonc++  ]

软件包: bisonc++ (6.03.00-1build1)

bisonc++ 的相关链接

bisonc++

Trisquel 的资源:

下载源码包 bisonc++:

维护者:

Original Maintainers:

  • Frank B. Brokken
  • George Danchev
  • tony mancill

外部的资源:

相似软件包:

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.

其他与 bisonc++ 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libbobcat5 (>= 5.02.00)
    run-time (shared) Bobcat library
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.4) [armhf]
  • dep: libgcc-s1 (>= 3.0) [amd64]
    GCC support library
    dep: libgcc-s1 (>= 3.5) [armhf]
  • dep: libstdc++6 (>= 9)
    GNU Standard C++ Library v3
  • sug: bisonc++-doc
    Bison-style parser generator for C++ documentation
  • sug: flexc++
    Flex-style scanner generator for C++

下载 bisonc++

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 199.5 kB800 kB [文件列表]
armhf 179.3 kB642 kB [文件列表]