I can't even trust an LLM to write working Java code, let alone trust it to convert whatever a DSL is supposed to express into another form. Sure, maybe there's not enough Java 23 in its training set to effectively copy into my application, but Java 11 combined with 10 year old libraries shouldn't be a problem if these coding LLMs are worth their salt.
Until LLMs stop making up language features, methods, and operators out of convenience, DSLs are here to stay.
I fucking hate DSLs however I know they need to exist, but nowhere near as many should exist as they do now.
However LLMs are actually quite useful for translating concepts in DSLs that you don't understand. They don't so it error free, of course, but allows one to ask enough questions to work out why your attempt to translate concepts into this new fucking stupid ontological pile of wank isn't working
Until LLMs stop making up language features, methods, and operators out of convenience, DSLs are here to stay.