For every subroutine (including main), feed its NL spec plus the compact Gendo reference prompt (the one we finalised earlier) into:
Prompt 5A – Code generation
Using ONLY the reference rules below, emit the
complete .gnd code for subroutine {name}.
Return code only.
REFERENCE:
<<< {gendo_reference_prompt} >>>
SPEC:
<<< {nl_spec_stage4} >>>