Compiler (lib/compiler.sx): - Fix emit-op return type: 8 definition form cases (defstyle, defhandler, defpage, etc.) and the perform case now return nil explicitly via (do (emit-op em N) nil) instead of bare emit-op which transpiled to unit-returning OCaml. - compile_match PREAMBLE: return Nil instead of unit (was ignore). - Added init wrapper to PREAMBLE (needed by compile-module). - All 41 compiler functions re-transpiled cleanly. Render (bootstrap_render.py): re-transpiled, no changes. Runtime: restored keyword_p predicate (needed by defio-parse-kwargs! in the transpiled evaluator). 2608/2608 tests passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5.1 KiB
5.1 KiB