I'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.