Watch a parser grow.
Write a PEG grammar and some input. A packrat parser tries every rule, backs out of dead ends and reuses what it remembers, and you can scrub through every step as a root system growing down to your text.
Write a PEG grammar and some input. A packrat parser tries every rule, backs out of dead ends and reuses what it remembers, and you can scrub through every step as a root system growing down to your text.