[Prev][Next][Index][Thread]
Re: Can one do the following in dylan?
-
To: info-dylan@ai.mit.edu
-
Subject: Re: Can one do the following in dylan?
-
From: Samuele Pedroni <pedroni@inf.ethz.ch>
-
Date: Wed, 28 Mar 2001 10:15:01 -0500 (EST)
-
Organization: Swiss Federal Institute of Technology (ETHZ)
-
References: <200103280134.UAA23154@life.ai.mit.edu>
-
Xref: traf.lcs.mit.edu comp.lang.dylan:13166
Thanks for all the answers.
If I have well understood in dylan one can do the following:
- define a framework as a (shared?) library with an 'open' base class and
related methods and an 'open'
generic factory function
- compile the main program against the framework and have it load further dlls
in some os
specfic manner (this works with Fun-O at least) and call the factory
function with the "right" param.
- indipendently write and compile the plug-ins/servlets/etc against the
framework and define
more specific versions of the factory function (e.g. dispactching on
singleton strings) and the needed
sub-classes
run the main program with an indication of which dlls should be loaded and with
wich parm the generic
factory function should be invoked.
PS: this will currently not work with Gwydion Dylan: correct?
Follow-Ups: