home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / scheme / 2032 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.2 KB

  1. Path: sparky!uunet!mitech!gjc
  2. From: gjc@mitech.com (George J. Carrette)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: random rant on random files
  5. Message-ID: <2393@mitech.com>
  6. Date: 14 Aug 92 17:53:28 GMT
  7. References: <9208130624.1.11214@cup.portal.com>
  8. Organization: Mitech Corporation, Concord MA
  9. Lines: 24
  10.  
  11. In article <9208130624.1.11214@cup.portal.com>, vanMeule@cup.portal.COM writes:
  12. > I feel a little upset at Scheme for lack of direct support in 
  13. > most Schemes for random files.  These are essential for ...
  14. > ... core image tiny enough to fit on
  15. > Apple IIe's with 64K of memory-- ...
  16. >  
  17. > Any comments that might help me towards my desire ...
  18.  
  19. Do you really want to program an Apple IIe? Maybe, just maybe, you could
  20. get SIOD to fit in that with enough space left over for something 
  21. interesting. 
  22.  
  23. But seriously, SIOD version 2.8 has fopen,fclose,getc,putc, and puts
  24. as lisp subrs that have semantics like the ones in C.
  25.  
  26. You should be able to add fread,fwrite,fseek, and ftell without
  27. too much effort.
  28.  
  29. Then, if you are going to be storing lisp objects in random files,
  30. you probably also want to be using FAST-PRINT and FAST-READ and
  31. not read/print or getc and putc, if what you want to do is
  32. database-like things.
  33.  
  34. -gjc
  35.