home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / scheme / 2137 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.lang.scheme
  2. Path: sparky!uunet!think.com!ames!decwrl!csus.edu!netcom.com!thinman
  3. From: thinman@netcom.com (Technically Sweet)
  4. Subject: Re: wots going on here!?
  5. Message-ID: <t6jnlga.thinman@netcom.com>
  6. Date: Tue, 01 Sep 92 23:12:54 GMT
  7. Organization: International Foundation for Internal Freedom
  8. References: <17timvINN7b8@agate.berkeley.edu>     <17tn1uINNkij@early-bird.think.com>     <JINX.92Aug31170432@chamarti.ai.mit.edu>     <17ur1oINNem6@agate.berkeley.edu>     <JINX.92Sep1033012@chamarti.ai.mit.edu> <SOMMERFELD.92Sep1131757@gourmet.apollo.hp.com>
  9. Lines: 22
  10.  
  11. sommerfeld@apollo.hp.com (Bill Sommerfeld) writes:
  12. >"#[unspecified IF alternative at line xxx character yyy of source file zzz.scm]"
  13.  
  14. >or some other such reference back to the source code which would point
  15. >the beginner right at the bug.
  16.  
  17. >These could be generated *once* when reading in the source.
  18.  
  19. The old BSD Pascal interpreter/compiler used this convention:
  20.  
  21.     line xx of file yy: unknown whoziwhatsis:
  22.         a := b + c; d = 3;
  23.     ----------------------^
  24.  
  25. This is still the best error reporting I've seen.
  26. I used it on a recent interpreter project.
  27.  
  28. -- 
  29.  
  30. Lance Norskog
  31.  
  32. Data is not information is not knowledge is not wisdom.
  33.