home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / compiler / 1272 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!gatech!news.byu.edu!eff!world!iecc!compilers-sender
  3. From: scott@bbx.basis.com (Scott Amspoker)
  4. Subject: Re: Pros and cons of high-level intermediate languages
  5. Reply-To: scott@bbx.basis.com (Scott Amspoker)
  6. Organization: BASIS International, Ltd., Albuquerque NM USA
  7. Date: Sat, 25 Jul 1992 22:49:57 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <92-07-093@comp.compilers>
  10. References: <92-07-068@comp.compilers> <92-07-084@comp.compilers>
  11. Keywords: C, translator
  12. Sender: compilers-sender@iecc.cambridge.ma.us
  13. Lines: 20
  14.  
  15. graham@maths.su.oz.au (Graham Matthews) writes:
  16. >As to high-level intermediate languages the biggest problem I see is
  17. >making sure that the user gets meaningful errors. On many languages I have
  18. >used that translate into C one gets C compiler error messages at times as
  19. >part of the language level error messages. YUK!
  20.  
  21. That's what I meant when I said to approach such "front ends" as full
  22. compilers.  To generate C code, a proper front end must understand
  23. everything being being fed to it and how the C compiler will deal
  24. with it.  Generated code must *never* have compile errors.
  25.  
  26. -- 
  27. Scott Amspoker
  28. Basis International, Albuquerque, NM
  29.  
  30. scott@bbx.basis.com
  31.  
  32. -- 
  33. Send compilers articles to compilers@iecc.cambridge.ma.us or
  34. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  35.