Then the
"good" news: today I finished a prototype implementation
of an
FM3 metarepository builder, which unlike the smalltalk version, builds
the repository in single pass, and doesn't use 10 different
dictionaries
for building it up. Actually, the builder itself hasn't got any
dictionary and fills up the model from scratch without doing
intermediate things itself. Actually; I guess that we can do a similar
single-pass MSE-reader for smalltalk (and maybe python too); which
shouldn't be too difficult if we use "become" to swap "most-specific
instances known up to a certain point" by "more specific instances".
For FM3 that isn't an issue since at all times we know the exact
type of
what should be were, even if it isn't read yet. The metarepository
builder is something special anyway :)
Can you explain what you are doing?
What is the metarepository builder?
I am implementing Fame including code generator and MSE-reader/writer
in Python, which is useful to afterwards be able to do some more
analysis on Python programs. However mostly to force myself to actually
rewrite most of the code from scratch, based on what was done for
Smalltalk. This has the advantage that I do not only read/copy, but
also improve the implementation. Afterwords I will go back to
Smalltalk, and move my python version to smalltalk, so it works with
FM3. This is a step in the way of moving towards the use of FAMIX3.0
in Moose.
The python-code is available @ scg svn
(
https://www.iam.unibe.ch/scg/svn_repos/Sources/Famix/Python)