Comment by yunwal
9 months ago
> If you define a grammar for a new programming language and feed it to an LLM and give it NO EXAMPLES can it write code in your language?
Yes. If you give models that have a cutoff of 2024 the documentation for a programming language written in 2025 it is able to write code in that language.
I have found this not to work particularly well in practice. Maybe I’m holding it wrong? Do you have any examples of this?