Version0.17.0Verifiednot yet verifiedLicenseBSD-3-Clause

sigil-repl

Interactive REPL for Sigil

Report a bug or suggest a feature
Readme

sigil-repl

Interactive REPL infrastructure for Sigil. Provides prompt rendering, multi-line input handling, debug-mode stack inspection, and a shared command registry so applications can embed a Sigil REPL with their own commands.

The sigil repl CLI command itself lives in sigil-cli at (sigil cli repl); this package exposes only the embeddable library surface. sigil-nrepl reuses these primitives for the network REPL.

Modules

ModulePurpose
(sigil repl)REPL entry point, prompt rendering, debug-mode formatting, command parsing
(sigil repl commands)Shared command registry plus the built-in REPL commands (,help, ,q, etc.)

Embedding a REPL

(import (sigil repl))

(run-repl)              ; starts the interactive loop on stdin/stdout

To register custom commands:

(import (sigil repl commands))

(register-repl-command!
  name: ",time"
  description: "Print elapsed time for an expression."
  handler: (lambda (args) ...))

Build and test

sigil deps install
sigil build
sigil test --report

Local development against an unreleased sigil monorepo:

sigil deps install --redirects ./dev-redirects.sgl
sigil build --redirects ./dev-redirects.sgl

License

BSD-3-Clause. See LICENSE in the sigil monorepo for the canonical copy.

Clone

$ git clone https://codeberg.org/sigil/sigil-repl

Releases

v0.17.0 — latest by version, released 10 Jul 2026

All releases — 9 tags in this repository.

Source

Browse the latest source

One page per file, and every line has a permalink.

Recent commitsAtom

The last 20 commits keep a page here. Everything older lives in the clone.