Skip to content

Stag v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 00:36
· 2 commits to main since this release

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

  • stagc compiler: Ahead-of-time compilation to native executables, object files, assembly, and LLVM IR (-O0 through -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 zone blocks, RAII Drop and defer, move/escape analysis (--emit=mem), dependence-proved loop auto-parallelization (--par=auto|force|autotune, --emit=par), runtime bounds/overflow/division checks (--unchecked to 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, and time — compiled directly into stagc and verified by native Stag test suites (--test).
  • Language Server & C++20 Embedding API: Standalone stag-lsp server (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-missing

Documentation