sigil-version
Semantic versioning for Sigil — parse, compare, and constraint-match version strings per semver 2.0.0.
Usage
(import (sigil version))
(define v (parse-version "1.2.3-alpha.1"))
(version-major v) ; => 1
(version<? v (parse-version "1.2.4")) ; => #t
;; Constraint matching
(version-satisfies? v ">= 1.0.0") ; => #t
(version-satisfies? v "^1.2.0") ; => #t (caret: same major, >= given)
(version-satisfies? v "~1.2.0") ; => #t (tilde: same major.minor, >= given)Supports the standard constraint operators (=, >, >=, <, <=, ^, ~, *) plus the full semver field set (major / minor / patch / prerelease / build). See `src/sigil/version.sgl` for the full export list and inline reference.
Building
sigil deps install
sigil build
sigil testFor local development against an in-tree sigil-lang checkout:
sigil build --redirects ./dev-redirects.sglLicense
BSD-3-Clause. See LICENSE (license header lives in package.sgl).
$ git clone https://codeberg.org/sigil/sigil-version
v0.16.0 — latest by version, released 6 May 2026
All releases — 3 tags in this repository.
One page per file, and every line has a permalink.
Bump sigil-version to Sigil 0.16
2d2c9ef9
9bdee687
c13622f4
9f8c6faf
181cbe8d
9fcbe206
The last 20 commits keep a page here. Everything older lives in the clone.