4 ms·
Another interesting parser combinator written in Zig is Mecha. https://github.com/Hejsil/mecha https://github.com/Hejsil/mecha
by kristoff_it 6y ago
Another interesting parser combinator written in Zig is Mecha.
https://github.com/Hejsil/mecha https://github.com/Hejsil/mecha
- slimsag 6y ago(author here) Mecha looks really nice! One difference that makes Mecha's look really nice/simple is they are being built at compile time, whereas the ones I outline in this blog post are being built at runtime (with the intention of later building parsers at runtime _based on other parsers output_. Or, at least that's what I gleaned from a quick skim of Mecha. Very excited to play around with it soon!
- kristoff_it 6y agoYou got it right! I think it's nice to be able to contrast the two implementations :)