Prototyping a CodeCAD Language: The Pursuit of Software Hygge
2025-06-09
The author spent a month prototyping a CodeCAD language, aiming not for flashy demos, but for a feeling of "software hygge": instant loading, stability, and ease of use. The post focuses on the prototyping challenges of a "bidirectional editing" feature, synchronizing a graphical UI with a textual code editor in real-time. Numerous technical hurdles are discussed, including code rewriting, editor-UI synchronization, and code formatting. The author shares learning resources and reflections on building an integrated language implementation and editor tooling, as well as discussions on related existing projects.
Development
bidirectional editing