Repository navigation
Stag v0.1.0 — Initial Release
Initial public release of the Stag systems programming language toolchain, built on LLVM and licensed under Apache-2.0.
Included Components
stagccompiler: Ahead-of-time compilation to native executables, object files, assembly, and LLVM IR (-O0through-O3,-Os,-Oz) with generics, tagged unions (choice), traits, slices, compile-time evaluation, C FFI (extern func,repr(C),packed,union), inline assembly, and DWARF/CodeView debug info (-g).- Static analysis & auto-parallelism: Deterministic arena
zoneblocks, RAIIDropanddefer, move/escape analysis (--emit=mem), dependence-proved loop auto-parallelization (--par=auto|force|autotune,--emit=par), runtime bounds/overflow/division checks (--uncheckedto disable), and advisory hints (--emit=hints). - Embedded 18-module Standard Kit:
alloc,args,check,hash,io,json,list,math,maybe,mem,outcome,path,rand,scribe,sys,table,text, andtime— compiled directly intostagcand verified by native Stag test suites (--test). - Language Server & C++20 Embedding API: Standalone
stag-lspserver (diagnostics, hover, definitions, symbols, signature help, Standard Kit completions) and public<stag/Stag.hpp>embedding interface. Note: source formatting (--fmt-experimental) is currently in beta.
Downloads
| Platform | Installer | Portable Archive |
|---|---|---|
| Windows (x64) | stag-setup-0.1.0-windows-x64.exe |
stag-0.1.0-windows-x64.zip |
| Linux (x64) | stag-setup-0.1.0-linux-x64 |
stag-0.1.0-linux-x64.tar.gz |
| Linux (arm64) | stag-setup-0.1.0-linux-arm64 |
stag-0.1.0-linux-arm64.tar.gz |
| macOS (arm64) | — | stag-0.1.0-macos-arm64.tar.gz |
Verify downloaded files against SHA256SUMS.txt before installation:
sha256sum -c SHA256SUMS.txt --ignore-missingDocumentation
- Website: https://stag-lang.github.io
- Language & Compiler Guide: https://github.com/stag-lang/stag/blob/v0.1.0/docs/GUIDE.md
- C++20 Embedding API: https://github.com/stag-lang/stag/blob/v0.1.0/docs/EMBEDDING_API.md