home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.compilers
- Path: sparky!uunet!gatech!news.byu.edu!eff!world!iecc!compilers-sender
- From: scott@bbx.basis.com (Scott Amspoker)
- Subject: Re: Pros and cons of high-level intermediate languages
- Reply-To: scott@bbx.basis.com (Scott Amspoker)
- Organization: BASIS International, Ltd., Albuquerque NM USA
- Date: Sat, 25 Jul 1992 22:49:57 GMT
- Approved: compilers@iecc.cambridge.ma.us
- Message-ID: <92-07-093@comp.compilers>
- References: <92-07-068@comp.compilers> <92-07-084@comp.compilers>
- Keywords: C, translator
- Sender: compilers-sender@iecc.cambridge.ma.us
- Lines: 20
-
- 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
-
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-