3 ms·
> If you have a parser generator tool that can go from zero to parser based on a few examples rather than a grammar, I’d love to hear about it. That's the part
by kuschku 2y ago
> If you have a parser generator tool that can go from zero to parser based on a few examples rather than a grammar, I’d love to hear about it.
That's the part where the LLM would be useful. Turn the examples into a grammar, verify the grammar, and use a parser generator for the rest.
You know the code does what it should and you get there in minutes.
- wrs 2y agoI'm pretty sure it could have done that equally easily, but this grammar is small enough that a parser generator is overkill. (I made that decision before I asked the LLM to write the parser.)