home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / compiler / 1263 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.3 KB

  1. Path: sparky!uunet!olivea!decwrl!decwrl!world!iecc!compilers-sender
  2. From: graham@maths.su.oz.au (Graham Matthews)
  3. Newsgroups: comp.compilers
  4. Subject: Re: Pros and cons of high-level intermediate languages
  5. Keywords: C, translator
  6. Message-ID: <92-07-084@comp.compilers>
  7. Date: 24 Jul 92 01:19:05 GMT
  8. References: <92-07-068@comp.compilers> <92-07-074@comp.compilers>
  9. Sender: compilers-sender@iecc.cambridge.ma.us
  10. Reply-To: graham@maths.su.oz.au (Graham Matthews)
  11. Organization: Sydney University Computing Service, Sydney, NSW, Australia
  12. Lines: 20
  13. Approved: compilers@iecc.cambridge.ma.us
  14.  
  15. (Olivier Ridoux) writes:
  16. >d) There is no first-class label data-type.  One can neither store and
  17. >read labels, nor goto stored labels.  
  18.  
  19. I think you will find that gcc 2.X allows you to have arrays of labels.
  20. Any gcc experts out there to confirm this?
  21.  
  22. As to high-level intermediate languages the biggest problem I see is
  23. making sure that the user gets meaningful errors. On many languages I have
  24. used that translate into C one gets C compiler error messages at times as
  25. part of the language level error messages. YUK!
  26.  
  27. graham
  28. --
  29. Graham Matthews
  30. Pure Math, Uni.Sydney, Oz
  31. graham@maths.su.oz.au
  32. -- 
  33. Send compilers articles to compilers@iecc.cambridge.ma.us or
  34. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  35.