Recursive descent parsers are ridiculously simple to write, and can be created without the extra ceremony of using a parser generator. Combine the idea with the use of a string scanner library to do the lexing, and you have an easy way to write ad-hoc parsers.
Playback speed
×
Share post
Share post at current time
Share from 0:00
0:00
/
0:00
Transcript
Recursive Descent With StringScanner
The easiest way to do ad hoc parsing
Feb 04, 2025
Recent Posts
Share this post