Featured answer
Give me an overview of exact
Exact is a framework for building one app that runs natively on the web, macOS, iOS and Linux, and an AI agent can build, run, see and test it on each of them. The interface is written in Contract, a small declarative language, while data logic is written in TypeScript or Rust, and each host draws its own platform controls. The compiler in contract/ turns .contract files into a plan of tables and bytecode, and host/web-js/ compiles that plan into one ES module for the browser. On native hosts, runner/ provides a Rust VM that executes the plan, kernel/ computes layout and manages keyed component instances and timers, and host/ holds the Apple AppKit and UIKit presenters and the Android view replay. To start reading, begin with the contract/ compiler and the runner/ VM, then look at host/ for the platform screens and packages/ for native capabilities such as camera and notifications.
| Layer | Files |
|---|---|
| CLI | 145 |
| Data | 187 |
| Service | 72 |
| Config | 17 |
| Utility | 10 |
| Types | 43 |
| Application | 7419 |
| Docs & Tooling | 3528 |
Basis: Inferred · knowledge graph· as of a5c045b