7e82efd7ec
Phase 8: REPL, printing, source maps, and nREPL server
...
- IPrintWithWriter protocol + CljElixir.Printer module with pr-str,
print-str, pr, prn for all BEAM types (EDN-like output)
- Source-mapped error messages: line/col metadata from reader now
propagated through transformer into Elixir AST for accurate error
locations in .clje files
- Interactive REPL (mix clje.repl) with multi-line input detection,
history, bindings persistence, and pr-str formatted output
- nREPL server (mix clje.nrepl) with TCP transport, Bencode wire
protocol, session management, and core operations (clone, close,
eval, describe, ls-sessions, load-file, interrupt, completions).
Writes .nrepl-port for editor auto-discovery.
92 new tests (699 total, 0 failures).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 11:03:10 -04:00
d8719b6d48
Phases 1-7: Complete CljElixir compiler through Malli schema adapter
...
Bootstrap compiler (reader, analyzer, transformer, compiler, Mix plugin),
core protocols (16 protocols for Map/List/Tuple/BitString), PersistentVector
(bit-partitioned trie), domain tools (clojurify/elixirify), BEAM concurrency
(receive, spawn, GenServer), control flow & macros (threading, try/catch,
destructuring, defmacro with quasiquote/auto-gensym), and Malli schema
adapter (m/=> specs, auto @type, recursive schemas, cross-references).
537 compiler tests + 55 Malli unit tests + 15 integration tests = 607 total.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 10:38:22 -04:00