First host-primitive batch. Adds jolt.host/ref-put! — the minimal mutation kernel (set/remove a key on a mutable reference cell) the overlay can't express over core fns — and moves seven atom ops out of the seed: swap-vals!/reset-vals!/compare-and-set! compose the native swap!/reset!/deref (which already validate and notify watches); get-validator is a slot read; add-watch/remove-watch/set-validator! mutate the atom (or its watches table) via ref-put!. atom/swap!/reset!/deref and atom-validate/atom-notify-watches stay native — the compiler depends on them and they're hot. compare-and-set! keeps value-equality semantics, matching the prior Janet behavior. Covered by the existing state spec. |
||
|---|---|---|
| .. | ||
| 00-kernel.clj | ||
| 00-syntax.clj | ||
| 10-seq.clj | ||
| 20-coll.clj | ||
| 30-macros.clj | ||
| MIGRATION.md | ||