4 ms·
> Ask parser writers, I guess? I've written many parsers, including for s-expr following rivest's RFC. S-expr take about half a dozen states to pull. A packrat
by simplotek 4y ago
> Ask parser writers, I guess?
I've written many parsers, including for s-expr following rivest's RFC. S-expr take about half a dozen states to pull. A packrat parser for s-expr can fit in a single page. You don't even have to scroll to see the whole implementation. What are you talking about?
What exactly do you feel parser writers will tell you regarding s-expr?