session
Update 8: C codegen backend
- New portable backend: SSA IR → C99 source, compilable with MSVC, GCC, or Clang.
- Automatic MSVC discovery and environment setup on Windows (
find_cl,vcvarsall.bat). - Polymorphic
printdispatch, struct typedefs, and basic-blockgotocontrol flow. - Careful renaming to dodge C macro conflicts:
main→main_entry, plus#undefguards for MSVC’smax/min/abs.
The C backend doubles as a verification tool: output parity across the interpreter, C, and native backends catches codegen bugs early.