home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / compiler / 2125 < prev    next >
Encoding:
Text File  |  1993-01-09  |  2.5 KB  |  62 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!think.com!spdcc!iecc!compilers-sender
  3. From: Trevor Jenkins <tfj@apusapus.demon.co.uk>
  4. Subject: Another Compiler book to add to the FAQ 
  5. Reply-To: Trevor Jenkins <tfj@apusapus.demon.co.uk>
  6. Organization: Compilers Central
  7. Date: Fri, 8 Jan 1993 20:45:21 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <93-01-052@comp.compilers>
  10. References: <93-01-044@comp.compilers>
  11. Keywords: books, interpreter, comment
  12. Sender: compilers-sender@iecc.cambridge.ma.us
  13. Lines: 47
  14.  
  15. [re Brown, P. J., Writing interactive compilers and interpreters]
  16.  
  17. This is one of the few books that addresses real implementation issues.
  18.  
  19. P J Brown has a good writing style, one of the best bits of the book is
  20. the "Deadly Sins". A list of aphorisms (much like those in "Elements of
  21. Programming Style" *) dedicated to the compiler (interpreter) writer.
  22.  
  23. There is one beautiful quote "There is a powerful psychological aid which
  24. can help both you and the users [of your compiler]. It is suggested by
  25. Rain (+) and consists of offering a free beer to the first user to find
  26. each bug in you compiler. ... If certain computer manufacturer made the
  27. same offer they would need to take over a brewery to satisfy the user
  28. demand." ($)
  29.  
  30. I am certain (0.45) that there was a paperback edition in print not long
  31. ago. Next time I'm in my local bookstore I'll have a look---assuming that
  32. I find it then I'll auction it for a copy of "The Design of an Optimizing
  33. Compiler" by Wulf et al.
  34.  
  35. Regards, Trevor.
  36.  
  37. *) Like Kernighan and Plauger Brown also recommend reading Strunk and
  38. White's "Elements of style" before writing the documentation.
  39.  
  40. +) Rain, M "Two unusual methods for debugging system software"
  41.    Software Pratice and Experience, vol 4 #1 61-63.
  42.    
  43. $) Microsoft I claim my free beer for the bug I found today in C/C++ v7.00.
  44.    Try compiling the following two files which are abstracted from some
  45.    real code:
  46.  
  47.    File a.h                        |   File b.h
  48.    
  49.    #include "b.h"                  |   #include "a.h"
  50.    // end of file                  |   // end of file
  51.  
  52. ---------------------------------------------------------------------------
  53. Trevor Jenkins
  54. 134 Frankland Rd, Croxley Green, Rickmansworth, WD3 3AU, England
  55. email: tfj@apusapus.demon.co.uk                               radio: G6AJG  
  56. phone: +44 (0)923 776436
  57. [As noted before, the book still seems to be available as an expensive
  58. paperback. -John]
  59. -- 
  60. Send compilers articles to compilers@iecc.cambridge.ma.us or
  61. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  62.