I tried to implement something: The idea was to access directly the famixRepository
generated by verveine, instead of exporting it to mse and then re-import it in pharo.
Is that the good idea ?
But doing that seems to be very slow (But I suspect my image/machine to be very slow
a this moment. Should be better with a cog vm. For example, Access any parameter of
a FamixEntity (a Java object), took more than one second. So I guess it was faster
to export the mse and then re-import it).
Another idea would be to 're-implement' verveine in smalltalk and access the AST using
You can have a look at it by just loading:
It should work in a 1.1 image, but if not , maybe try a second time :) (I don't know
why but sometimes it loads well, sometimes not).
Then there will be an example in the class side of ImportFromVerveineExample (you have
to set your own path to the verveines librairies). Open a transcript, and the example
should display all the entities of the famixRepository.
you should now use that:
The initialization part still has to be fixed, sometimes it works, sometimes not.