Parsing for Rex.
The parser is written to be straightforward to step through in a debugger: no parser-generator indirection, and (mostly) explicit control flow.