4 ms·
I am jealous of kids these days learning the theory of parsing. There are so many great resources out there! Ohm in particular looks great, attention to detail,
by nhatcher 2y ago
I am jealous of kids these days learning the theory of parsing. There are so many great resources out there! Ohm in particular looks great, attention to detail, care for the theory. Makes me wish I had a project to try it out.
I am a big fan of PEG parsers. They do come with their set issues and difficulties but I always found them great to work with. My to go tool (also a PEG parser similar to Ohm) used to be pegjs now https://peggyjs.org/ https://peggyjs.org/
When I needed speed, or a more classical take, I would use jison. But I think today I would have to find a good reason not to build a hand made parser.
- vanderZwan 2y agoYeah, agreed. I just wish someone would write a "how Marpa parsing works for dummies" article. I've been curious about how it actually works ever since I was colleagues with Aria Stewart, who ported it to JS once upon a time and mentioned it's existence to me (we worked remotely and in opposite time-zones, so I never had a chance to sit down with her for a good old in-person explanation). [0] https://savage.net.au/Marpa.html https://savage.net.au/Marpa.html [1] https://jeffreykegler.github.io/personal/timeline_v3 https://jeffreykegler.github.io/personal/timeline_v3 [2] https://github.com/aredridel/lotsawa https://github.com/aredridel/lotsawa