Quilt v0.6.0
Released 2026-11-21 · all releases
The largest release so far: three new languages, a hand-written Quilt parser, machines and live notebooks, new demos, and a conformance harness that checks every support claim in CI.
Get v0.6.0
| Channel | Package | Install |
|---|---|---|
| crates.io | quiltlang 0.6.0 (docs) | cargo add quiltlang@0.6.0 |
| crates.io | quilt-lsp 0.6.0 | cargo install quilt-lsp@0.6.0 |
| PyPI | quilt-python 0.6.0 | pip install quilt-python==0.6.0 |
| npm | quilt-wasm 0.6.0 | npm install quilt-wasm@0.6.0 |
| Open VSX | quiltlang.quiltlang 0.6.0 | codium --install-extension quiltlang.quiltlang |
| GitHub Release | v0.6.0 | see binaries below |
Prebuilt quilt + quilt-lsp binaries and the VS Code extension, attached to the GitHub release:
- macOS (Apple silicon):
quilt-v0.6.0-aarch64-apple-darwin.tar.gz - Linux x86_64:
quilt-v0.6.0-x86_64-unknown-linux-gnu.tar.gz - Linux aarch64:
quilt-v0.6.0-aarch64-unknown-linux-gnu.tar.gz - VS Code extension:
quiltlang-0.6.0.vsix(install with Extensions: Install from VSIX…) - Checksums:
SHA256SUMS
New languages
- Lean 4, as both a quotable target and a string-based host, with LSP support on both sides. Spliced host text is laid out at its hole's column, so generated Lean keeps its indentation-sensitive structure (#139, #301, #312). Lean examples cover do-notation, datatypes and tactic proofs (#146).
- SQL as a target. Values cross in through
↑as literal nodes, not text, so a lifted value cannot escape its literal. The escaping dialect is chosen by annotation, and a hole can stand for a whole statement (#236, #243, #245). - Nix as a target and as a string-based host, with emit
←implemented as a functional join (#69, #70, #187). - TypeScript, HTML and plain text can now be lift targets, with text dialects (#313). TypeScript gains a functional
←, and primitives splice as text (#318). - bash and zsh are now string-based hosts, so their hashbang is reachable (#224).
Machines and notebooks
- Machines: stateful evaluators that complete the Language / MetaLanguage square. A machine is fed fragments over time, keeps its definitions, and answers queries with the literal spelling of the value (#262). This release adds a Lean machine,
ForkMachinefor live siblings, and pinned machines with identity, a cleared environment and Nix content addresses (#287, #307). - Notebooks: an
.html.quiltpage whose cells run on machines (#276), plus live notebooks with an editor, the running page, and a site built from inside it (#279).
New demos and examples
The website has a new Demos gallery. Demos now live at top-level URLs, and the old /demo/ links redirect.
- Phib: a language for cellular automata where every rule is a picture of cells before and after. You can play its frog puzzles, redraw the rules, and race three engines. Its JavaScript and WGSL compilers are written in Quilt (source).
- Browser Playground, rebuilt as a three-stage live dashboard: TypeScript that generates TypeScript that generates HTML. Edit the schema or the
.quiltsource and the WebAssembly expander re-runs every stage in the browser, including↓(source). - Polyglot Notebook: an HTML page that is also the program. Python, SQL, shell and Node cells are quotes spliced into the page, each run on a persistent machine, and
quilt notebookwrites their output back in. - metaarch: a distributed-system compiler built on Quilt. One
.archfile describes services, databases and events, and it generates Rust and Python services, SQL schemas, clients, tests, docs and a Nix deployment. - New examples in
examples/:- Lean:
lean_datatypes,lean_do_pipeline,lean_specialize,lean_tactics,lean_host - SQL:
sql_query,sql_session - Nix:
nix_module,nix_emit,nix_host - Staged code generation:
staged_powin Python and TypeScript,web/dashboard - Notebooks:
notebook/tour,notebook/cafe - Also:
config_gen,db_menu,shell_host
- Lean:
Core language
- Hand-written Quilt parser. The surface syntax is now scanned directly instead of going through tree-sitter-quilt, which is faster and reports malformed syntax as an error instead of panicking. The
tree-sitter-quiltgrammar is gone, and the language server uses the new parser (#175, #255). - Staging.
↑is deferred inside unresolved quotes, so multi-stage programs show the lift at the right stage (#73).↓(reduce) is glyph-aware and block-aware (#74), and has a native Node runner for.ts.quilt(#198). Lift now satisfiesreduce(lift(x)) == xin all three runtimes (#173). - Prelude injection. Expanded files open with their runtime import, so
.quiltsources no longer type it by hand (#275). - Quote representations.
ts⟨str⟩↖…↗andts⟨qt⟩↖…↗pick how a quote is represented (#322). A bare quote inherits its annotated sibling's language (#317), and a quote may be a fragment rather than a whole file (#319) or the whole body of a closure (#247). - Holes. A hole need not be a whole word (#231). In Rust, a hole can stand for items, variants, fields, match arms, item names, pattern paths, pattern fields and path segments (#309, #323). An unquote inside a quoted comment takes a hole (#298), and a splice of several elements is separated into a comma-separated list (#311).
- Escaping.
←is escapable and the full glyph set re-escapes (#142). Terms render back to.quiltsource, escapes included (#232). - Layout. Indented quote bodies are dedented by their own indent (#76, #296, #316), and flush-left lines in multi-line strings are kept verbatim (#292).
- Generated-file header. The header is written as a comment in the target language, derived from the language registry, and no longer depends on the path passed to
expand(#138, #170, #299).
Runtimes and tooling
quilt-wasmbuilds terms as plain JavaScript objects and calls into wasm only where Rust logic is needed (#308). The in-browser expander injects the runtime import, and the browser demos run in CI (#315).quilt-lsp: Python diagnostics re-enabled through a typed ground prologue (#145).- CLI:
quilt runresolves the interpreter from the shebang (#178), andquilt checkvalidates extension-less shebang scripts (#220). - Python: an in-process expander with
expand/run(#71).
Conformance and testing
- A conformance harness verifies every capability claim and generates the Support Matrix; a claim that stops being true fails CI (#147, #148, #163).
- A cross-language grid tests every host against every target (#169), and a runtime parity corpus covers the three published runtimes (#168).
- Snapshot tests for expander output, a grammar corpus for the surface syntax, a
tests/ui/diagnostic corpus, property-based and fuzz testing, and a nightly coverage job (#164, #165, #210, #214, #242). - Arity tables, lift shapes and comment syntax are derived from the grammars instead of written by hand (#207, #235, #249).
Breaking changes
tree-sitter-quiltis no longer published. Editors and tools that used it for highlighting should usequilt-lsp(#255).quilt-wasm's JavaScript API changed. Terms are now plain JS objects built byquilt-wasm/js/runtime.jsrather than wasm handles (#308). Re-expand.ts.quiltfiles with this release.- Ground
←is rejected in the Python and TypeScript hosts (#209). String-based hosts (Nix, Lean) also fail loudly on operator glyphs they do not support, instead of emitting broken code (#143). - Expanded output changed. Because of prelude injection, the new header format and the dedent fixes, regenerated files differ from v0.5.0 output. A source that already imports the runtime keeps its own import;
--no-preludeturns injection off.expandno longer copies a source's shebang into the output (#275).
Full changelog: v0.5.0...v0.6.0