- Add VmFrame/VmMachine types to sx_types.ml (alongside CekState/CekFrame) - Add VmFrame/VmMachine value variants to the value sum type - Extend get_val in sx_runtime.ml to dispatch on VmFrame/VmMachine fields - Extend sx_dict_set_b for VmFrame/VmMachine field mutation - Extend transpiler ml-emit-dict-native to detect VM dict patterns and emit native OCaml record construction (same mechanism as CekState) - Retranspile evaluator — no diff (transpiler extension is additive) - Update bootstrap_vm.py output location The transpiler now handles 4 native record types: CekState (5 fields), CekFrame (10 fields), VmFrame (4 fields), VmMachine (5 fields) Full VM replacement (sx_vm.ml → transpiled) still needs vm.sx feature parity: JIT dispatch, CEK fallback, suspension handling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 KiB
17 KiB