[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] its time for a User library
On Feb 28, 2006, at 11:31 AM, Julian Rohrhuber wrote:
Is there a way to implement some kind of #include for libraries in sc?
a class in a library could check for the existence of other dependent
libraries during its *initClass
We should take a look at how Gem for Ruby does this. I haven't dug
deep, but its always been quite smooth.
Really you only need to check for the existence of some expected
class and complain if its not there.
classname.require("This lib requires this other lib.");
the user would then include the other one that is needed.
mostly I would want to see the whole list and quickly turn on and off
various class libs.