Hello everyone,
I am developing a API to do some searches and transformations on FAST. To displaying the FAST AST, I created a tool using Roassal. You can download it by doing :
Gofer new smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring'; package: 'FAST-Displaying'; load.
You can use the tool on a method or a part of a method (ie a FASTEntity) by generating the FAST models (in a FAST image, right click on a moose model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the moose model like a forest (group of tree). For this displaying, I need the children of an entity and its parent. I found in the MooseModel the functions : children and belongsTo. Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like FAMIXPackage>>children that returning only children Packages and not children packages and classes. And in MooseEntity, there is a method "children" whose return is unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau
Awesome!
I’ll take a look doting a weekend.
Uko
On 06 Feb 2014, at 16:48, Vincent Blondeau vincent.blondeau@polytech-lille.net wrote:
Hello everyone,
I am developing a API to do some searches and transformations on FAST. To displaying the FAST AST, I created a tool using Roassal. You can download it by doing :
Gofer new smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring'; package: 'FAST-Displaying'; load.
You can use the tool on a method or a part of a method (ie a FASTEntity) by generating the FAST models (in a FAST image, right click on a moose model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the moose model like a forest (group of tree). For this displaying, I need the children of an entity and its parent. I found in the MooseModel the functions : children and belongsTo. Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like FAMIXPackage>>children that returning only children Packages and not children packages and classes. And in MooseEntity, there is a method "children" whose return is unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
vincent,
could you post an view too so that people don't have to load FAST and generate an AST to see what it is?
thank you
nicolas
On 02/06/2014 04:48 PM, Vincent Blondeau wrote:
Hello everyone,
I am developing a API to do some searches and transformations on FAST. To displaying the FAST AST, I created a tool using Roassal. You can download it by doing :
Gofer new smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring'; package: 'FAST-Displaying'; load.
You can use the tool on a method or a part of a method (ie a FASTEntity) by generating the FAST models (in a FAST image, right click on a moose model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the moose model like a forest (group of tree). For this displaying, I need the children of an entity and its parent. I found in the MooseModel the functions : children and belongsTo. Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like FAMIXPackage>>children that returning only children Packages and not children packages and classes. And in MooseEntity, there is a method "children" whose return is unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
That is the kind of view you can do with it :
What is a graphical representation of the AST of the code :
RBConfigurableFormatter class>>oneLineMessages: aString OneLineMessages := self compiler evaluate: aString
Le 06/02/2014 16:56, Nicolas Anquetil a écrit :
vincent,
could you post an view too so that people don't have to load FAST and generate an AST to see what it is?
thank you
nicolas
On 02/06/2014 04:48 PM, Vincent Blondeau wrote:
Hello everyone,
I am developing a API to do some searches and transformations on FAST. To displaying the FAST AST, I created a tool using Roassal. You can download it by doing :
Gofer new smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring'; package: 'FAST-Displaying'; load.
You can use the tool on a method or a part of a method (ie a FASTEntity) by generating the FAST models (in a FAST image, right click on a moose model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the moose model like a forest (group of tree). For this displaying, I need the children of an entity and its parent. I found in the MooseModel the functions : children and belongsTo. Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like FAMIXPackage>>children that returning only children Packages and not children packages and classes. And in MooseEntity, there is a method "children" whose return is unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Very nice. Now here comes what I was telling before about Roassal interaction API. When you are reverse engineering you probably want to hide some nodes, concentrate on a specific subtree, select duplicates and create a separate method out of them.
Uko
On 06 Feb 2014, at 17:14, Vincent Blondeau vincent.blondeau@polytech-lille.net wrote:
That is the kind of view you can do with it : <adfjacgb.png>
What is a graphical representation of the AST of the code :
RBConfigurableFormatter class>>oneLineMessages: aString OneLineMessages := self compiler evaluate: aString
Le 06/02/2014 16:56, Nicolas Anquetil a écrit :
vincent,
could you post an view too so that people don't have to load FAST and generate an AST to see what it is?
thank you
nicolas
On 02/06/2014 04:48 PM, Vincent Blondeau wrote:
Hello everyone,
I am developing a API to do some searches and transformations on FAST. To displaying the FAST AST, I created a tool using Roassal. You can download it by doing :
Gofer new smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring'; package: 'FAST-Displaying'; load.
You can use the tool on a method or a part of a method (ie a FASTEntity) by generating the FAST models (in a FAST image, right click on a moose model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the moose model like a forest (group of tree). For this displaying, I need the children of an entity and its parent. I found in the MooseModel the functions : children and belongsTo. Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like FAMIXPackage>>children that returning only children Packages and not children packages and classes. And in MooseEntity, there is a method "children" whose return is unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau _______________________________________________ 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
do you have a report where you show how you express the transformation?
On 06 Feb 2014, at 16:48, Vincent Blondeau vincent.blondeau@polytech-lille.net wrote:
Hello everyone,
I am developing a API to do some searches and transformations on FAST. To displaying the FAST AST, I created a tool using Roassal. You can download it by doing :
Gofer new smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring'; package: 'FAST-Displaying'; load.
You can use the tool on a method or a part of a method (ie a FASTEntity) by generating the FAST models (in a FAST image, right click on a moose model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the moose model like a forest (group of tree). For this displaying, I need the children of an entity and its parent. I found in the MooseModel the functions : children and belongsTo. Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like FAMIXPackage>>children that returning only children Packages and not children packages and classes. And in MooseEntity, there is a method "children" whose return is unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Le 24/02/2014 17:34, Stéphane Ducasse a écrit :
do you have a report where you show how you express the transformation?
I am writing documentation on the FAST-Transform framework. It will be available at the end of the week !
Also for my school, I have to do a report for this project. But it will be in French and explain only the why and the what for of the project. However it explains some theoretical things on transformations. Maybe you wish have that too ?
On 06 Feb 2014, at 16:48, Vincent Blondeau vincent.blondeau@polytech-lille.net wrote:
Hello everyone,
I am developing a API to do some searches and transformations on FAST. To displaying the FAST AST, I created a tool using Roassal. You can download it by doing :
Gofer new smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring'; package: 'FAST-Displaying'; load.
You can use the tool on a method or a part of a method (ie a FASTEntity) by generating the FAST models (in a FAST image, right click on a moose model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the moose model like a forest (group of tree). For this displaying, I need the children of an entity and its parent. I found in the MooseModel the functions : children and belongsTo. Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like FAMIXPackage>>children that returning only children Packages and not children packages and classes. And in MooseEntity, there is a method "children" whose return is unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau _______________________________________________ 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
Also for my school, I have to do a report for this project. But it will be in French and explain only the why and the what for of the project. However it explains some theoretical things on transformations. Maybe you wish have that too ?
Yes
Alexandre
Le 24/02/2014 17:57, Alexandre Bergel a écrit :
Also for my school, I have to do a report for this project. But it will be in French and explain only the why and the what for of the project. However it explains some theoretical things on transformations. Maybe you wish have that too ?
Yes
Alexandre
So it's will be in english.
Vincent