My meager understanding of compiling is that it is a multi-phase process internally. code generation is the second last phase. the last phase being reporting, i.e. the listing etc.
One would not want to generate C but whatever the stuff is that C produces in its parse+ portion, before it does code generation. I have seen on this list comments that PL/I and C share part of the code generation. why not add Cobol to the mix? It is a less rich language than either C or PL/I. IBM Mainframe Discussion List <[email protected]> wrote on 10/12/2009 07:42:30 PM: > A COBOL compiler that runs on Linux (including Linux for System z) does > produce intermediate C code, before running it through GCC. It is not > technically considered a GCC based COBOL, though. Take a look at > OpenCOBOL, http://www.opencobol.org. > > There was some work done some years ago on GCC COBOL, but it has lagged > somewhat. I have heard recently that the maintainer was going to get > back to it. But, GCC COBOL was going to use LISP. When I read that, I > lost interest. > > Kirk Talman wrote: > > Why can't Cobol use the C code generator? ----------------------------------------- The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

