jolt/jolt-core/clojure/core
Yogthos 2de0543613 More library-compat fixes from porting the examples (markdown, malli)
Reader / loader:
- #?@ splicing reader conditionals now actually splice the matched collection's
  items into the enclosing sequence; the splice flag was read but ignored, so a
  binding vector like [a #?@(:clj [b (.foo b)])] lost its alignment.
- the file loader reads by position and skips a top-level form that reads as
  nothing (a :cljs-only #?, a #_ discard, a trailing comment) instead of
  treating it as EOF — which silently dropped the rest of a large .cljc file.
- jolt's reader feature set now includes :clj (was {:jolt :default}). jolt is a
  Clojure/JVM-compatible host that emulates clojure.lang.* and java.* interop,
  so it reads the :clj branch of a .cljc library, not :cljs. This also lets four
  more reader-conditional corpus cases pass (floor 2726 -> 2730).

Backend:
- munge-name escapes ' (prime) -> _PRIME_; a Clojure symbol like f' otherwise
  emitted a bare ' into Scheme, which is the quote reader macro and unbalanced
  the output.

Host shims:
- clojure.java.io/writer (pass through a StringWriter, file-back a path) and a
  readLine on the string reader, so line-seq over (io/reader …) works (markdown).

A better "unsupported destructuring pattern: <pat>" error message.
2026-06-22 02:25:11 -04:00
..
00-kernel.clj Host interop fixes: ==/time/subvec/defonce + corpus cleanup 2026-06-21 15:36:41 -04:00
00-syntax.clj More library-compat fixes from porting the examples (markdown, malli) 2026-06-22 02:25:11 -04:00
10-seq.clj Scrub dangling Janet references; drop dead Janet-coupled files 2026-06-21 12:01:04 -04:00
20-coll.clj real BigDecimal type (bigdec, M literals) 2026-06-22 00:01:01 -04:00
25-sorted.clj sorted-map entries are real map-entries (jolt-jk23) 2026-06-21 16:43:05 -04:00
30-macros.clj mutable deftype fields: (set! field val) in a method 2026-06-22 01:19:03 -04:00
40-lazy.clj Scrub dangling Janet references; drop dead Janet-coupled files 2026-06-21 12:01:04 -04:00
50-io.clj *in* is a Reader, not a map 2026-06-21 23:45:24 -04:00