| 1 |
Source: flexc++ |
| 2 |
Section: devel |
| 3 |
Maintainer: Frank B. Brokken <[email protected]> |
| 4 |
Uploaders: tony mancill <[email protected]> |
| 5 |
Build-Depends: debhelper-compat (= 13), |
| 6 |
libbobcat-dev (>= 6.11.00), |
| 7 |
icmake (>= 13.04.00), |
| 8 |
yodl (>= 4.03.03) |
| 9 |
Standards-Version: 4.7.3 |
| 10 |
Homepage: https://fbb-git.gitlab.io/flexcpp/ |
| 11 |
Vcs-Browser: https://salsa.debian.org/debian/flexcpp |
| 12 |
Vcs-Git: https://salsa.debian.org/debian/flexcpp.git |
| 13 |
|
| 14 |
Package: flexc++ |
| 15 |
Architecture: any |
| 16 |
Depends: ${shlibs:Depends}, ${misc:Depends} |
| 17 |
Suggests: bisonc++ |
| 18 |
Description: Flex-style scanner generator for C++ |
| 19 |
Flexc++ was designed after `flex'. Flexc++ offers as compared to flex's C++ |
| 20 |
option a cleaner class-design. |
| 21 |
. |
| 22 |
Flexc++ generates a scanner class that is ready for use, as well as a member |
| 23 |
function producing the lexical scanner tokens (lex()). The class can easily |
| 24 |
be provided with additional members without the need for polymorphic |
| 25 |
functions. Consequently, classes generated by flexc++ have no virtual members |
| 26 |
and actually have but one public member: lex(), replacing the old-style flex |
| 27 |
and flex++ yylex() function. |
| 28 |
. |
| 29 |
Flexc++ offers many options, among which an option to define classes |
| 30 |
generated by flexc++ in a separate namespace. This allows developers to |
| 31 |
define additional symbols, even outside of the class generated by flexc++, |
| 32 |
without encountering name-collision problems. With flexc++, artificial means |
| 33 |
to prevent name-collisions, like the yy-conventions used by flex and flex++ |
| 34 |
are no longer required. Flexc++ generates C++ code. If C code is required, |
| 35 |
flex should be used. Flexc++'s grammar requirements are highly compatible |
| 36 |
with flex's requirements, so converting a flex grammar into a flexc++ grammar |
| 37 |
should be fairly simple. |
| 38 |
. |
| 39 |
In addition to the flexc++ scanner generator itself and several skeleton |
| 40 |
files, the package contains an extensive man-page, as well as a full manual |
| 41 |
rewritten after the original flex manual, and several examples. |