Flexc++ 0.95.0

A lexical scanner generator for C++

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in Flexc++ 0.3.0:

  • Cleanup of debug messages in lex.cc
  • Check if accepting state corresponds to lookahead. Fixes bug reported by Selwin van Dijk.
Read full changelog
send us
an update
LICENSE TYPE:
Other/Proprietary License
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
The Flexc++ Team
HOMEPAGE:
www.flexcpp.org
CATEGORY:
ROOT \ Programming \ Interpreters
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.

-Comments

Flexc++ is a bit more flexible in taking comments, for more information see section 4.3

Last updated on February 27th, 2012

requirements

#lexical scanner #code parser #flex #lexical #scanner #parser

Add your review!

SUBMIT