0.95.0 Other/Proprietary License
  not rated
A lexical scanner generator for C++





Flexc++ is a lexical scanner generator for C++ and is very similar to flex and flex++, written by Vern Paxson. The goal was to create a similar program, but to completely implement it in C++. Most flex / flex++ grammars should be usable with flexc++, with minor adjustments.

Differences with flex/flex++

Although flexc++ tries to be as much compatible with flex as possible, there are some differences.

-Obsolete symbols

All DECLARATIONS and DEFINE symbols not listed above but defined in flex++ are obsolete with flexc++. In particular, there is no %header{ ... %} section anymore. Also, all DEFINE symbols related to member functions are now obsolete. There is no need for these symbols anymore as they can simply be declared in the class header file and defined elsewhere.

-Code blocks

Flexc++ does not support code blocks, except for multi-line actions. Code previously placed in code blocks can now be placed in methods.

-User code

Related to the previous section 2.2, flexc++ does not support a last section of the input file for user code.


Flexc++ is a bit more flexible in taking comments, for more information see section 4.3
Last updated on February 27th, 2012

0 User reviews so far.