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
Hi Torben,
The Petit Delphi is a young project that is not advanced enough for what you want.
Right now, the project is just at the parser stage. Later, there will come the production of the AST and then the translation into the high level FAMIX model. Only afterwards will have the possibility of having your serialized MSE model.
Cheers, Doru
On Tue, Sep 25, 2012 at 2:08 PM, Torben Knerr ukio@gmx.de wrote:
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
typically, from the parser you will have to create the AST
I don't know petitDelphi, but I assume it shouldn't be too much work if it does not exist already.
And then, from the AST, you will have to visit it to create the corresponding FamixEntities.
So you seem to still have some work in front of you. But typically, creating the parser is the hardest thing, so you can also say you are more than half way there :-)
nicolas
On 25/09/12 14:08, Torben Knerr wrote:
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
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
Hi Stephan, Doru,
thanks for the explanation and the quick replies!
Btw: would you recommend any other tools for visualizing Delphi programs (especially dependencies)?
Thanks a lot and best regards, Torben
On Tue, Sep 25, 2012 at 2:35 PM, Stephan Eggermont stephan@stack.nl wrote:
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
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
There is a sonar plugin for Delphi. For quick & dirty dependencies, just read each unit from uses to ; in both interface and implementation, and generate a graphviz file
Stephan
Verstuurd vanaf mijn iPhone
Op 25 sep. 2012 om 14:46 heeft Torben Knerr ukio@gmx.de het volgende geschreven:
Hi Stephan, Doru,
thanks for the explanation and the quick replies!
Btw: would you recommend any other tools for visualizing Delphi programs (especially dependencies)?
Thanks a lot and best regards, Torben
On Tue, Sep 25, 2012 at 2:35 PM, Stephan Eggermont stephan@stack.nl wrote:
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
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Cool, didn't know about that.
Thanks Stephan!
Cheers, Torben
On Tue, Sep 25, 2012 at 3:13 PM, Stephan Eggermont stephan@stack.nl wrote:
There is a sonar plugin for Delphi. For quick & dirty dependencies, just read each unit from uses to ; in both interface and implementation, and generate a graphviz file
Stephan
Verstuurd vanaf mijn iPhone
Op 25 sep. 2012 om 14:46 heeft Torben Knerr ukio@gmx.de het volgende geschreven:
Hi Stephan, Doru,
thanks for the explanation and the quick replies!
Btw: would you recommend any other tools for visualizing Delphi programs (especially dependencies)?
Thanks a lot and best regards, Torben
On Tue, Sep 25, 2012 at 2:35 PM, Stephan Eggermont stephan@stack.nl wrote:
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
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev