3 ms·
You don't even need that for JSON. JSON can be expressed using a LR(1) grammar, so you can do it in linear time and space.
by orlp 2y ago
You don't even need that for JSON. JSON can be expressed using a LR(1) grammar, so you can do it in linear time and space.
- gamegoblin 2y agoYes, the llama.cpp work supports arbitrary CFGs, not just JSON