Hacker News·First covered 24 Nov 2026
Declare is a UI language for you and your AI
Declare is a UI language from OpenLaszlo co-founder David Temkin, designed so that both people and AI agents can write interfaces a compiler checks.
Stats
(As of 24 Nov 2026)- Points
- 97
- Comments
- 83
- Submitted by
- ilamont
- Posted
- 16h
- A program is a tree of nodes whose attributes are tied by constraints the runtime keeps true, with no re-render, diffing or hooks.
- Layout, motion, states, theming and drawing are part of the language itself rather than add-on libraries.
- Each compiler error carries a code, a position and the rewrite that fixes it, and an inspector explains why a live value has its value.
- In one paired run, the Declare app took 1,279 lines to React's 2,666 and passed eleven hidden checks to React's six; the site says it is not yet a benchmark.
- It descends from OpenLaszlo, whose original compiler Temkin had an LLM port in June. It is MIT-licensed.
The discussion
- AgreedThe dominant reaction is to the landing page: many say its AI-written prose put them off an otherwise interesting idea. comment
- CounterpointThe author replies, conceding the marketing tone but arguing there is real depth, not a thin layer over React. comment
- DisputedOthers doubt a new language suits LLMs with no training data on it, and say existing reactive frameworks or JSX read more clearly. comment
- ThemeA reply notes mature frameworks hand agents typecheckers, linters and test runners to self-correct against, which a new DSL struggles to match. comment