re2c is a software tool that will allow you to write very fast and very flexible scanners. Unlike any other such tool, re2c focuses on generating high efficient code for regular expression matching.
re2c is a preprocessor that generates C-based recognizers from regular expressions. The input to re2c consists of C/C++ source interleaved with comments of the form /*!re2c ... */ which contain scanner specifications.
In the output these comments are replaced with code that, when executed, will find the next input token and then execute some user-supplied token-specific code.
As a result this allows a much broader range of use than any traditional lexer offers. And Last but not least re2c generates warning free code that is equal to hand-written code in terms of size, speed and quality.
re2c does not provide a default action: the generated code assumes that the input will consist of a sequence of tokens. Typically this can be dealt with by adding a r...
re2c is not available for Handheld
7-Day download statistics for RE2C
Most downloaded programs in the last 24 hours