The CSSX colour resolution failure was NOT a JIT compiler bug. CALL_PRIM looks up primitives table (not env), and parse-int in the primitives table only handled 1-arg calls. The 2-arg form (parse-int "699" nil) returned Nil, causing cssx-resolve's colour branch to fail its and-condition. Fix: update Sx_primitives.register "parse-int" with same 2-arg handling as the env binding. Remove the vm-reset-fn workaround. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
27 KiB
27 KiB