Hi,
You can start with this script to create the model that should run on some of the recent versions of Pharo and then adapt to your own needs.
|importer model1 |
importer := MoosePharoImporterTask new.
importer importingContext: (MooseImportingContext new
importClass; importMethod; importAccess; importInvocation; importInheritance; mergeClassAndMetaclass; yourself).
importer candidateClass: CandidateListOperator.
importer importerClass: SmalltalkImporter.
importer model: MooseModel new; addFromPackagesNamed: #(#'XML-Writer-Tests'); run.
model1 := importer model.
model1 name: 'a moose model'.
usman