Getting Startedv0.8.0
Download SDK, One-Line Install & First Project
SHA-256 verified one-line SDK & VS Code extension installation from the HADID Download Center — no git clone needed.
4 min readUpdated: v0.8.0-rc Reference
Official One-Line Install (Recommended)
No git clone required. Download prebuilt archives directly from the HADID Download Center or run the official SHA-256 verified installer:
sh
# Install HADID SDK:curl -fsSL https://dgtalhat.com/hadid/install.sh | sh# Install HADID SDK + Official VS Code Extension (.vsix):curl -fsSL https://dgtalhat.com/hadid/install.sh | sh -s -- --with-vscodeThe installer automatically detects OS/architecture, verifies the .sha256 digest, and creates a clean self-contained installation under ~/.local:
~/.local/bin/hadid— unified compiler, interpreter, test runner, formatter, and JSON-RPC 2.0 LSP~/.local/lib/hadid/stdlib/*.had— bilingual standard library modules~/.local/lib/hadid/runtime/libhadid_rt.a— prebuilt static runtime archive (+ C source fallback)
Scaffold and Run Your First Project
sh
export PATH="$HOME/.local/bin:$PATH"hadid new hello_app --lang encd hello_apphadid checkhadid runhadid build -o hello_bin && ./hello_binhadid testStarter Program (Run in Browser)
hadid · EN
fn add(a: i32, b: i32): i32 { return a + b;}assert(add(19, 23) == 42, "sum must be 42");print(add(19, 23));Building from Source (Optional — Contributors)
| Platform | Required Toolchain |
|---|---|
| macOS (arm64) | Xcode Command Line Tools (cc C17), make, Python 3.9+ (SQLite included) |
| Linux (Ubuntu 24.04) | build-essential (C17 compiler), make, libsqlite3-dev, Python 3.9+ |
sh
git clone https://github.com/DGTLHLHAT/hadid.gitcd hadid && make && make install PREFIX="$HOME/.local"