Skip to content

re2c

re2c is a free and open-source lexer generator for C and C++. Its main goal is generating fast lexers: at least as fast as their reasonably optimized hand-coded counterparts. Instead of using traditional table-driven approach, re2c encodes the generated finite state automata directly in the form of conditional jumps and comparisons.

homepage: https://re2c.org

Available installations

re2c version Supported CPU targets Supported GPU targets EESSI version Module
4.3 generic: riscv64
Arm:
AMD:
Intel:
(none) 2025.06 re2c/4.3-GCCcore-14.3.0