A Clojure implementation on Go: a compiler written in Go that emits plain Go source, as ClojureScript does with JavaScript, plus a tree-walk evaluator for the REPL and macros, with zero-binding Go interop, core.async on real goroutines, nREPL and cross-compiled single-file builds.
- 98.3% (238 / 242)Clojure conformance
- 7.1 MBHello binary
- ~5 msHello startup
Trade-offs
- Interpreted and compiled runs must print byte-identical output: a dual-harness suite of 416 files enforces it on every commit, and a divergence blocks a release.
- Every binary is pure Go with cgo off, so one host cross-compiles to every platform, but cljgo build needs the Go toolchain installed.
- Nothing added may shadow or change clojure.core semantics, and no new syntax: editors use the stock Clojure grammar.
Q&A4
Any Go module is required and called with no bindings; (T, error) returns come back as [value err], and a bang-suffixed call unwraps or throws.
They use reader conditionals with no :default branch, so an unknown dialect reads them as nothing; adding a :cljgo branch passes all 242, but the published number is the suite as it ships.
Performance is gated in CI like tests. Compiled binaries link the compiled core rather than the interpreter, and direct-call emission and int64 inference are among the optimisations.
Project templates, dependency resolution with a lockfile, publishing to Go modules or Clojars, coded diagnostics with explain pages, and a web framework called bri.
Links
Built by
Reviews
Loading reviews
More in Clojure
More in Go
See all 99 →
SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL- StreambedPostgres-to-Iceberg CDC engine with a built-in Postgres wire query server
OmagenImage-to-theme studio for Omarchy with reversible previews and recovery
XDPerfXDP traffic generator with WASM packet plugins- pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
PandaWardLocal application security assessment that reports what it couldn't decide
More in Claude Code
See all 421 →
jobdGPU-aware job broker for a few personal machines, with an MCP server
AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments
AntirionAI gateway in one Rust binary, with the admin console built in
TellyscopeAndroid TV debloater and remote that runs from a phone over ADB
SealEncrypted letters and secrets for after a death, opened by M of N key holders