Show HN: Constela – Build web pages using JSON instead of JavaScript

  • Posted 8 hours ago by yuu1ch13
  • 1 points
https://github.com/yuuichieguchi/constela
Hi everyone,

I’ve been building a programming language called Constela.

Constela lets you build web pages using JSON instead of JavaScript. UI structure, state, and events are described as a constrained JSON DSL, which is validated and compiled before execution.

The idea is to treat UI not as handwritten code, but as verifiable data. This allows issues like undefined state references, invalid updates, or broken UI structure to be detected before the UI ever runs.

This approach is especially aimed at workflows where UI is generated or heavily modified by machines or AI, where runtime-only errors make correctness hard to reason about.

Project: https://github.com/yuuichieguchi/constela

Docs: https://constela-dev.vercel.app/

I’d be interested in feedback from people working on compilers, UI frameworks, or AI-assisted development.

0 comments