Tool for generating C, C++, and go recognizers from regular expressions
Description
re2c is a free and open-source lexer generator for C/C++, Go and Rust
with a focus on generating fast code. It compiles regular expression
specifications to deterministic finite automata and encodes them in
the form of conditional jumps in the target language. This approach
is generally faster than table-based lexers, and the generated code
is easier to debug and understand.