Sujet : Re: Rewriting SSA. Is This A Chance For GNU/Linux?
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacy comp.os.linux.miscDate : 01. Apr 2025, 18:35:11
Autres entêtes
Message-ID : <m52mefFi3nfU4@mid.individual.net>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.160 (Toresk; )
On Tue, 1 Apr 2025 14:40:27 -0000 (UTC), Robert Heller wrote:
It should be noted that GnuCOBOL actually translates COBOL to C, and
then compiles the C code with GnuC. In *theory* one could just run the
whole code base through GnuCOBOL and create a C code base, but good luck
making much sense of the generated C code...
I never did it with COBOL but I did use 'f2c' to generate C code from
Fortran. When I saw the results I wrote the C code manually. It probably
would have compiled and ran but it was not maintainable. I've seen more
readable output from disassemblers.