Skip to content
Main site
Getting StartedInteractive

Interactive Playground (Live Editor)

Write and run English or Turkish HADID code directly in your browser with instant output and token inspection.

3 min readUpdated: v0.8.0-rc Reference

HADID Live Playground

Pick a preset below or edit the code freely and press Run (or Ctrl/⌘ + Enter). Inspect both live program output and the real lexical token stream side by side.

INTERACTIVE PLAYGROUND

Try HADID Right in Your Browser

Browser Sandbox · v0.8.0-rc

Write English or Turkish HADID code, click Run or press Ctrl/⌘ + Enter to inspect live output and lexical tokens instantly.

main.had
exit 0 · 0.43ms
10! = 3628800
The browser sandbox executes core language features, bilingual syntax, Option/Result, struct, enum, List, UTF-8, JSON, UTC time, and virtual file APIs. Native C17 AOT builds, TCP llhttp servers, and disk SQLite run via the local `hadid` CLI.

What Runs in the Browser Sandbox?

  • Full Bilingual Core: English & Turkish keywords, i32/i64/f64/byte/bool/string, functions, recursion, value-copied struct/yapi, nominal enum/sayim, Option<T>, Result<T, E>, match/eslestir, and List<T>.
  • Standard Library: UTF-8 text & search builtins, strict RFC 8259 JSON builtins, UTC time formatting/parsing, and an in-memory virtual filesystem for file_write_text/file_read_text.
  • Safe Client-Side Sandbox: Runs entirely in your browser with a 50,000-step infinite-loop guard.