I’ve been messing with some LLMs to write Elm code. So far, so-so.
I haven’t done a thorough test, mainly because I’m still learning Elm, but some LLMs seem to do great with Elm code, and some seem to run endless loops of debugging failures. I’ve been playing with Nemotron, Muse Spark, MiMo, and Thaura Work.
The debugging cycles are super nice. When things are working well, the code generated compiles the first time, or after one or two cycles through the compiler.
One time, I asked to replicate the layout of an Indymedia site, and gave a brief description of what it was, and what parts I wanted. It cranked out the code quickly, and it compiled, and it looked nice.
Even more important: it was under 100 lines of Html library code. The CSS was a bit longer.
Thaura advised using https://elm-pages.com, and at least one LLM produced code that compiled.