home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.23 / text0059.txt < prev    next >
Encoding:
Text File  |  1991-06-15  |  1.8 KB  |  36 lines

  1. Submitted-by: arnold%audiofax.com@mathcs.emory.edu (Arnold Robbins)
  2.  
  3. In article <132258@uunet.UU.NET> andrew@alice.att.com (Andrew Hume) writes:
  4. >    Can someone help clear up my misconceptions?
  5. >I recently read someone complain about difficulties implementing
  6. >bc from the spec in 1003.2 and some quick reponse from the author
  7. >of that spec. What puzzled me is the underlying assumption that
  8. >you are supposed to be able to implement from the 1003.2 description.
  9. >Is this supposed to be true? (it obviously isn't for make, for example.)
  10. >I thought 1003.2 simply described stuff so you can use it, not implement it.
  11.  
  12. I'm not sure what the "official" goal of the standard is wrt being able
  13. to implement from it, but at least unofficially, this is something the
  14. working  and balloting groups are aiming at.  Lot of peoples, notably UCB
  15. and GNU, are using the standard as their spec for their implementations.
  16.  
  17. If one wishes to create a system that is both posix conforming and
  18. at&t-source-code-free, then a spec that can be implemented from is a
  19. necessity.
  20.  
  21. Of course, one could also argue that if the spec is good enough to implement
  22. from, then it is certainly good enough to describe how to use the utility.
  23. In some cases, like bc, awk, yacc, and lex, the spec for use is complicated
  24. enough anyway that it becomes a spec good enough for implementing by.
  25. (How do I know that    awk 'BEGIN { print "hi" } ; END { print "bye" }'
  26. is legal while        awk 'BEGIN { print "hi" }   END { print "bye" }'
  27. isn't?  Presenting a grammar for the language is almost a necessity...)
  28. -- 
  29. Arnold Robbins                 AudioFAX, Inc. | Threads are the
  30. 2000 Powers Ferry Road, Suite 200 / Marietta, GA. 30067 | lack of an idea.
  31. INTERNET: arnold@audiofax.com  Phone:   +1 404 618 4281 |     -- Rob Pike
  32. UUCP:      emory!audfax!arnold  Fax-box: +1 404 618 4581 |
  33.  
  34. Volume-Number: Volume 23, Number 63
  35.  
  36.