Flexc++ iconFlexc++ 0.95.0

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.

-Comments

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

last updated on:
February 27th, 2012, 14:30 GMT
price:
FREE!
developed by:
The Flexc++ Team
license type:
Other/Proprietary License
category:
ROOT \ Programming \ Interpreters

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in version 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

Add your review!

SUBMIT