Original author(s) | Peter Bumbulis |
---|---|
Initial release | around 1994 | [1]
Stable release | 3.1[2]
/ 19 July 2023 |
Repository | github |
Type | Lexical analyzer generator |
License | Public domain |
Website | re2c |
re2c is a free and open-source lexer generator for C, C++, Go, and Rust. It compiles declarative regular expression specifications to deterministic finite automata. Originally written by Peter Bumbulis and described in his paper,[1] re2c was put in public domain and has been since maintained by volunteers.[3] It is the lexer generator adopted by projects such as PHP,[4] SpamAssassin,[5] Ninja build system[6] and others. Together with the Lemon parser generator, re2c is used in BRL-CAD.[7] This combination is also used with STEPcode, an implementation of ISO 10303 standard.[8]