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-05-07 01:46:23 +00:00
2026-05-07 02:16:59 +00:00
2026-05-07 02:38:47 +00:00
2026-03-26 00:54:23 +00:00
2026-06-28 19:44:12 +00:00
2026-03-15 23:28:48 +00:00
2026-06-19 22:22:40 +00:00
2026-06-19 22:22:40 +00:00
2026-06-28 19:44:12 +00:00
2026-07-01 14:46:01 +00:00
2026-06-28 19:52:22 +00:00
2026-04-03 18:07:35 +00:00
2026-05-26 19:53:58 +00:00
2026-05-18 18:25:24 +00:00