Skip to the gist
aiBytes_

← Back to Tue, Nov 24

Hacker NewsFirst covered 24 Nov 2026

Declare is a UI language for you and your AI

Source

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

Appeared in

24 Nov 2026

More from Tue, Nov 24

elementalsouls/Claude-BugHunter

Claude Code skill bundle for bug bounty and external red-team work: 84 skills, 15 slash commands and 681 disclosed-report patterns across 24 vulnerability classes.

Letter Visitors

Identifies the people, companies and AI agents reading your pages, shows them on your own live site, and replays their sessions.