View release on GitHubObfusku grows from a minimal core into a language that can host real tools: a numeric and text library, bytes, records, persistent collections, host I/O and standalone executables.
Key Highlights & Additions
- •Record field access p.x and persistent update p.{x: v}.
- •Persistent Array, Map and Set, and ⟐ ⌿ ⌽ combinators running in constant stack.
- •⌭ byte-string type, 0x/0b/0o literals, 1_000 separators and \u{…} escapes.
- •⌁ host I/O family: arguments, environment, streams, files, clocks and dice.
- •Open exceptions via ☈; a Match over Exception now needs a wildcard arm.
- •⍘ is removed (use ⍕) and duplicated obfusku-cli-* binaries are gone; assets are obfusku-<os>-<arch> and obfusku-lsp-<os>-<arch>.
View release on GitHubInitial stable baseline release of Obfusku, completing the transition from the legacy prototype to a clean, multi-crate workspace architecture backed by normative specifications, Hindley-Milner type inference, and constant-stack runtime execution.
Key Highlights & Additions
- •Frozen symbolic Unicode surface syntax: λ, ≔, ⟡, ⟢, ▷, ☄, ☊, ❧.
- •Closed core type system: ⟁ Int, ⧆ Real, ⌘ Str, ○ Bool, ∅ Unit, with no implicit numeric coercions.
- •User-defined Algebraic Data Types (ADTs) with declared variant constructors and recursive type applications (List ▷ t).
- •Exhaustive pattern matching with structural deconstruction, boolean discriminants (◉/◎), and wildcards (_).
- •Closed Exception ADT with dynamic-extent unwinding via raise (☄) and catch (☊).
- •Modular workspace architecture: decoupled frontend/backend across 7 crates (obfusku-core, -diagnostics, -syntax, -typecheck, -runtime, -fmt, -cli).
- •Hindley-Milner type inference: Algorithm W implementation with polymorphic generalization and unification.
- •Trampoline-based tail-call optimization (TCO) for constant stack depth on recursive functions.
- •Unified obfusku CLI with run, check, fmt, inspect, and repl, plus multi-line diagnostics with source span highlights.