home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pop / 178 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.9 KB

  1. From: sfk@otter.hpl.hp.com (Steve Knight)
  2. Date: Fri, 1 Jan 1993 17:23:26 GMT
  3. Subject: Re: List and Vector Syntax (long)
  4. Message-ID: <116670041@otter.hpl.hp.com>
  5. Organization: Hewlett-Packard Laboratories, Bristol, UK.
  6. Path: sparky!uunet!usc!sdd.hp.com!col.hp.com!news.dtc.hp.com!hpscit.sc.hp.com!hplextra!otter.hpl.hp.com!otter!sfk
  7. Newsgroups: comp.lang.pop
  8. References: <116670035@otter.hpl.hp.com>
  9. Lines: 40
  10.  
  11. To answer a couple of specific points made about quotation in POP-11
  12. and Pepper, here's a short note.
  13.  
  14. In the context of the POP-11 syntax "'any chars'", Aaron Sloman writes:
  15. > I've just realised that this facility could be screwed up by the
  16. > suggestion from Steve Knight and Chris Dollin to allow multiple
  17. > quoted words by using
  18. >     "the cat on the mat"
  19. > to put five words on the stack.
  20.  
  21. Yes, this is an issue.  However, it is dealt with via the obligatory
  22. force-quotation mechanism '\'.  So where you would write
  23.     "'f(x)'"  in POP-11
  24. you write
  25.     "\'f(x)'" in Pepper
  26.  
  27. This is rather neater than the POP-11 syntax because it works in
  28. any context.  For example one has to write
  29.     [A funny atom % "'f(x)'" %] in POP-11
  30. to get the same effect as
  31.     "[A funny atom \'f(x)']"    in Pepper
  32.  
  33.  
  34. > Taking account of all requirements when designing a general purpose
  35. > language is HARD!
  36.  
  37. I couldn't agree more.  Illustrating this, the recent evolution of 
  38. POP-11 has left a number of awkward features.  One of the aims in 
  39. designing Pepper was to explore the possibility of a rational 
  40. reconstruction of some parts of POP-11.  In the case of quotation, 
  41. list and vector syntax I am satisfied that Pepper is a clean and 
  42. thorough solution.
  43.  
  44. And we certainly found designing the details of the solution exceedingly
  45. tricky!  POP-11 is one of the best designed languages in existence
  46. and even its weak points are hard to definitely improve on.  Although
  47. we had a strong vision of the core of the solution, designing a system
  48. that coped with all the corner cases was difficult.
  49.  
  50. Steve
  51.