home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.scheme
- Path: sparky!uunet!decwrl!csus.edu!netcom.com!thinman
- From: thinman@netcom.com (Technically Sweet)
- Subject: Binary representation
- Message-ID: <vy#nk3h.thinman@netcom.com>
- Date: Thu, 20 Aug 92 17:59:20 GMT
- Organization: International Foundation for Internal Freedom
- 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>
- Lines: 28
-
- tmb@arolla.idiap.ch (Thomas M. Breuel) writes:
-
- >It is also trivial to build a store interface on top of binary
- >streams. One question is what the language should provide. I'd prefer
- >to see it provide binary streams, not stores, since I feel that binary
- >streams are more general.
-
- The ASN.1 for binary stream representation of trees gives
- most of what is needed. It's the inter-layer encoder (sort of)
- for the OSI suite, and thus has that meaningless aura of
- standards legitimacy which helps in promoting something
- new as a standard. "Look! It builds on previous standards!"
-
- ASN.1 represents trees according to a pre-specified tree grammar.
- A simple "reference leaf" would suffice to encode arbitrary di-graphs.
- I think all of the other basic types of Scheme are already
- supported directly; there's a compact encoding for small numbers.
-
- All in all, adopting an ASN.1 representation for Scheme gives
- a handy binary stream format for files, persistent Scheme systems,
- and network I/O.
-
-
- --
-
- Lance Norskog
-
- Data is not information is not knowledge is not wisdom.
-