jolt/host/chez
Yogthos e6aa2aace7 core.logic constraint layer: fixes for the CLP/unifier failures
Follow-on to the core.logic relational-engine work. These clear every crash in
core.logic's constraint-logic-programming and unifier layers (33 errors -> 0) and
most of the value mismatches; the suite goes 504 -> 523 passing assertions. All
are general gaps, not core.logic-specific.

- symbols intern their ns/name strings (JVM Symbol.intern .intern()s them): two
  separately-read `?a` symbols now share one name-string object. core.logic's
  non-unique lvars compare names by identity (via (str sym)), so without this a
  term's lvar and a constraint's lvar built from different `?a` reads never matched
  and constraints silently never fired.
- (str x) of a single arg returns its rendering directly instead of copying through
  string-append, and a symbol stringifies to its (interned) name — JVM (str x) is
  x.toString(). Needed for the identity comparison above.
- a clojure.core-qualified special form dispatches correctly: syntax-quote
  namespace-qualifies a macro like letfn to clojure.core/letfn (matching Clojure,
  where it's a macro), and the analyzer now maps that back to the special form
  instead of treating it as an invoke of a nil var. core.logic's fnc/defnc emit
  (clojure.core/letfn ...). Re-mint.
- (disj nil ...) is nil (JVM), instead of crashing in the set path — core.logic's
  constraint store does (disj (get km v) id) where the get can be nil.

corpus.edn: 4 JVM-certified rows. make test + shakesmoke green, 0 new divergences,
self-host fixpoint holds.
2026-06-27 10:37:32 -04:00
..
java General fixes shaken out by running core.logic's test suite 2026-06-27 09:20:11 -04:00
seed core.logic constraint layer: fixes for the CLP/unifier failures 2026-06-27 10:37:32 -04:00
atoms.ss Clean up codebase: rename stdlib layer, strip porting residue, fix tooling 2026-06-22 22:18:00 -04:00
bootstrap.ss Clean up codebase: rename stdlib layer, strip porting residue, fix tooling 2026-06-22 22:18:00 -04:00
build-smoke.sh Source locations: reader positions, error locations, native stack traces (#218) 2026-06-26 02:14:34 +00:00
build.ss Whole-program param-type inference (closed world) (#226) 2026-06-26 10:57:45 +00:00
cli.ss Source locations: reader positions, error locations, native stack traces (#218) 2026-06-26 02:14:34 +00:00
collections.ss Small maps preserve insertion order 2026-06-27 05:48:17 -04:00
compile-eval.ss Source locations: reader positions, error locations, native stack traces (#218) 2026-06-26 02:14:34 +00:00
converters.ss core.logic constraint layer: fixes for the CLP/unifier failures 2026-06-27 10:37:32 -04:00
dce.ss refactor: extract host/chez/dce.ss; tag the runtime manifest (tier 1) 2026-06-23 22:20:48 -04:00
dyn-binding.ss refactor: registry pattern for jolt-pr-str/pr-readable + remaining arms (jolt-lmot) 2026-06-23 23:22:25 -04:00
dynamic-var-defaults.ss Honor *print-length* / *print-level* / *default-data-reader-fn* 2026-06-26 19:04:42 -04:00
emit-image.ss Auto-resolve ::keywords; honor clojure.edn reader opts 2026-06-24 09:13:14 -04:00
host-contract.ss General fixes shaken out by running core.logic's test suite 2026-06-27 09:20:11 -04:00
host-table.ss Fix general gaps the hiccup suite shook out 2026-06-26 20:15:39 -04:00
lazy-bridge.ss Fix conj on a lazy-seq, add lazy-seq interop regression rows 2026-06-26 21:25:10 -04:00
loader.ss Source locations: reader positions, error locations, native stack traces (#218) 2026-06-26 02:14:34 +00:00
multimethods.ss defmethod on a referred multifn resolves to its home ns 2026-06-24 09:13:28 -04:00
natives-coll.ss Small maps preserve insertion order 2026-06-27 05:48:17 -04:00
natives-format.ss read-string constructs sets; format %x lowercase; extend/extends? on nil 2026-06-24 14:03:47 -04:00
natives-meta.ss General fixes shaken out by running core.logic's test suite 2026-06-27 09:20:11 -04:00
natives-misc.ss Tagged literals are value-equal 2026-06-24 11:03:33 -04:00
natives-num.ss Clean up codebase: rename stdlib layer, strip porting residue, fix tooling 2026-06-22 22:18:00 -04:00
natives-reader.ss Close portable clojure.core gaps: re-groups, letfn, REPL + dynamic vars 2026-06-26 17:48:21 -04:00
natives-seq.ss General fixes shaken out by running core.logic's test suite 2026-06-27 09:20:11 -04:00
natives-transduce.ss Collection fns: JVM-faithful return types + laziness (#219) 2026-06-26 03:01:36 +00:00
ns.ss defn- marks :private; ns-publics drops private vars 2026-06-27 01:27:47 -04:00
png.ss Clean up codebase: rename stdlib layer, strip porting residue, fix tooling 2026-06-22 22:18:00 -04:00
post-prelude.ss Fix general gaps the hiccup suite shook out 2026-06-26 20:15:39 -04:00
predicates.ss Clean up codebase: rename stdlib layer, strip porting residue, fix tooling 2026-06-22 22:18:00 -04:00
printing.ss Honor *print-length* / *print-level* / *default-data-reader-fn* 2026-06-26 19:04:42 -04:00
reader.ss General fixes shaken out by running core.logic's test suite 2026-06-27 09:20:11 -04:00
records.ss General fixes shaken out by running core.logic's test suite 2026-06-27 09:20:11 -04:00
regex.ss Review fixes: print fast-path + regex zero-width advance 2026-06-26 21:01:55 -04:00
remint.sh Pure-Chez test gates (no Janet) 2026-06-21 11:22:32 -04:00
rt.ss Review fixes: print fast-path + regex zero-width advance 2026-06-26 21:01:55 -04:00
run-corpus.ss Clean up codebase: rename stdlib layer, strip porting residue, fix tooling 2026-06-22 22:18:00 -04:00
run-devirt.ss Devirt: cache the resolved impl in a per-site cell (inline cache) (#237) 2026-06-26 18:34:13 +00:00
run-fieldnum.ss Make ^Record param hints work (resolve the record tag) (#232) 2026-06-26 16:03:57 +00:00
run-fieldread.ss Bare-index field reads for statically-known records (#228) 2026-06-26 11:29:14 +00:00
run-infer.ss infer gate: cover the run-inference / take-diags! checker path 2026-06-23 09:38:13 -04:00
run-narrow.ss Nilable record types + flow-sensitive nil narrowing (#235) 2026-06-26 17:16:16 +00:00
run-numwp.ss Hintless whole-program double inference (#230) 2026-06-26 14:18:10 +00:00
run-protoret.ss Infer monomorphic protocol-method return types (#234) 2026-06-26 16:59:35 +00:00
run-sci.ss Run core.memoize's test suite on jolt 2026-06-25 13:23:05 -04:00
run-unit.ss Real Thread/yield + Thread/interrupted (jolt-l2gc) 2026-06-23 00:06:04 -04:00
run-wp.ss WP: don't let a recursive pass-through poison a param to :any (#233) 2026-06-26 16:29:46 +00:00
selfcheck.sh Pure-Chez test gates (no Janet) 2026-06-21 11:22:32 -04:00
seq.ss Symbols are IFn (invoke as a map lookup) 2026-06-26 22:05:21 -04:00
smoke.sh Source locations: reader positions, error locations, native stack traces (#218) 2026-06-26 02:14:34 +00:00
source-registry.ss Source locations: reader positions, error locations, native stack traces (#218) 2026-06-26 02:14:34 +00:00
syntax-quote.ss Small maps preserve insertion order 2026-06-27 05:48:17 -04:00
transients.ss core.logic constraint layer: fixes for the CLP/unifier failures 2026-06-27 10:37:32 -04:00
tree-shake-smoke.sh Tree-shake: count #'x references; multi-app soundness smoke 2026-06-23 20:27:21 -04:00
values.ss core.logic constraint layer: fixes for the CLP/unifier failures 2026-06-27 10:37:32 -04:00
vars.ss refactor: consolidate transducers, dissolve natives-parity.ss (jolt-jcs7) 2026-06-23 23:50:42 -04:00