HQL Docs

HQL is a Lisp-shaped language that compiles to JavaScript and TypeScript. Start with the guide, then use the workflow and reference pages as you build real projects.

Reading Paths

GoalRead
Learn the languageGuide
Look up syntax and semanticsLanguage
Run or compile codeCLI
Publish or consume packagesPackages
Use HQL in browsers, web apps, or mobile appsBrowser, Web, And Mobile
Call JavaScript and TypeScriptJavaScript Interop
Use checked pure/effectful codePure Mode
Look up functionsStdlib
Understand diagnosticsErrors

Short Path

echo '(print "Hello, HQL")' > hello.hql
hql run hello.hql

Then read Guide and keep Stdlib open as a reference.

Source Authority

  • Syntax and semantics: hql/docs/hql/LANGUAGE.md plus feature specs.
  • Stdlib reference: generated from src/hql/lib/stdlib/stdlib.hql, packages/*/mod.hql, and verified examples.
  • CLI behavior: hql/src/hql/cli.ts, checked against public docs.