Hi Torben
You might have noticed PetitDelphi is a work in progress. PDProgramNode on: 'dprfile' root: 'directoryFromRoot' reads the project file. You can ask it for its units, they are then parsed when found. The unit has a unitinterface that has types etc. The number of different AST nodes is still limited. We are adding them, but not today. Today i'm at the Dutch presentation of XE3. Found some new changes to the parser to make... But first we need to finish the current one.
Stephan
Verstuurd vanaf mijn iPhone
Op 25 sep. 2012 om 14:08 heeft Torben Knerr ukio@gmx.de het volgende geschreven:
Hi everybody,
I'm currently trying to parse a Delphi project into an .mse model so that I can import it into Moose.
So far I have found "Petit Delphi": http://ss3.gemstone.com/ss/PetitDelphi.html/Overview I managed to add the Monticello Repository and I can now see the "PPDelphiAssemblyParser" and "PPDelpiLexicon" when I open the Tools -> PetitParser GUI.
But now I'm a bit stuck - how can I create an .mse file out of the Delphi files on my disk now? It seems now that I have the parser I don't know how to use it...
P.S.: the whole Smalltalk and Pharo environment is totally new to me, so please forgive the beginner questions :-)
Thank you very much and best regards, Torben _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev