home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0286.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  2.3 KB  |  56 lines

  1. I recently installed opus 38.91 on our VAX780 under 4.2BSD. The
  2. installation went smoothly. The files used for the installation appear
  3. to be the most recent available from ucbkim. This includes the flavors
  4. stuff with appropriate modifications (for example, fixing hash.l to use
  5. "vsize" instead of "getlength" on a vector). The flavors stuff I scarfed
  6. TODAY was dated October 2nd I believe. Anyway, I tried out some things
  7. with flavors and, in particular, with "describe"...with the
  8. following result (done with "script"):
  9. =============================================================================
  10. % lisp
  11. Franz Lisp, Opus 38.91
  12. -> (defflavor ob () () :settable-instance-variables)
  13. [autoload /usr/lib/lisp/flavors]
  14. [fasl /usr/lib/lisp/flavors.o]
  15. [fasl /usr/lib/lisp/machacks.o]
  16. [fasl /usr/lib/lisp/lmhacks.o]
  17. [fasl /usr/lib/lisp/flavorm.o]
  18. [fasl /usr/lib/lisp/vanilla.o]
  19. ob
  20. -> (describe 'ob)
  21. [autoload /usr/lib/lisp/describe]
  22. [fasl /usr/lib/lisp/describe.o]
  23.  
  24. ob has property flavor: flavor[17]
  25. Error: Undefined function called from compiled code  defstruct-description-name
  26. <1>: (exit)
  27. =============================================================================
  28. [Well, "defstruct-description-name" is used all over the
  29. "/usr/lib/lisp/struct.l" set of functions...apparently mostly with no
  30. arguments...which, I think, is wrong. One fix made by SMH to "describe.l" 
  31. replaced a call on this macro with one with an argument. But that's NOT this
  32. problem anyway.]
  33.  
  34. (1) Is there a known fix to get the "describe", or anything else that
  35.      uses the "defstruct-description-name" macro, working correctly?
  36.  
  37. (2) Could it be that some sort of extended "defflavor" would load in an
  38.      appropriate file which on-the-fly defines this macro? That is,
  39.      did I do TOO simple a "defflavor"? [For example, doing:
  40.  
  41.         (load '/usr/pub/lisp/struct.l)
  42.  
  43.      allows one to "(pp defstruct-description-name)" showing that
  44.      it requires an argument...without the "load" it is undefined.]
  45.  
  46. (3) Could the copy of the ftpable (???) opus38.91 files we have be out
  47.      of date (seem to be from around June 84)?
  48.  
  49. Any help would be much appreciated. We are attempting to develop
  50. some stuff for use on both an LMI Lisp Machine and the VAX. This has
  51. thrown the proverbial wrench into the work(s)...
  52.  
  53. Russ <Smith@nrl-aic>
  54. Navy Center for Applied Research in Artificial Intelligence (whew!)
  55.  
  56.