However, I had an experience with chatGPT yesterday that definitely felt like it actually inventing. Problem is, I didn’t ask it to.
I was seeing how much it knew about HyperTalk, the scripting language used in HyperCard. And it was surprisingly well informed. But it also told me that one of the interesting things about HyperTalk was its ‘message stack’ system.
On digging into this topic, chatGPT hallucinated an entire language feature, with original (but HyperTalk-consistent) syntax and semantics, and was able to generate me sample programs (which it claimed showed how this feature was ‘actually used’) and explain how control flow worked within them. when I asked if the feature worked across scripts (for message passing from button scripts to background scripts perhaps) it readily agreed, and produced sample code showing exactly how to use this nonexistent language feature to do just that.
Its delusion was remarkably complete and honestly actually plausibly useful.
Worth bearing in mind if you ever decide to ask chatGPT to teach you a programming language though.
But also, potentially a fruitful line to explore would be having chatGPT collaborate on designing new programming language ideas.