🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.lisp.x
Article #162

autoload

#162
From: Jeff Prothero
Date: Mon, 19 Nov 1990 22:54
14 lines
1176 bytes
I'd kind of like to have xlisp load in class definitions as needed,
so I can have a large class library available without bogging down
by loading *all* of them at startup.  Looks simple to intercept
a (send xxx :new) and load file xxx.lsp from a directory specified
in, say, the environment variable XLISP-PATH.

Has anyone done this already?  I don't offhand see anything in CLtL:1
or CLOS about this.  PROVIDE and REQUIRE don't seem directly
relevant... Is there a standard syntax for making environment strings
available in lisp?
--
     jsp@glia.biostr.washington.edu (Jeff Prothero)
     jsp@u.washington.edu (If above bounces.)
     Biological Structure Graphics Lab, U Washington
Technical Details
Message-ID: <JSP.90Nov19145438@glia.biostr.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!dali.cs.montana.edu!milton!milton.u.washington.edu!jsp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!dali.cs.montana.edu!milton!milton.u.washington.edu!jsp
From: jsp@glia.biostr.washington.edu (Jeff Prothero)
Newsgroups: comp.lang.lisp.x
Subject: autoload
Message-ID: <JSP.90Nov19145438@glia.biostr.washington.edu>
Date: 19 Nov 90 22:54:38 GMT
Sender: news@milton.u.washington.edu
Distribution: comp
Organization: Biological Structure, U of Wash, Seattle
Lines: 14