There is a prelimary one I did some years ago to extract limited
information out of MC loaded code.
MSEExporter on SqueakSource.
Stef
On May 6, 2009, at 8:23 PM, Alexandre Bergel wrote:
> Dear All,
>
> Is there a Smalltalk -> MSE translator? Probably not since there is an
> importer. I am just wondering.
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Hi,
I marked the MooseDevelopment 3.2.149.soulintegration as broken
because it has unloadable definitions.
With this occasion I looked at the code and I could not really
understand the changes. Especially adding a "version" instance
variable in FAMIXModelRoot does not sound right.
If this is something needed by SOUL, then you want to use the built-in
attribute dictionary:
self __state__ attributeGet: #YOUR_VAR default: VALUE
self __state__ attributeSet: #YOUR_VAR value: VALUE
Also, the code added in the constructor of EntityVersion makes
reference to an inexistent method (perhaps a SOUL method?):
aVersionEntity shouldStoreVersion ifTrue:[ aVersionEntity version:
version ].
Cheers,
Doru
--
www.tudorgirba.com
"Every now and then stop and ask yourself if the war you're fighting
is the right one."
Dear,
I tried to use SmallDude duplication code and it appeared that belongsTo
(on FAMIXMethod) did not return the correct class if the method is a
class method.
Since I do not know where belongsTo is set, I can't check why it do not
work.
The workaround I did is on FAMIXMethod>>sourceText:
sourceText
self mooseModel isJava ifTrue: [^''].
self mooseModel isSmalltalk ifTrue: [^(
((self hasClassScope)
ifTrue: [(MSEUtilities smalltalkClassFromFamixClassName: self
belongsTo mooseName) class]
ifFalse: [(MSEUtilities smalltalkClassFromFamixClassName: self
belongsTo mooseName)]
)
sourceCodeAt: self name) asString].
self mooseModel isPython ifTrue:[
^self pythonASTNode sourceText
].
^''
It looks ugly but seems to work. I'm not sure it is correct and if
SmallDude will return correct results.
Antoine C.
--
Antoine Cailliau
www.ac-graphic.net
Hi
on the squeak version could we move the creation of default sample
models from the MooseModel newWithDefault and root
to a menu item in a browser?
Stef
Hi
I fixed the importer so that it does not bark when a class is not
defined in a package.
Now I will check that we can load the complete pharo inside moose.
Stef