Updated on 30 Jun 2011
By Anthony Buckner
150 KB Safe To Install
Advertising











Specifications
License:
OpenSource under LGPL
Updated:
Downloads:
129
Platform:
Windows All
Publisher:
Dan Nuffer(more)
Website:
Unknown
User Reviews:
Other versions:
0.12.1
Do you like
re2c?
Publisher's Descriptions
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 rule such as the one for unexpected characters in the example above.

The user must arrange for a sentinel token to appear at the end of input (and provide a rule for matching it): re2c does not provide an expression. If the source is from a null-byte terminated string, a rule matching a null character will suffice.

If the source is from a file then you could pad the input with a newline (or some other character that cannot appear within another token); upon recognizing such a character check to see if it is the sentinel and act accordingly.

And you can also use YYFILL(n) to end the scanner in case not enough characters are available which is nothing else then e detection of end of data/file.

re2c does not provide start conditions: use a separate scanner specification for each start condition (as illustrated in the above example). What's New in This Release: [ read full changelog ]

· Fixed #1711240 problem with '"' and 7F on EBCDIC plattforms


Do you like re2c

re2c Disclamer
Please be aware FindMySoft.com accepts no responsibility for the file you are downloading. The same applies to the information provided about the software products listed.
We do not allow the inclusion of any re2c serial, keygen or crack and we disclaim any liability for the inappropriate use of re2c.
FindMySoft advises that re2c should be only used in accordance with the rules of intellectual property and the existing Criminal Code.
For your own protection ALWAYS check downloaded files for viruses.
Advertising
Popular News
The “Who Touched my Phone” app will show you who snooped on your iPhone while you were away.
The Suspend Background Tabs add-on will prevent background tabs from running periodical actions, thus improving the browser’s performance and preventing unnecessary CPU load.
Your Rating
0.0
out
of
5
Rated By
0 Users
Top Downloads
Become A Fan!
Link To Us!
re2c
HTML Linking Code
Latest Reviews