Repository navigation
Releases
Releases · CierCier/silver
Silver v0.3.0
Since v0.2.6, the compiler gained a concurrency model with checked shared state, and builds got much faster.
Concurrency
shared Tandlockblocks for state that several threads change. The compiler rejects moving a locked value out of its block, relocking a place, and reading a locked payload through a match.- Borrowed tasks: a launch can borrow the launcher's locals, and the compiler checks those borrows and
Sendon every launch argument. Tasks join at scope exit. Arc<T>for shared ownership across threads. The raw thread spawn API was removed.- The HTTP server and language server run on the new task model.
Language
- Enum payloads are aligned to their fields.
- Type-checking fixes for variadic functions, method receivers, and inferred types. Diagnostics are in the message catalogs.
Build speed and code generation
- Stage0 caches compiled objects by compiler binary and reuses unchanged builds through a whole-build manifest.
- mimalloc is the stage0 allocator. Generic templates are shared instead of cloned.
- Large executable root objects are emitted in parallel.
- Small structs and large aggregates are copied through their places, with memory intrinsics for big copies.
- Backtrace tables are written into the emitted ELF object.
Editor and tooling
- A tree-sitter grammar for Silver, with Zed and VS Code extensions.
- The language server adds navigation, scoped diagnostics, faster startup, and format-on-save.
- Doc comments on every public API show in hover. Macros have their own symbol kind and completion.
- Nix flake, package, and dev shells.
Linking and install
- The release
agclinks LLVM statically, along with libffi, zlib, and libstdc++. It no longer loads those from/nix/store. - The build no longer embeds Nix store RUNPATH entries, so the binary uses the glibc on the machine that runs it. Glibc 2.39 or newer is required.
- The bundle does not include a linker.
agc buildandagc runneedccorld.lldonPATH.
v0.2.6
What's Changed in Silver v0.2.6
Silver v0.2.6 brings reproducible Nix packaging, native tuple syntax and destructuring, full RFC 9112 / RFC 9113 HTTP & HTTP/2 standards compliance, bare enum constructors, Windows target & toolchain support, and substantial LSP and tooling improvements.
Highlights
Nix Packaging & Development Environment
- Added standard-compliant
flake.nix,package.nix,default.nix,shell.nix, and.envrcfollowing nix.dev best practices. - Provides
packages.silver,apps.agc,apps.aglsp,apps.agsm,devShells.default(with Rust 1.95+, LLVM 22.1, libclang, lld, gdb, rust-analyzer), andoverlays.default. - Automated binary wrappers for
agc,aglsp, andagsmproviding runtime sysroots, linker search paths, andlibclanglocations. - Seamless
direnvandnix run . -- run <file.ag>workflow.
Native Tuples & Pattern Destructuring
- First-class square-bracket tuple syntax:
[T, U],[i32, String]. - Tuple destructuring bindings:
let [first, second] = get_pair();. - Deprecated legacy
Pairin favor of native tuples across the standard library. - Language server inlay hints displaying individual datatypes on tuple unpack declarations.
HTTP/1.1 & HTTP/2 (RFC 9112 / RFC 9113)
- RFC 9112 (HTTP/1.1): Trailer header parsing and storage in
HttpResponseandHttpStream, Content-Length smuggling safeguards, 1xx informational status header reset, and chunk extension handling. - RFC 9113 (HTTP/2): Outbound
CONTINUATIONframes and dynamic header block fragmentation, trailer support, per-streamRST_STREAMhandling, and connection/stream outbound flow control. - ALPN Negotiation: Expose ALPN
is_h2checks throughTlsProviderin transport and TLS modules.
Language Ergonomics & Standard Library
- Bare enum constructors: Use
Some(val),None,Ok(val), andErr(e)without explicit enum qualification. - Direct
Err(code, message)constructor forResult<T, Error>. - First-class slicing syntax for arrays,
str,String,Bytes,Slice<T>, and collections:arr[start:end:step]where all parts are optional (e.g.,arr[1:5],arr[:3],arr[4:],arr[:],arr[:-1]). - Bidirectional implicit widening casts between
char,u8, andi8. - Adopted implicit
selfreceiver syntax across standard library modules (std.map,std.collections,std.io,std.net,std.rt,std.sync).
Windows Target & MSVC Toolchain Support
- Support for
x86_64-pc-windows-msvctarget triples. - Automatic discovery of Visual Studio
link.exeand LLVMlld-linkviavswhere. - CRT and Windows SDK import library resolution (
libcmt.lib,msvcrt.lib,ucrt.lib,kernel32.lib).
Tooling & LSP (aglsp, agsm)
- Enhanced autocompletion: member access with type retention, struct designated initializers, and macro snippets.
- Inlay hints for parameter names on method calls and static function invocations.
- Automated submodule header extraction and source map compilation (
agsm). - Parallelized test harness (
run_tests.py -j <cores> --release) and elimination of redundant compiler passes.
Detailed Commit Log
feat(nix): setup Nix packaging, flake, dev shells, and bump to v0.2.6 (5bba4ee)fix(test): use unique isolated temporary directories in dwarf_bt test probes (0e8eda8)fix(windows): resolve synchronization imports, module precompilation target, and runner skip list (0758c1a)fix(test): only pick up environment test runner for windows targets on non-windows host (5b23690)fix(macro): preserve complex literals in const-eval and parse complex types (92ce8ce)feat(net): expose ALPN is_h2 check through TlsProvider in transport and tls (af89976)feat(http2): add trailers, per-stream RST_STREAM handling, and outbound flow control per RFC 9113 (9f69d8d)feat(http2): support outbound CONTINUATION frames and dynamic header block fragmentation per RFC 9113 (655ac99)feat(http): add 1xx header reset and Content-Length smuggling safeguards per RFC 9112 (8f038c2)feat(http): add trailer parsing and storage to HttpResponse and HttpStream per RFC 9112 (60af747)feat(http): ignore chunk extensions in http_parse_hex per RFC 9112 (2b0fcaa)refactor(std): adopt bare Ok and Err in json FromJson implementations (0b02dab)refactor(serialize): synthesize from_json with bare Ok and Err (47d1c99)refactor(std): use explicit Optional in generic HashMap methods and iterators (a7a9dac)feat(parser): support tuple types in parse_simple_type_prefix for TypeName expressions (27cecc8)test: add integration test for bare Ok and direct Err(code, msg) (2849068)refactor(std): adopt bare Ok and direct Err(code, msg) in http (d18acbd)refactor(std): adopt bare Ok and Err in inet SocketAddr methods (f28daeb)refactor(std): adopt bare Ok and direct Err(code, msg) in sys/result from_raw (45c7091)refactor(std): adopt bare Ok and direct Err(code, msg) in sse (a5a7091)refactor(std): adopt bare Ok and direct Err(code, msg) in tls (c40a82c)refactor(std): adopt bare Ok and direct Err(code, msg) in websocket (af84b05)fix(std): use explicit Optional.none/some in generic Vec try_get and try_pop (7a359a9)refactor(std): adopt direct Err(code, msg) in string from_file (563a568)refactor(std): adopt bare Ok and direct Err(code, msg) in tcp (8993327)feat(compiler): support direct Err(code, message) bare constructor for Result<T, Error> (997980c)refactor(std): adopt bare Ok and Err in string from_file and read_lines (318ebe3)refactor(std): remove obsolete Pair in favor of tuples (917587b)refactor(std): adopt bare Some and None in math_int (55f2ffc)refactor(std): adopt bare Some and None in string parsing functions (440b582)refactor(std): adopt bare Some and None in HashMap entry iterators (3285c7d)refactor(std): adopt bare Some and None constructors in iter (8acbff1)refactor(std): adopt bare Some and None constructors in channel (4e83a81)fix(compiler): preserve arguments and register monomorphized enums during bare constructor rewrites (3a9f95c)refactor(std): adopt bare Some/None constructors in std.map (44dbe26)refactor(std): adopt bare Some/None constructors in std.mem.vec (0cf431e)refactor(std): adopt bare Some/None constructors in std.collections.set (d089c4b)refactor(std): adopt bare Some/None constructors in std.collections.queue (44580d2)refactor(std): adopt bare Some/None constructors in std.collections.heap (28965e0)refactor(std): adopt bare Some/None constructors in std.collections.deque (3a28b30)refactor(std): adopt implicit self receiver syntax in std.iter (298d108)refactor(std): adopt impl Args and implicit self in std.args (aacd87c)refactor(std): adopt implicit self receiver syntax in std.rt.type_info (7d69cc3)refactor(std): adopt implicit self receiver syntax in std.net.http (b99c6e9)refactor(std): adopt implicit self receiver syntax in std.io.scanner (3f11dee)perf(compiler): bypass redundant codegen pass 2 and optimize post-monomorph typeck (cfd6b32)feat(tests): parallelize test runner across CPU cores with -j and --release support (8b6139a)fix(std.net.tcp): use MSG_NOSIGNAL on TcpStream.write to prevent SIGPIPE (b96e1a7)refactor(std): adopt implicit self receiver syntax in std.collections (e0e171f, c8906bc, 5499ed3, 0782a2b)refactor(std): adopt implicit self receiver syntax in std.rt (3b0b471, 12f0980, 58f884b, 3779cb8, 9f5b378, ac75183)refactor(std): adopt implicit self receiver syntax across std.net (ece493e, 943be0e, 0998ebc, 2b94dc2, 7e30a10, 3d42a26, ed47c4d, 00dcd95, 828fadc)refactor(std): adopt implicit self receiver syntax across std.io, std.sync, std.atomic (36b0484, 5935f2c, 755bbed, 8716f44, 0e3b578, 5d62f3b, c08dcc9, a1765c0, d31dea0)feat(std): fix Optional handling and codegen updates for generic enums (bb272b0)refactor(std): replace Pair with native tuples across std and tests (7b80e4b)feat(std): add is_ok/is_err/unwrap_err to Result and adopt implicit self syntax (4229e08)feat(parser): auto-inject std.hash, std.io, and std.json for builtin macros (0a060c5)fix(build_graph): render type and codegen errors instead of exiting silently (89fc983)feat(lsp): display individual datatypes as inlay hints on tuple unpack declarations (c3f8a78)feat(syntax): square bracket tuple syntax, let destructuring, and diagnostic reporting (9394b50)feat(semantic): support bidirectional implicit char/u8/i8 casts and numeric widening (dbab7ba)feat: allow str to str slicing and Slice assignability (a0a12a0)feat: add slicing support for str, String, Bytes, Slice and collections (7b457ae)fix(lsp): retain local and parameter types for accurate member auto-completion (f93217c)feat(lsp): enhance autocomplete with member access, struct initializers, macros, and snippets (746d797)feat(lsp): support parameter inlay hints for static method and member calls (d04edee)fix(lsp): prevent spurious inlay hints from synthesized and foreign symbols (5485c83)fix(scripts): use --remove-destination when copying binaries in install.sh (1072732)fix(lsp): synthesize serialization impls in aglsp and support serialise alias (f12f22d)
v0.2.5
- fix(traits): allow implicit &Self and pointer receiver matching in unify_type (93956da)
- fix(scripts): sync bundle archive paths and add aglsp/agsm to distribution bundle (79a06a9)
- chore: bump version to 0.2.5 (5bd40d9)
- feat(build): add install script and build-time search paths configuration (1c3ffb4)
- docs(examples): add slicing syntax example and readme entry (97c5f16)
- feat(codegen): implement slice code generation and integration tests (28d0352)
- feat(semantic): add slice support across type checking and analysis passes (b0280de)
- feat(std): add SliceAccess trait and __slice_get implementations (633b66e)
- feat(parser): add slice syntax ast and parsing support (daf2ec2)
- cli: prettify help output and add cargo-style subcommands (5027231)
- fix(codegen): treat str as pointer for ref-param passing (171d130)
- fix(link): disable mold by default (segfaults on Nix), fallback to cc mold produces segfaulting binaries even for trivial hello.o in current Nix gcc-15.2.0/mold-2.41.0 (realpath lib64 missing, ET_EXEC bad). Manual mold links but strace shows SIGSEGV at 0x8 in dl_main; cc -nostdlib -static works. Make mold opt-in via SILVER_USE_MOLD, try ld.lld first, else fallback to cc via link_exe. (6a871e1)
- Add tests for read_to_string and read_lines in file_test (c33587a)
- Add swap, swap_remove, reverse, and try_pop to Vec (77714f7)
- Add signum, clamp, isqrt, ext_gcd, mod_inv, and CRT to math_int (0ae8fea)
- Add into_iter, into_vec, and from_vec to BinaryHeap (df46ecc)
- Implement String content equality, comparison operators, and content hashing (ac73595)
- fix(codegen): preserve missing struct error for unknown types in lower_named_type_layout (f320dae)
- feat(vendor): vendor libcurl submodule and add http client example (b2164c4)
- fix(submodule): improve submodule build diagnostics and support const i8* string conversions (0fadceb)
- test(json): update tests and examples to use #[serialize] attribute (f101f9c)
- remove bogus example (bf25919)
- feat(semantic): add #[serialize] attribute and automatic serialization synthesis (8909e38)
- examples: add field metadata tags to struct attributes example (1179188)
- examples: add json_tags example demonstrating metadata tags and serialization (d08ce7c)
- test(json): add struct field metadata tags to JSON tests (8e96f5e)
- remove old plan files (752af41)
- docs: link Elise repository in AGENTS.md lexer and parser sections (7cd0622)
- Merge pull request #20 from CierCier/move-semantics (4db2c03)
- remove old plan files (3e71241)
- Fix field-receiver move tracking and dynamic index operand checks (eb4068c)
- Fix Vec::take infinite loop (fc832c8)
- style: shorten scope codegen docstrings (3afdf54)
- style: tighten remaining compiler ownership comments (a221a35)
- style: shorten compiler ownership comments (1b299f7)
- style: trim remaining container comments (c06b8a4)
- style: shorten HashSet comments to explain ownership (93d8e0a)
- compiler: allow move on any addressable place (66638f0)
- style: shorten comments to explain intent (4150ed5)
- lsp: show let inlay as 'T i' not ': T' to match native 'T i' definitions (a7933af)
- docs: update AGENTS and SYNTAX for Place/TypeProperties, remove superseded plan docs (3909664)
- lsp: show implicit move and copy as inlay hints (d939871)
- stdlib+compiler: polish diagnostics and iterator ownership docs (Phase 12) (b44054f)
- compiler+stdlib: Index places and ownership-aware containers (Phase 10-11) (5df489e)
- compiler: true move-out via Place+MovePathTree (Phase 9) (d49795f)
- compiler: pipeline split + hybrid drop + Place Borrow (Phase 6-8) (388dd32)
- compiler: centralize Copy/needs_drop query (Phase 5) (46de2ee)
- compiler: add definite-initialization primitives (Phase 4) (6687e77)
- compiler: add MovePath/MovePathTree (Phase 3) (998f8a9)
- compiler: add Place overlap semantics (Phase 2) (0065d06)
- compiler: introduce structural Place representation (Phase 1) (d4c61fa)
- docs: freeze current ownership/move/borrow/drop semantics (Phase 0) (eafd427)
- feat(stdlib): optimize HashSet to keys-only SwissTable with set algebra (b2dcb44)
- feat(stdlib): round out HashMap SwissTable API and add Pair (e5ffdb6)
- feat(stdlib): complete zero-cost iterator suite across Vec, Slice, String, Bytes, HashMap (beb5b4f)
- feat(stdlib): add Slice algorithm interfaces for search, sort, and reverse (52b9d77)
- fix(stdlib): disambiguate array allocator as alloc_n and fix BufWriter init (ff9819e)
- fix(compiler): support overloaded generic function templates and for-in loop lowering (c050174)
- feat(std/algo): implement sort_by and sort_slice_by comparator heapsort (beb76d9)
- perf(std): add cpu_relax primitive and use in allocator spinlock backoff (30147dd)
- fix(std/json): harden number grammar validation for exponents, fractions, and leading zeros (bc1b111)
- fix(std/bytes): enforce unconditional bounds checking and handle self-overlap in extend (c0345f1)
- perf(std): implement Swiss Table SIMD HashMap, vectorized JSON parser, and GC sweep (4ca0ccc)
- feat(std/algo): add vectorized search, reductions, and SIMD IO scanner (c19ac1b)
- feat(std): add AVX2/SSE2 search, reverse find, counting, and string SIMD operations (2f36d59)
- feat(compiler): support multiline and concatenated string literals in asm intrinsic (54027c7)
- feat(grammar): introduce zero-copy typed AST projection layer over SourceGraph (293da93)
- chore: bump elise to latest commit with SIMD lexing acceleration (0683d49)
- feat(lsp): migrate aglsp to Elise parsing engine and add incremental document sync (50366e4)
- Merge pull request #19 from CierCier/migrate/elise (cd581c3)
- fix(ci, diagnostics): address review feedback by rendering Elise syntax errors with spans and fixing CI git dependency resolution (d9294d0)
- feat(agc): port compiler frontend and import lowering to Elise pipeline (699ce9d)
- feat(grammar): add AST lowering and differential parity test against Silver corpus (5e2070a)
- refactor(layout): reorganize workspace into bin/ and subscribe to standalone Elise repo (aabad41)
- feat(elise): M3+M4 item parser and expression body structure (bf816d3)
- docs: repair M3 checklist text (221e892)
- feat(elise): M3 item-level parser with corpus-wide kind parity (d415555)
- docs: repair mangled M2 checklist text (07411c4)
- feat(elise): M2 source graph core with lossless round-trip gates (b8244d0)
- bench(elise): M1 perf review — elise-lex 3.4x faster than legacy lexer (dee6142)
- feat(elise): M0 scaffold and M1 silver lexer with full corpus parity (52935aa)
- fix(agsm): add missing generic_templates field to ModuleArtifact (01b4c09)
- docs: preprocessing hooks in elise scope, correct baseline profile note (f46b48b)
- bench: corpus baseline harness and perf review gates (622c205)
- docs: add elise parser roadmap (5f1f1c5)
- docs: remove completed roadmap checklist (7bcc914)
- fix: lifetime generic params no longer require type arguments (19678fd)
- test: selective-import aliases surface in LSP completions (4a96d1e)
- feat: selective import aliasing in import lowering (944e7d5)
- feat: condvar notify alias and naming docs (7734bdd)
- fix: channel bounded(0) semantics and destroy reset (09c0750)
- feat: bounded channels, condvars, and rwlocks (WIP baseline) (fdd8568)
- docs: record selective-import blocking investigation (a1a73cd)
- docs: mark generic-param collision fixed (6cb1c35)
- fix: generic parameters shadow same-named global types (b237709)
- docs: mark LSP selective-import item blocked (3f0681f)
- docs: record selective-import lowering findings (2ed1b58)
- feat: parse selective import syntax (0587701)
- feat: reject moving live mutex guards across threads (15fd0ac)
- feat: futex-based thread joining (c2b67bf)
- docs: align Vec POD disclaimer with Box and Rc (cfbb983)
- feat: add fallible stdlib collection accessors (d446f43)
- feat: normalize stdlib capacity and emptiness APIs (e4e0d50)
- fix: make Vec bounds checks deterministic in all profiles (1c4e8d2)
- fix: surface build cache init errors (426f99a)
- docs: record fixpoint cap, descope typed monomorph keys (be6da83)
- fix: cap monomorphization fixpoint generations (e200863)
- docs: add roadmap todo checklist (39e175f)
- feat: support inferred let bindings (97b4813)
- feat: add definition notes to inferred guards (db32b7c)
- feat: parse lifetime where predicates (a452ce4)
- feat: support default generic type arguments (7b5d4cd)
- fix: recognize lifetimes in expression type lookahead (b620709)
- docs: clarify casts and references (49116a3)
- fix: explain unsupported mut declarations (25b40ff)
- docs: align import syntax reference (f932ef2)
- chore: descope incomplete LSP formatter (087570e)
- feat: show inferred local types in LSP (11cf879)
- feat: search LSP references across buffers (bca91c9)
- fix: index LSP method parameters correctly (08fa9d2)
- fix: support associated signature help (27a0051)
- fix: reduce unknown receiver completion noise (9630ca2)
- fix: preserve LSP completion overloads (fe6f453)
- fix: route untitled LSP diagnostics (5633623)
- fix: anchor LSP import errors (10cf88d)
- fix: clear stale LSP diagnostics (d21747c)
- feat: surface linter warnings in LSP (41283d5)
- fix: encode LSP positions as UTF-16 (a03af9b)
- feat(agm): generic template AST serialization and cross-module instantiation (5eda318)
- test(unwrap_or): add direct function call and struct value unwrap tests (48e103d)
- feat(parser,typeck,codegen): implement unwrap-or (?) fallback operator (95133df)
- fix(driver): auto-detect interactive terminals for build progress display (e848400)
- feat(build): implement Zig-style build graph visualization, codegen tracking, and live progress (c633480)
- feat(build): add parallel module dependency graph executor with Rayon (664e830)
- feat(cache): enable default on-demand caching with --no-cache/-nc and --clean options (355616a)
- fix(codegen,std): allow enum payload storage for struct values and place syscall constants before imports (9337040)
- feat(cache): implement XDG-compl...
v0.2.1
- bump version to 0.2.1 (f660d70)
- lexer: promote match, type, Self to hard keywords (5e77340)
- remove fn and pub keywords — C-style trait methods, public-by-default (5e444fc)
- docs: remove :: namespace-qualified types and path expressions (a12247e)
- docs: fix remaining SYNTAX.md inaccuracies from compiler audit (c565a02)
- docs: rewrite SYNTAX.md — verified against compiler source (010fd75)
- update SYNTAX.md (a24ba04)
- perf: cache cc queries with LazyLock, prefer mold linker (d9bc87a)
- style: replace (*ptr).field with ptr.field, x=x+1 with x+=1 (8c7dd0e)
- fix: revert HasInner.drop — compiler auto-drops Drop fields (a0c1e10)
- net: IPv6 support — SockAddrIn6, inet_pton6, AAAA DNS resolution (63df861)
- net: Socket and UdpSocket with RAII Drop (0c16d50)
- net: DNS resolver with multi-NS probing and in-process cache (49bb56e)
- docs: comprehensive docs update and best-practice enforcement (d120aee)
- chore: fix unused variable warning, apply cargo fmt (b7cf1e0)
- fix: update trait associated fn value tests to new ret(params) syntax (ac8b999)
- Merge remote-tracking branch 'origin/feat/fn-ptrs' (92f102a)
- Merge remote-tracking branch 'origin/feat/payload-enums' (a6e5057)
- update examples for new func ptr syn (451dbf9)
- refactor: update function type syntax from fn()->ret to C-style ret() (4602db4)
- fix: address Greptile payload-enum findings (size table, imported layouts, multi-field, arity validation, imported payloads) (b4241dc)
- codegen: fix match arm codegen for payload enums (ff84c7e)
- feat: std breadth — time, process modules, args foundation (b6a6a00)
- feat: payload enums — construction and typeck, match codegen WIP (669ea91)
- WIP: payload enums — compiles, needs match codegen debugging (b500a15)
- feat: first-class function pointers (e3a0418)
- add a reference doc (490c4b6)
- chore: update bootstrap artifacts (f5945cf)
- feat: add trait-based for-in with generic type support and Vec iterator (1250ed6)
- Bootstrap: rebuild after static .bss allocator, memory builtins, and alignment fix (5486774)
- Static .bss allocator: flat array heads, OOM abort policy, memory builtins, alignment fix (0224e0f)
- Merge pull request #13 from CierCier/feat/buffer-table-flush-on-exit (fdc8cc9)
- fix: Initialize mode field in
@sprinttemp BufWriter (ed47d66) - fix: Address Greptile review comments - buffer overflow, stack registration,
@sprintindices (5e35b45) - feat: buffer table and SRT flush-on-exit (dfd6f28)
- Merge pull request #12 from CierCier/std/cleanup-dot-access-and-examples (7699b2a)
- Update bootstrap artifacts after stdlib auto-deref cleanup (1d5c032)
- Clean up stdlib and examples pointer dereferences to use auto-deref dot access and upgrade examples to print macros (4ebe3c5)
- Merge pull request #11 from CierCier/std/rt-casts-port (c0c9d9d)
- Update bootstrap artifacts after compiler and stdlib modifications (e2dcbea)
- Fix pointer dot access mutability, codegen receiver matching, and refactor tests to use print macros (bf453b9)
- Phase 2:
@printmacro family — compile-time format expansion (c17f506) - Update bootstrap artifacts for runtime migration commit (9f11d6a)
- Complete runtime migration: delete silver_runtime, add pure-Silver std/rt/ (291f95f)
- Merge pull request #8 from CierCier/std/fmt-pure-silver (af94705)
- Merge origin/main into std/fmt-pure-silver and update bootstrap (c40b248)
- Merge pull request #7 from CierCier/std/mmap-allocator (bc6b536)
- Merge origin/main into std/fmt-pure-silver and update bootstrap (b99abd8)
- Merge origin/main into std/mmap-allocator and update bootstrap (9e5a7ae)
- Merge pull request #10 from CierCier/std/rt-types-port (42e6128)
- Merge pull request #9 from CierCier/std/rt-gc-heap (c7b29d9)
- Merge origin/main into std/rt-gc-heap and update bootstrap (47999cd)
- Merge pull request #6 from CierCier/std-hygiene-optional-unwrap (154f06a)
- Merge origin/main into std-hygiene-optional-unwrap and update bootstrap (ebf9cf2)
- Merge pull request #5 from CierCier/typed-syscall-errno-layer (d6ab644)
- Merge pull request #4 from CierCier/ci/integration-test-harness (2a306a4)
- Update bootstrap compiler and stdlib packages for mmap allocator dangling sentinel cap (34a6518)
- std/mem: cap mem_dangling address below MEM_MIN_VALID_ADDR (a27d6ed)
- Update bootstrap compiler and stdlib packages for pure-Silver formatting (ad93c44)
- std/fmt: add newline to print_bytes non-utf8 sentinel to match null sentinel and update ffi.rs (7459cdb)
- Update bootstrap compiler and stdlib packages for mmap allocator calloc overflow guard (9b537b5)
- std/mem: add overflow check to calloc (df4afd8)
- std/optional: make __optional_abort truly non-returning and update bootstrap (0b2503c)
- Update bootstrap compiler and stdlib packages for syscall errno non-returning exit_group (8e65803)
- std/sys: make exit_group guarantee it does not return (983306a)
- tests: support inline comments in skip list and clarify expected exit codes in documentation (ec5dc5c)
- Update bootstrap compiler and stdlib packages for mmap allocator (b6ae2a7)
- Update bootstrap compiler and stdlib packages for syscall errno layer (5aed989)
- Update bootstrap compiler and stdlib packages (ecd0901)
- typeck: preserve first declaration span in function_symbols (69e7e3e)
- tests: add test coverage for non-UTF-8 path in silver_rt_print_bytes (e10bfc7)
- std/mem: harden dangling pointer bounds check for high-alignment size-0 allocs (cd64b65)
- std/sys: bounds-check errno_name, calculate test string lengths (2b8368d)
- ci: secure LLVM installation and fix cache key (bc9d6f9)
- Track docs/runtime-migration.md referenced by README (394aba0)
- Port TypeRegistry to Silver and fix pointer local declarations (ecfef8b)
- Port GC heap to Silver and dedupe identical extern overloads (5fdeff3)
- Add pure-Silver formatting and silver_rt_print/abort ABI surface (67b050c)
- Add mmap free-list allocator and pure-Silver memory intrinsics (0b9294c)
- Fix UB in Optional/Result unwrap paths; abort with stderr message (46bc51f)
- Add typed syscall/errno layer (std/sys/errno.ag, std/sys/result.ag) (30b7f31)
- Add integration test harness and GitHub Actions CI (4fac29d)
- Update bootstrap artifacts (SYSCALL enum) (aba6dc9)
- Rename SyscallNum enum to SYSCALL with UPPER_SNAKE variants (600d150)
- remove arbitrary files (20a590e)
- Update bootstrap artifacts (SyscallNum enum) (fd849a6)
- Use SyscallNum enum for syscall numbers in generated wrappers (95a646d)
- Remove dist artifacts from tracking, add dist/ to gitignore (25e17f8)
- Bundle: update archive naming to silver-linux-x86_64-.tar.gz (d9df3be)
v0.2.0
v0.2.0
Highlights
- Phase 1: asm codegen — structured Asm expression with LLVM inline-asm emission for x86_64 syscall ABI
- Phase 2: syscall wrappers — 383 typed Linux x86_64 syscall wrappers (sys_read..sys_file_setattr), auto-generated from kernel headers
@align(T)builtin — compile-time type alignment query- Cascading Drop trait — implicit destructors gated on Drop trait, field-level auto-drop
- --version flag — shows git tag, commit hash, dirty status
- Dynamic LLVM linking — agc binary reduced from 160 MB to 3.7 MB
Full changelog
- Update bootstrap artifacts (12d92ec)
- Phase 1+2: asm codegen, raw syscall primitives, generated wrappers for 383 Linux x86_64 syscalls (e7b3f03)
- Cascading drop: gate implicit destructors on Drop trait, auto-drop fields (827d722)
- feat: add
@align(T)compiler primitive (69c0436) - Add an Agents.md file for assisted development we're all using them anyways, might as well help reduce slop where we can (51cea08)
- Various improvements: unsafe extern C, let-chain refactors, test cleanup (ee3f1c1)
- Use agc library imports in binary (724e45f)
- Commit 9: Standardize std allocation API usage (2610773)
- Commit 8: Improve debug source locations without changing user-visible semantics (f814428)
- Commit 7: Move ABI coercion temporary allocas to the entry block (ee56e5d)
- Commit 6: Stop emitting scalar literal globals, unify string literal interning (b7883f9)
- Commit 5b: Add codegen test for optimization pass pipeline (e97600b)
- Commit 5: Run an LLVM optimization pass pipeline for object and assembly emission (50daad4)
- Clean up confirmed compiler warnings (affdafe)
- Fix Arena allocation alignment (e2b5d20)
- Convert Rc tests to assertion-based (7907cde)
- Add real Vec integration coverage (2e5db0a)
- Various improvements: rustc-hash migration, let-chain refactor, clippy fixes (4230910)
- Wire #[link_name] end-to-end, generalize program-level attrs, improve cycle detection (fff0272)
- aglsp: per-file import caching, enhanced hover, packed struct size, module split (e9ab9a1)
- aglsp: fix panic from imported definition spans (464a346)
- aglsp: resolve imports before type-checking (1b95367)
- aglsp hover: show definition source line instead of coordinates (d005913)
- agdsp: go-to-definition + enhanced hover (type + definition line) (5899ea8)
- Extract aglsp into its own crate at workspace root (ae1faff)
- Fix LSP hover recording + await publish_diagnostics (57a4680)
- LSP: await publish_diagnostics, fix expr_types test (c363e77)
- LSP hover: expression type info at cursor, parking_lot mutex (8e23583)
- Frontend library, LSP server, Result<T,E> generic, test additions (4b4fd03)
- Fix module export generics: preserve type params across .agm boundary (e5e52f9)
- Fix nested generic monomorphization fix-point loop (e187e99)
- remove stale artifacts (b85f49f)
- Fix str == str to compare content via strcmp instead of pointer addresses (c927baa)
- Fix index expression type check for non-integer HashMap keys (0c9e11a)
- Fix
@hashto dereference str pointers and hash string content (6fa058c) - Fix monomorphization of overloaded generic functions and memory_stress crash (3c0316f)
- Add indexed access for HashMap: m[key] and m[key] = value (d427243)
- HashMap implementation and critical bug fixes (354fd26)
- setup a few memory check and bounds (ac194e4)
- fix: search bootstrap include tree from sysroot (00cd7ed)
- feat: operator overloading via traits, Slice replaces T[N], fix test files (ec1be76)
- refactor: convert regression_demo to struct methods and impl blocks (aa1c4ee)
- docs: overhaul README with current features and SEO improvements (c9f0db9)
- Merge pull request #3 from jR4dh3y/sklearn-demo (6b9cd4d)
- rename sklearn example to regression_demo remove vendor/sklearn (8f716ad)
- Implement mutability/immutability enforcement (6f288cd)
- Add sklearn-style vendor demo (d3344e0)
- Fix String double-free: change methods to use pointers, add return move (731b1b2)
- Update bootstrap, fix iter.ag module compilation, exclude draft box.ag (fdda342)
- Fix memory model bugs and add generic Vec with working nested Vec<Vec> (d99c0aa)
- Module system: vendor modules build to lib/silver/ with hierarchy (b504b5e)
- Move external gfx libs from std/gfx/ to vendor/gfx/ (f99c479)
- Fix lexer O(n²) bottleneck and clean up shift operator handling (b432106)
- remove chumsky dependency (1730462)
- Implement defer, move, and implicit destructors (552851f)
- Update bootstrap artifacts (41a9773)
- Add associated function values to traits (4f3c1e0)
- type alias in impl blocks, associated types in iter traits, fix for-in protocol Optional handling (6e2f441)
- Protocol-based for-in, std/iter traits, Optional typecheck fix (3aa89d6)
- Add unit tests for builtin_macros (12 tests) and monomorph (10 tests) (b38f9bd)
- Implement std/string.ag and fix method resolution on dereference receivers (e6a32f1)
- move std/mem.ag to std/mem/alloc.ag (e3f8231)
- Support generic function calls with explicit type args (alloc) (7e7996e)
- Replace
@sizestring matching with builtin macro registry (45ccd80) - fix overload resolution with implicit casts and improve compiler error messages (fad448f)
v0.1.2
- Update bootstrap artifacts (89e503e)
- Add associated function values to traits (fa7f313)
- type alias in impl blocks, associated types in iter traits, fix for-in protocol Optional handling (6e2f441)
- Protocol-based for-in, std/iter traits, Optional typecheck fix (3aa89d6)
- Add unit tests for builtin_macros (12 tests) and monomorph (10 tests) (b38f9bd)
- Implement std/string.ag and fix method resolution on dereference receivers (e6a32f1)
- move std/mem.ag to std/mem/alloc.ag (e3f8231)
- Support generic function calls with explicit type args (alloc) (7e7996e)
- Replace
@sizestring matching with builtin macro registry (45ccd80) - fix overload resolution with implicit casts and improve compiler error messages (fad448f)
v0.1.1
- shift to local release script (bc879a5)
- Install gcc in release container (70a5bbb)
- Use Arch LLVM for release workflow (fb3b8a3)
- add llvm dep to workflow (f630a06)
- update github action (462d279)
- add github action (d4bf794)
- update bootstrap to 1d61fa7 (a44d152)
- modified: examples/gfx_raylib.ag new file: std/gfx/rlgl.ag (1d61fa7)
- Merge pull request #2 from jR4dh3y/feature/raylib-bindings (b52f801)
- Merge main into feature/raylib-bindings (1a600ae)
- feat(codegen): add sret support for large struct returns, raylib bindings, and gfx example (d4c67eb)
- [deps] bump inkwell to 0.9.0 llvm dep also bumps to version 22 (3f80f57)
- fix(codegen): handle void returns and implement System V AMD64 ABI struct classification (a7f0b72)
- update bootstrap to 601201d (ab83e78)
- codegen: enhance ABI coercion with support for 12/16-byte structs and byval for large structs (601201d)
- codegen: implement ABI coercion for extern "C" functions with small structs (96c2631)
- update example to use raylib binding in gfx (4a6c95c)
- [std] update io.ag to use extern block for better readability (6877dcc)
- Add raylib bindings and fix generic import rewriting (93d93bc)
- remove slop .md (d090963)
- Implement macro definition parsing at top level (07d832e)
- Fix ambiguities in match body parsing and macro definition spec (aacd4af)
- Add spec: full parser expression coverage (e9b68df)
- update bootstrap to 171f910 (50f7f16)
- Add Phase 1 debug info support (line tables + function info) (171f910)
- Add compiler profiler and optimize import lowering (200x faster) (d12908f)
- Allow comma-separated declarations (ba413e1)
- Add pointer indexing, user-defined casts, dereference operator, and std modules (460edae)
- Fix bootstrap std include layout (e753044)
2026-03-27
Highlights
- ships packaged module support with .agm metadata and compiled module artifacts
- adds alias and selective imports for source and packaged modules
- refreshes the bootstrap toolchain, standard library, and repository documentation
Asset
- Linux bundle: silver-linux-x86_64-unknown-linux-gnu-2026-03-27.tar.gz