Ten 'make a DSL' prompts: a dev's trick for turning AI into a language designer

round · x · 2026-10-11

kitlangton shares his ten go-to prompts, all variations of one idea: ask the model to design a DSL for the problem, 'put on your Simon Peyton Jones hat,' and demand composability. The cited thread adds engineering nuance: thdxr's team avoided QuickJS for their code-mode implementation because it brings WASM complexity, forces worker threads, and serializes values back and forth — they open-sourced a simpler codemode package instead.

Original post →

More from coding & agent

coding & agent channel →