Serial port, unix calls, some thoughts

Tim Rowledge tim at sumeru.stanford.edu
Tue May 27 16:04:27 UTC 2003


In message <106339f94b.rowledge at goldskin.attbi.com>
          Tim Rowledge <tim at sumeru.stanford.edu> wrote:

> Bridges. That's the answer m'boy, _bridges_.
I should add that the nice thing about the bridge class is that it
doesn't have to talk directly to the plugin and indeed can talk to a
platform specifically named plugin or several plugins. Or none. Doing
this well could remove a bit of ugliness from C code.

The InterpreterPlugin tree can also cope easily with the idea of having
platform specific subclasses of any plugin and use of the
#shouldBeTranslated message will trivially decide which plugin to build.

Er, what else? Oh, yes, the bridge class should only keep _session_
related info since it will need to be recreated on image startup, which
might be on a different platform than the image was saved upon. The
generic interface class keeps all the peristent state.

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- One pie short of a holiday.



More information about the Squeak-dev mailing list