GSET
Targets

Ruby Target

Implemented backend — puts, begin/rescue/ensure, and the strictest gate.

Implemented

The Ruby backend is implemented — gset transpile file.py -t ruby currently errors with no backend for target 'ruby'; supported: go.

What the backend will emit

ConstructImplemented output
print(...)puts(...)
true / false / nulltrue / false / nil
if / elif / elseif / elsif / else + end
try-style flowbegin / rescue / ensure / end

Why Ruby is a gate checkpoint

One of the audit's most damning findings was &&/|| emitted into Ruby — a syntax error in Ruby. The M2 gate directly encodes the fix: emitted Ruby must pass ruby -c, gated on toolchain presence in CI, so the defect class cannot regress.

Runtime

Requires ruby on PATH to run emitted output.

On this page