Major language, compiler, and standard library release featuring a self-hosted compiler, source-level debugging, function execution tracing, project manifests, and 27 standard modules.
Language
- Interfaces, generics & lambdas: Structural interfaces, generic structs and enums, lambdas with chained list functions (
each,keep,has,all,count,first,sort_by), and functions as values with&mutable parameters. - Ergonomics & value types: Default parameter values, operator methods (
+,-,*,/,%,==,<), fixed-size value arrays (t[N]),staticmodule globals, and multi-file modules (use/export). - Diagnostics & tracing: Integrated
testblocks anddebugfunction modifiers that printstderrexecution traces with old-to-new variable diffs and grouped loop iterations. - Safe operations: Integer bitwise, wrapping, and saturating methods alongside fallible bounds and checked arithmetic helpers (
get,try_slice,try_byte_at,checked_*).
Compiler & Toolchain
- Self-hosted compiler: Complete self-hosted Scoria compiler with incremental
.scoria-cache/translation-unit caching. - Source-level debugging (
-g): Emit.scoline mappings, readable variable and field names, and typed list definitions acrossscoria run,build,test, andemit-c. - Project manifests & auditing:
scoria.tomlsupport (scoria init,scoria deps) with[build]C library linking, plusscoria auditto reporttrustblocks, raw pointers, andexterndeclarations. - Developer tools: Integrated
scoria test, canonicalscoria fmt, andscoria lsp.
Standard Library
- Concurrency & signals:
std.threadwith compile-time thread-safety checks and panic recovery (thread.catch),std.sync(mutexes, read-write locks, channels, atomics, wait groups), andstd.signal. - Networking & web: Non-blocking
std.netpolling, productionstd.httpclient and server (keep-alive, routing, multipart, streaming),std.tls, andstd.ws. - Data & system modules: Expanded to 27 standard modules including reflection-driven
std.json(encode/decode<t>),std.crypto,std.regex,std.csv,std.fs,std.path,std.process,std.time,std.random,std.url, andstd.cli.