Everything about Re2c
re2c is a free and open-source lexer generator for C, C++, D, Go, Haskell, Java, JavaScript, OCaml, Python, Rust, V and Zig. It compiles declarative regular expression specifications to deterministic finite automata. Originally written by Peter Bumbulis and described in his paper, re2c was put in public domain and has been since maintained by volunteers. It is the lexer generator adopted by projects such as PHP, SpamAssassin, Ninja build system and others. Together with the Lemon parser generator, re2c is used in BRL-CAD. This combination is also used with STEPcode, an implementation of ISO 10303 standard. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Re2cA 5-minute orientation
- Pick up a classic book: The Conviction of Richard NixonThe most-reprinted book on the subject
- Read the landmark paper: Stability field of the high-(P, T) Re2C phase and properties of an analogous osmium carbide phaseCited 52 times
- Go sideways: GetoptA closely related topic
- Go sideways: Operator-precedence parserA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Stability field of the high-(P, T) Re2C phase and properties of an analogous osmium carbide phase
RE2C: a more versatile scanner generator
Effect of ball to powder ratio on the mechanosynthesis of Re2C and its compressibility
Theoretical Study of the Elastic and the Thermodynamic Properties of Re2C under High Pressure
RE2C: A lexer generator based on lookahead-TDFA
📚 Books worth reading
The Conviction of Richard NixonJames Jr Reston · 2007
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Getopt getopt() is a POSIX C function used to parse command-line options of the Unix/POSIX style on C. It is a part of the POSIX specification, and is universal…
- Operator-precedence parser In computer science, an operator-precedence parser is a bottom-up parser that interprets an operator-precedence grammar. For example, most calculators…
- Lex (software) Lex is a computer program that generates lexical analyzers ("scanners" or "lexers"). It is commonly used with the yacc parser generator and is the standard…
- C syntax C syntax is the form that text must have in order to be C programming language code. The language syntax rules are designed to allow for code that is terse…
- Select (Unix) select is a system call and application programming interface (API) in Unix-like and POSIX-compliant operating systems for examining the status of file…
- Command-line argument parsing Computer programming portal Command-line argument parsing refers to methods used in a programming language to parse command-line arguments. Section 'Command-lin…
- Stat (system call) stat() is a Unix system call that queries the file system for metadata about a file (including special files such as directories). The metadata contains…
- LL parser In computer science, an LL parser is a top-down parser for a restricted context-free language. It parses the input from Left to right, performing Leftmost…