Lightning Talk Rex
summary
Rex starts as a GPL lexer generator and forks into rexical but licensing blocks extensions so a clean‑room reimplementation becomes Oedipus Lex. It is self-bootstrapping, written in its own language and passing its own tests, trading a hand‑tuned 966‑line lexer that "flogs at about 1200" for a more maintainable implementation reduced to 155 lines. Uses plain regular expressions, predicate methods for rule filtering, unit tests, and four remaining failing tests.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:06In the beginning
- 0:32tenderlove forked
- 0:52Optimized
- 1:12Specific Needs
- 1:26Extending?
- 1:51Oedipus Lex This is not your father's lexer.
- 2:01Self- Bootstrapping
- 2:12Massive Extensions
- 2:35Methods
- 2:52Clean State Changes
- 3:19RP fails 4








