Digital HAT Labs · v0.8.0-rc Programming Language & Platform

HADIDBilingual. Deterministic. Native.

A systems and web backend language with unified Turkish/English syntax, arena memory management, C17 native compilation, pinned llhttp Web/API, SQLite, and Argon2id auth across milestones M0–M8.

v0.8.0-rc · M0–M3 accepted, M4–M8 locally verified (awaiting Linux CI)

HADID / LABS · v0.8.0-rc

Working Hadid v0.8 compiler pipeline

From source to running system.

  1. Bilingual source (.had)

    English & Turkish · single AST

  2. Type & arena verification

    Option/Result · value semantics · resource cleanup

  3. C17 native binary & API

    libhadid_rt.a · llhttp · SQLite · Argon2id

Verified architecture · v0.8.0-rc (M0–M8)

Execution Model
Interpreter (hadid run) & C17 Native AOT (hadid build + libhadid_rt.a)
Memory Model
Value Semantics, Scope/Request Arenas & Resource Cleanup (ASan/UBSan)
Type System
Static, Bilingual (TR/EN), struct, enum, Option<T>, Result<T,E>, List<T>
Target Platforms
macOS (arm64) & Linux (x86_64/arm64) — llhttp, SQLite, Argon2id

Measured verification evidence (macOS arm64 · v0.8.0-rc)

Acceptance test scenarios (0 failed)
1,317
Strict C17 O0/O2 ASan/UBSan runs
784
Runtime & cleanup sanitizer groups
29 / 29
Local load median (8 concurrent, 0% err)
5,979/s

Our engineering approach

Three principles. Proven foundations.

Every Hadid capability ships with formal specs, positive/negative suites, ASan/UBSan checks, and interpreter/native parity.

Safe

Value semantics and arena memory

Predictable function, loop, and HTTP-request arenas without garbage collection pauses. Sockets, files, and SQLite handles close automatically on both normal exit and runtime abort.

  • Deep value copies and early reclamation on scope exit
  • 29/29 ASan/UBSan runtime groups and 784 strict C17 O0/O2 runs
  • Explicit Option<T>, Result<T,E>, and exhaustive match error handling
Fast

Bilingual syntax and C17 native output

English (fn, struct, enum, match) and Turkish (fonksiyon, yapi, sayim, eslestir) keywords compile to one AST and identical semantics across both interpreter and C17 native binaries.

  • Prebuilt libhadid_rt.a static archive with zero-shell portable builds
  • Interpreter/native and TR/EN output parity verified across 1,317 cases
  • Measured 5,979 req/s median with 0% errors in local macOS arm64 load test
Enterprise

Integrated Web/API, SQLite, and ops

Audited C adapters expose clean Hadid builtins without leaking external C APIs: pinned llhttp v9.4.4, parameterized SQLite, Argon2id hashing, JSON-RPC 2.0 LSP, and rollback tooling.

  • Router, CORS, OpenAPI 3.0.3, HADID_ENV=prod guard, structured JSON logs
  • Parameterized SQL, idempotent migrations, online WAL backup, and RBAC
  • hadid new/deps/lock/test/lsp plus systemd, Caddy/Nginx, and rollback scripts

Verified workloads

From portable CLIs to full-stack Web APIs.

Real workloads exercised by the M7 reference product and M8 operational drills:

  1. Portable CLI & systems utilities

    Single native binaries built via shell-free hadid build with strict UTF-8 text processing, bounded file I/O, and RFC 8259 JSON.

  2. Authenticated SQLite Web & REST APIs

    Pinned llhttp v9.4.4 routing, OpenAPI 3.0.3, parameterized SQLite (WAL), Argon2id password hashing, BLAKE2b sessions, and RBAC.

  3. Operable small-team web platforms

    Next.js 16 frontend, Caddy/Nginx HTTPS ingress, hardened systemd services, online backups, and health-gated release rollbacks.

COMPILER & PLATFORM PIPELINE

From source code to release package.

Every compiler and runtime stage is backed by automated suites, separating CI-accepted milestones from locally verified releases.

  1. 01

    Accepted (M2–M3)

    Bilingual Lexer & Recoverable Parser

    Unified TR/EN tokenization, explicit 255-byte identifier / 8 MiB file / depth budgets, and leak-free in-process AST recovery.

  2. 02

    Accepted (M2)

    Module Namespaces & Static Inference

    Direct visibility, module aliases (as/olarak), nominal struct/enum, Option<T>/Result<T,E>/List<T>, and monomorphic inference.

  3. 03

    Accepted (M3)

    Arena Memory & Standard Library

    Function/loop arenas, UTF-8 text/search, file I/O, environment/UTC time, and strict RFC 8259 JSON modules.

  4. 04

    Locally Verified (M4)

    Portable SDK, Lockfile & LSP

    hadid new/deps/lock/test, pinned 40-hex Git deps, shell-free fork/execvp builds, and JSON-RPC 2.0 hadid lsp.

  5. 05

    Locally Verified (M5–M8)

    C17 Native, Web/API, SQLite & Ops

    libhadid_rt.a archive, llhttp v9.4.4 web stack, SQLite + Argon2id/RBAC, Next.js product, and M8 packaging/rollback.

Roadmap

Where we stand: M0 through M8.

M0–M3 carry official macOS 15 + Ubuntu 24.04 CI tags. M4–M8 are implemented and pass 1,317/1,317 local macOS arm64 tests; Linux CI tags await GitHub Actions billing restoration.

Officially Accepted (M0–M3 · macOS + Linux CI)

  1. M0 — Preservation, Inventory & Roadmap

    milestone-m0

    Baseline inventory, roadmap contract, chronological progress protocol, and remote backup verified (milestone-m0).

  2. M1 — Correctness Harness & Cross-Platform CI

    milestone-m1

    Positive/negative test runner, HTTP checks, intentional failure traps, and macOS/Ubuntu CI established (milestone-m1).

  3. M2 — Language Core (Types, Struct, Enum, Option/Result, Modules)

    milestone-m2

    i32/i64/f64/byte/string/bool, nominal struct/enum, Option<T>/Result<T,E>, match, monomorphic inference, and module namespaces verified across both backends (milestone-m2).

  4. M3 — Arena Memory Model & Standard Library

    milestone-m3

    Value semantics, function/loop arenas, resource cleanup, List<T>, UTF-8 text/search, file I/O, env/UTC time, and strict RFC 8259 JSON accepted (milestone-m3).

Implemented & Locally Verified (M4–M8 · Linux CI Pending)

  1. M4 — Developer SDK, hadid.toml/hadid.lock & JSON-RPC 2.0 LSP

    macOS arm64 ✓

    make install, out-of-repo shell-free build, hadid new/deps/lock/test, assert/dogrula, and hadid lsp (diagnostics, hover, definition, completion) locally verified.

  2. M5 — Web/API Framework (llhttp v9.4.4, Router, CORS, OpenAPI 3.0.3)

    macOS arm64 ✓

    Pinned llhttp v9.4.4, 20 TR/EN web builtins, chunked parsing, 400/404/405/408/413/431 guards, CORS, and OpenAPI 3.0.3 generation locally verified.

  3. M6 — Data (SQLite) & Identity/Sessions/RBAC (Argon2id)

    macOS arm64 ✓

    Parameterized SQLite C API, transactions/rollback, idempotent migrations, online WAL backup, pinned Argon2id 20190702, BLAKE2b sessions, RBAC, and libhadid_rt.a locally verified.

  4. M7 — First Product: Small-Team Task Manager (Hadid API + Next.js 16)

    macOS arm64 ✓

    17-route Hadid REST API + zero-vulnerability Next.js 16 workspace covering auth/roles, project/task CRUD, assignment/status, filtering, pagination, and live E2E checks (4/4).

  5. M8 — Stable Release: Packaging, HTTPS Ingress, Load & Backup/Rollback

    macOS arm64 ✓

    make package (.tar.gz + .sha256), systemd/Caddy/Nginx templates, reproducible load test (5,979 req/s, 0% error), corruption recovery, and 0.7.0 ↔ 0.8.0 rollback drills (5/5).

Transparency note: M0–M3 are verified on macOS 15 + Ubuntu 24.04 CI (milestone-m0..m3). M4–M8 pass all local macOS arm64 gates; tags milestone-m4..m8 are held until Ubuntu 24.04 CI completes after GitHub Actions billing is restored.

Read the docs, run code right in the browser.

25 comprehensive guides, bilingual TR/EN examples, complete builtin reference, and an interactive Run / Edit sandbox on every Hadid code block.

Technical preview

Let’s build it together.

Join us to explore HADID early, share a use case or contribute feedback on the language design.

v0.8.0-rc · M0–M3 accepted, M4–M8 locally verified (awaiting Linux CI)

Tell us what interests you. We will contact you about relevant technical developments and the preview process.

Technical preview application

Fields marked * are required.

I'm not a robot

Click checkbox to verify

Digital HAT
Bot Defense

Your submission is directly delivered to Digital HAT Enterprise CRM and used strictly for Hadid RFC updates and compiler technical previews. Privacy policy