giles
5968c0173f
regex string-pattern API + test-harness host-call-fn mock
Ported from loops/sx-vm-extensions 4ab9db05 + 8ec36b31.
- sx_primitives.ml (shared serving binary): regex-replace/split/match/etc. accept
a raw pattern string (auto-compiled) as well as a compiled regex dict. Fixes
(regex-replace "[0-9]" "_" s) / (regex-split "[ \t]+" s) which required a dict.
- run_tests.ml (test harness only): bind host-call-fn (= apply) + host-call-fn-raising
/ host-new-function / host-iter? / host-to-list in the mock DOM block. Recovers 712
hyperscript behavioral tests that died on "Undefined symbol: host-call-fn"
(run_tests --jit 1073 → 361 failures). No serving impact (test binary only).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 14:46:01 +00:00
..
2026-07-01 14:46:01 +00:00
2026-05-14 20:10:49 +00:00
2026-07-01 14:46:01 +00:00
2026-04-12 09:58:18 +00:00
2026-06-06 22:56:27 +00:00
2026-04-03 21:26:20 +00:00
2026-04-03 20:16:26 +00:00
2026-05-07 09:48:21 +00:00
2026-05-07 10:13:48 +00:00
2026-03-22 22:21:04 +00:00
2026-03-26 16:40:38 +00:00
2026-05-07 09:48:21 +00:00
2026-04-26 15:16:56 +00:00