Newsgroups: | comp.compilers |
From: | scott@bbx.basis.com (Scott Amspoker) |
Organization: | BASIS International, Ltd., Albuquerque NM USA |
Date: | Sat, 25 Jul 1992 22:49:57 GMT |
References: | 92-07-068 92-07-084 |
Keywords: | C, translator |
graham@maths.su.oz.au (Graham Matthews) writes:
>As to high-level intermediate languages the biggest problem I see is
>making sure that the user gets meaningful errors. On many languages I have
>used that translate into C one gets C compiler error messages at times as
>part of the language level error messages. YUK!
That's what I meant when I said to approach such "front ends" as full
compilers. To generate C code, a proper front end must understand
everything being being fed to it and how the C compiler will deal
with it. Generated code must *never* have compile errors.
--
Scott Amspoker
Basis International, Albuquerque, NM
scott@bbx.basis.com
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.