[ANN] FAST Graphic Displayer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] FAST Graphic Displayer

Vincent Blondeau
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

Uko2
Awesome!

I’ll take a look doting a weekend.

Uko

On 06 Feb 2014, at 16:48, Vincent Blondeau <[hidden email]> 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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

Nicolas Anquetil
In reply to this post by Vincent Blondeau

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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
Nicolas Anquetil -- RMod research team (Inria)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

Vincent Blondeau

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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

Uko2
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 <[hidden email]> 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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

Stéphane Ducasse
In reply to this post by Vincent Blondeau
do you have a report where you show how you express the transformation?

On 06 Feb 2014, at 16:48, Vincent Blondeau <[hidden email]> 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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

Vincent Blondeau
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 <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

abergel
> 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

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] FAST Graphic Displayer

Vincent Blondeau
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
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev