3 ms·
AI could also be used as a tool to help you develop the language - you could try to teach your language to a LLM, or finetune one to help generate the language,
by gsuuon 2y ago
AI could also be used as a tool to help you develop the language - you could try to teach your language to a LLM, or finetune one to help generate the language, or simply plug in a grammar to the ones that can restrict by grammar and have a ready-made generator.
- DylanSp 2y agoI can see how that might help write sample programs, which could be useful for testing my implementation, but how else would it contribute to developing the language?
- gsuuon 2y agoI've used AI to test documentation, that is I give the AI some documentation I wrote as context and ask it to do something. If the AI gets it wrong, it can be an indication the docs aren't clear. I've thought about this since I also have a toy language I play around with, and I intend to use AI for this as well - feed it my docs and see if they're clear enough for the LLM to produce correct code.