re2c icon

re2c

3.7/5 1
Certified 100% CLEAN Freeware   

re2c is a software tool that will allow you to write very fast and very flexible scanners #Scanner Generator  #Code Compiler  #Code Preprocessor  #Scan  #Scanner  #Preprocessor  

Description

changelog

Free Download

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).

re2c 0.13.5

add to watchlist add to download basket send us an update REPORT
  runs on:
Windows All
  file size:
150 KB
  1 screenshot:
re2c - The command line prompt allows you to perform operations such as --emit-dot and --wide-chars.
  main category:
Programming
  developer:
  visit homepage

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

% discount
Microsoft Teams
  • Microsoft Teams
  • Context Menu Manager
  • ShareX
  • 4k Video Downloader
  • Zoom Client
  • Bitdefender Antivirus Free
  • IrfanView
  • calibre
  • 7-Zip
  • Windows Sandbox Launcher
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy