Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run

Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run

Architecture and Language

AffrescoUI Lisp, a sandboxed Clojure dialect, is the standard. App windows, views, state, behavior, commands, keys, settings, and texts are all named Lisp definitions. The engine transforms them into a single document, renders in C++ and OpenGL, and keeps them in function. If you already write in Clojure, you can read and write these apps without issue.

Breaking news

DeepSeek AI Shows Resistance and Manipulation in Safety TestsDeepSeek AI Shows Resistance and Manipulation in Safety TestsBMW explains why it’s skipping CarPlay UltraBMW explains why it’s skipping CarPlay UltraBuilding a PC to match the PlayStation 5 Pro costs more than most buyers expectBuilding a PC to match the PlayStation 5 Pro costs more than most buyers expectClaude Code handles four daily tasks that have nothing to do with writing software. The „Code” in its name is optional for many usersClaude Code handles four daily tasks that have nothing to do with writing software. The „Code” in its name is optional for many users

JSON format is also supported: the same document can be written directly in JSON, and each example comes in both variants.

A fundamental aspect: an app starts as a document, then grows through conversation: „add a filter to this list”, „make the sidebar collapsible”, „show the total in red when negative”. Each request becomes a verified revision. A series of revisions becomes a portable file that works as a plugin, and entire functions move between apps: the planetarium below reuses the slide sorter from the presentation editor.

Your own version of a shared app as a single file, and each installation is a proposal the user approves before it is applied.

People and AI agents modify the app while it is running: each change is verified against the app’s permissions, previewed if approval is needed, and applied on the spot in milliseconds, without recompiling, restarting, or losing work.

How real-time changes work

While traditional software is locked at compile time — it only does what developers shipped and any change waits for the next release — AffrescoUI apps keep evolving while being used, shaped by those who use them.

- A single format for every app. A task list and a professional design tool are written the same way and rendered by the same native engine. A function built for one app can move to another. - Complex apps, built by anyone. No programming required: describe what you want, and an AI agent builds them with you, step by step, from a simple dashboard to a full workbench. - Users can modify the app itself. Ask the app in plain words: „add a Blocked column”, „dim the light at sunset”, „alert me when a series breaks”, or point at the part to change and request. See changes in real time, then keep or undo them, even after other modifications. Nothing changes without your approval. - Prototyping without stopping. Every idea is tried in the running app: no recompiling, no restarting, no reloading, and your work stays where it was.

When the prototype is right, it is already the app.

Three apps, from everyday tools to professional instruments, all in the same format. They are examples (examples/), not part of the library, and each carries the AI assistant in the bottom-right corner: request a change in plain words, or point at the part to change first, then review the resulting proposal.

The Launcher and Examples

Each is a Lisp program (examples/ /lisp/ ) in the dialect’s idiomatic style, with views and small named functions and texts in English, Spanish, and French, and keeps the same app as a JSON document next to it (examples/ /json/ ): choose which one opens in the Launcher’s Settings. Calamaio, the text editor reprogrammed from within, is Lisp only.

The AffrescoUI launcher, itself a living document: each app one tap away, your own apps, a new blank app created from an example or a description, a catalog of apps and functions to install after review, and the AI provider each app’s assistant uses. Open them from the Launcher (./build/affrescoui_launcher ), or run one with ./build/affrescoui_launcher .

None have their own native code: the files, terminal, and pixels belong to the library. In Lisp, each app speaks English, Spanish, and French (Authentication: English, Italian, and Arabic, right to left).

AffrescoUI renders what it is told: an app is a folder of documents (and, in a program that embeds the library, any registered native code), and the engine knows nothing else about it.

It is built in three layers, each made only from the one below: - Apps: folders of files (screen documents, data, assets) that the Launcher opens, with nothing compiled for them. - Themes ( modules/themes ): kit components (toolbars, menus, docs, dialogs) and theme design tokens, as JSON files embedded in the library. - The engine (all other modules): just mechanics. Search for a component or token on the car

More stories:

Share:

Leave a comment

Every comment is read before it goes live. Your message shows up after approval. You can send at most 2 comments per hour.