Commit graph

2 commits

Author SHA1 Message Date
Yogthos
6c61d445fb docs: compile-by-default, hybrid fallback, AOT; mark staged path 1/2/5 done
README and the self-hosting design doc now describe the current pipeline:
compile-by-default with an always-correct interpreter fallback, var-cell late
binding, parity validation, and AOT images. The staged path marks
var-indirection, hybrid+coverage, and compile-by-default+AOT done; self-hosting
the compiler and moving core to Clojure remain.
2026-06-06 03:00:30 -04:00
Yogthos
614962d535 Research notes: self-hosting compiler design
Survey (Clojure/JVM var indirection + direct linking, ClojureScript self-host,
nanopass, Guile) and a recommended path to a self-hosting Clojure-in-Clojure
compiler emitting Janet bytecode while keeping REPL redefinition. Key finding:
Janet early-binds top-level refs, so compiled globals must deref through var
cells to stay redefinable. Recommends var-indirection first, then hybrid
fallback, then self-hosting the compiler and shrinking the Janet kernel.
2026-06-06 01:13:51 -04:00