[ENH] VMMaker overwrite files and unix success (with a few problems) (was: v2 first release now available)

Rob Withers rwithers12 at mediaone.net
Tue Sep 25 05:55:47 UTC 2001


Tim,

Here are both changesets that I have been working on.  This one includes
menus for all three plugin lists.   It's a bit tricky to generate just one
plugin, especially if it is internal and you haven't generated yet.  (no
exports check)


----- Original Message -----
From: "Tim Rowledge" <tim at sumeru.stanford.edu>

> Consider what is in the files; there is often more than just the list od
> interfaces. I suppose it should be reasonable to generate _part_ of the
> files, the interface listings, but at some point you have to stop being
> clever and make a usable tool! We _could_ have all sorts of clever

Of course it breaks down in the header.  Example is SocketPlugin, which
requires a SQSocket structure, and that is just a simple example.   Very
well, this isn't likely change.

> >   You are scanning the platforms/<os>/plugins to build the
> > availablePlugins list.  I would like to recommend that we also scan the
> > <src> directory (both plugins and vm) *and* the sqNamedPrims.h, to build
a
> > generated configuration list.
> Can't see how that would help; the sqNamedPrims is generated from the
> external plugins list at 'generate' time, and the src tree is 'write

I believe you meant the internal list.   Are you trying to confuse me,
Tim?!?

> only' sort-of.

(ahh!  so that's your answer! :-)

> [lots of clever stuff snipped]
> ...but I think it takes so little time to regenerate on a reasonable
> machine that it simply isn't worth the effort to do all this interlock
> stuff.

I would point to the generateSingleInternal, which isn't going to work
unless we know the exports by plugin.  Perhaps this could go into the config
file?  And generateSingleExternal isn't going to work unless we rip out any
files from the vm directory.  As you say, we can just regenerate the whole
thing.

How hard would it be, organizationally, to move the internal plugin files to
their own plugin subdirectories in the vm directory?

Rob

> tim
> --
> Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
> Strange OpCodes: WBT: Water Binary Tree
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VMMaker-overwrite-files.5.cs.gz
Type: application/x-stuffit
Size: 2587 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010925/f9dba7d5/VMMaker-overwrite-files.5.cs.sit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VMMaker-mods.10.cs.gz
Type: application/x-stuffit
Size: 3351 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010925/f9dba7d5/VMMaker-mods.10.cs.sit


More information about the Squeak-dev mailing list