Sigil 0.9.0

release

Lean core, ecosystem split, Zig everywhere. Sigil's monorepo sheds over 25,000 lines as libraries move to independent repositories with their own release cycles. The standard library is streamlined for AI-native development — pattern matching, transducers, R7RS compatibility, and functional programming utilities move to optional packages. Zig replaces GCC as the default C compiler for native builds, and Emscripten is replaced entirely by Zig + WASI for WebAssembly, enabling the Sigil REPL to run in browsers without heavyweight toolchain dependencies.

Download 0.9.0Get started

Ecosystem Split

The monorepo shrinks from 39 packages to 26. Extracted libraries are now independent repositories on Codeberg under the sigil/ organization, each with their own version tags, CI, and release cycle.

Extracted PackageRepositoryDescription
sigil-pegcodeberg.org/sigil/sigil-pegPEG parser combinators
sigil-sxmlcodeberg.org/sigil/sigil-sxmlSXML to HTML/XML conversion
sigil-markdowncodeberg.org/sigil/sigil-markdownCommonMark parser with YAML front matter
sigil-webcodeberg.org/sigil/sigil-webWeb application framework
sigil-csscodeberg.org/sigil/sigil-cssProgrammatic CSS generation
sigil-matchcodeberg.org/sigil/sigil-matchPattern matching
sigil-fpcodeberg.org/sigil/sigil-fpFunctional programming utilities (compose, pipe, partial, threading macros)
sigil-transducerscodeberg.org/sigil/sigil-transducersComposable transducers
sigil-r7rscodeberg.org/sigil/sigil-r7rsR7RS-small compatibility (scheme *) modules and SRFI-9 records
sigil-web-replcodeberg.org/sigil/sigil-web-replBrowser-based REPL (was sigil-playground)
presscodeberg.org/sigil/pressStatic site generator (was sigil-publish)
sigil-sitecodeberg.org/sigil/sigil-siteOfficial Sigil website
sigil-web-democodeberg.org/sigil/sigil-web-demoDemo web application

Extracted packages use from-git dependencies and dev-redirects.sgl for local development. All existing functionality is preserved — packages just live in their own repos.

AI-Native Standard Library

The standard library is streamlined based on a comprehensive audit of how AI agents actually use Sigil across 12 production codebases (117 libraries). Features with zero AI usage were moved to optional packages:

The core language retains what AI agents naturally reach for: when/unless, keyword arguments, define-struct, guard/error, map/filter/apply/find, dicts, broadcast channels, and go concurrency.

Zig as Default Compiler

Zig is now the preferred C compiler across all build paths:

WebAssembly Without Emscripten

The web build target is completely rewritten. Emscripten is replaced by Zig targeting wasm32-wasi with a browser WASI polyfill:

sigil-docs Trimmed

sigil-docs is now a lightweight JSON lookup package for REPL inline help:

sigil-cli Slimmed

The CLI drops several optional command modules and dependencies: