Skip to content
Sections
>> Trisquel >> Packages >> aramo >> devel >> flexc++
etiona  ] [  nabia  ] [  aramo  ]
[ Source: flexc++  ]

Package: flexc++ (2.11.00-1)

Flex-style scanner generator for C++

Flexc++ was designed after `flex'. Flexc++ offers as compared to flex's C++ option a cleaner class-design.

Flexc++ generates a scanner class that is ready for use, as well as a member function producing the lexical scanner tokens (lex()). The class can easily be provided with additional members without the need for polymorphic functions. Consequently, classes generated by flexc++ have no virtual members and actually have but one public member: lex(), replacing the old-style flex and flex++ yylex() function.

Flexc++ offers many options, among which an option to define classes generated by flexc++ in a separate namespace. This allows developers to define additional symbols, even outside of the class generated by flexc++, without encountering name-collision problems. With flexc++, artificial means to prevent name-collisions, like the yy-conventions used by flex and flex++ are no longer required. Flexc++ generates C++ code. If C code is required, flex should be used. Flexc++'s grammar requirements are highly compatible with flex's requirements, so converting a flex grammar into a flexc++ grammar should be fairly simple.

In addition to the flexc++ scanner generator itself and several skeleton files, the package contains an extensive man-page, as well as a full manual rewritten after the original flex manual, and several examples.

Other Packages Related to flexc++

  • depends
  • recommends
  • suggests
  • dep: libbobcat5 (>= 5.09.01)
    run-time (shared) Bobcat library
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libgcc-s1 (>= 3.3.1) [not armhf]
    GCC support library
    dep: libgcc-s1 (>= 3.5) [armhf]
  • dep: libstdc++6 (>= 11)
    GNU Standard C++ Library v3
  • sug: bisonc++
    Bison-style parser generator for C++

Download flexc++

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 624.8 kB1365 kB [list of files]
arm64 621.4 kB1336 kB [list of files]
armhf 639.1 kB1322 kB [list of files]
ppc64el 640.4 kB1468 kB [list of files]