home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / scheme / 2062 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.lang.scheme
  2. Path: sparky!uunet!decwrl!csus.edu!netcom.com!thinman
  3. From: thinman@netcom.com (Technically Sweet)
  4. Subject: Binary representation
  5. Message-ID: <vy#nk3h.thinman@netcom.com>
  6. Date: Thu, 20 Aug 92 17:59:20 GMT
  7. Organization: International Foundation for Internal Freedom
  8. References: <9208130624.1.11214@cup.portal.com> <700@data.rain.com>     <TMB.92Aug18171257@arolla.idiap.ch> <704@data.rain.com> <TMB.92Aug20181314@arolla.idiap.ch>
  9. Lines: 28
  10.  
  11. tmb@arolla.idiap.ch (Thomas M. Breuel) writes:
  12.  
  13. >It is also trivial to build a store interface on top of binary
  14. >streams. One question is what the language should provide. I'd prefer
  15. >to see it provide binary streams, not stores, since I feel that binary
  16. >streams are more general.
  17.  
  18. The ASN.1 for binary stream representation of trees gives
  19. most of what is needed.  It's the inter-layer encoder (sort of)
  20. for the OSI suite, and thus has that meaningless aura of 
  21. standards legitimacy which helps in promoting something
  22. new as a standard.  "Look!  It builds on previous standards!"
  23.  
  24. ASN.1 represents trees according to a pre-specified tree grammar.
  25. A simple "reference leaf" would suffice to encode arbitrary di-graphs.
  26. I think all of the other basic types of Scheme are already
  27. supported directly; there's a compact encoding for small numbers.
  28.  
  29. All in all, adopting an ASN.1 representation for Scheme gives
  30. a handy binary stream format for files, persistent Scheme systems,
  31. and network I/O.
  32.  
  33.  
  34. -- 
  35.  
  36. Lance Norskog
  37.  
  38. Data is not information is not knowledge is not wisdom.
  39.