Problems with checkout of Py2mse

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

Problems with checkout of Py2mse

Nelli Kaiser
Hi everyone,

I am a newbie here and for one of my projects I need Py2mse. I found the intruction how to checkout this parser (http://www.moosetechnology.org/tools/retired/py2mse) but I did not make it. Can anyone please tell me exactly how I can download it - I mean: which lines should I enter in my subversion client?

Your assistance would be greatly appreciated!!

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

Re: Problems with checkout of Py2mse

Tudor Girba-2
Hi Nelli,

Unfortunately, as you can see from the url, the project has been retired because it was not maintained anymore.

Furthermore, the code is available for VisualWorks and it is stored in the Store versioning system that is specific to VisualWorks. Thus, you cannot use Subversion for it.

But, perhaps you can tell us more about your context.

Cheers,
Doru


On 15 Aug 2011, at 04:57, Nelli Kaiser wrote:

> Hi everyone,
>
> I am a newbie here and for one of my projects I need Py2mse. I found the intruction how to checkout this parser (http://www.moosetechnology.org/tools/retired/py2mse) but I did not make it. Can anyone please tell me exactly how I can download it - I mean: which lines should I enter in my subversion client?
>
> Your assistance would be greatly appreciated!!
>
> Thanks,
> Nelli _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Live like you mean it."


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

Re: Problems with checkout of Py2mse

Nelli Kaiser
Hi Doru,

Thank you very much for your quick answer. The program I deal with is written in python and a need a reverse engineering or visualisation tool. I thought about softwarenaut where python can be imported via FAMIX that s contained in the Moose Suite. Therefore I was wondering whether I can use Py2mse. But I think I need a newer version of Python. Maybe you know another tool to manage it?

Thank again,
Nelli

 

2011/8/15 Tudor Girba <[hidden email]>
Hi Nelli,

Unfortunately, as you can see from the url, the project has been retired because it was not maintained anymore.

Furthermore, the code is available for VisualWorks and it is stored in the Store versioning system that is specific to VisualWorks. Thus, you cannot use Subversion for it.

But, perhaps you can tell us more about your context.

Cheers,
Doru


On 15 Aug 2011, at 04:57, Nelli Kaiser wrote:

> Hi everyone,
>
> I am a newbie here and for one of my projects I need Py2mse. I found the intruction how to checkout this parser (http://www.moosetechnology.org/tools/retired/py2mse) but I did not make it. Can anyone please tell me exactly how I can download it - I mean: which lines should I enter in my subversion client?
>
> Your assistance would be greatly appreciated!!
>
> Thanks,
> Nelli _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Live like you mean it."


_______________________________________________
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: Problems with checkout of Py2mse

Mircea Filip Lungu-2
Hi Nelli,

I had a quick look at the py2mse parser together with Fabrizio Perin from the
University of Bern.

First thing: in order to use the parser you have to load the PythonDevelopment
bundle from the Bern store. Once you do that you have to go to the class side
of the PythonCode class and find the method named py2mse. The body of that
method is a python script that exports the AST of the analyzed python file to
a mse format. Running the parser on its own code worked well, so theoretically
you can use it.

Then in VisualWorks you're supposed to import that model and convert it to
a FAMIX-like meta-model. This part seems to be broken at the moment
and unfortunately I am not sure who has time to work on this. It looks like
somebody needs to declare the classes for the python metamodel inside
VisualWorks. I am not sure that is the only problem though, so I can't estimate
the effort.

The alternatives are implementing a new parser using PetitParser (Fabrizio
swears it's easy to do) that would parse python code, or one converter from
the AST that is exported by py2mse to a FAMIX metamodel.

Hope this helps,

Cheers,
M.





On Mon, Aug 15, 2011 at 10:25 AM, Nelli Kaiser <[hidden email]> wrote:

> Hi Doru,
> Thank you very much for your quick answer. The program I deal with is
> written in python and a need a reverse engineering or visualisation tool. I
> thought about softwarenaut where python can be imported via FAMIX that s
> contained in the Moose Suite. Therefore I was wondering whether I can use
> Py2mse. But I think I need a newer version of Python. Maybe you know another
> tool to manage it?
> Thank again,
> Nelli
>
>
> 2011/8/15 Tudor Girba <[hidden email]>
>>
>> Hi Nelli,
>>
>> Unfortunately, as you can see from the url, the project has been retired
>> because it was not maintained anymore.
>>
>> Furthermore, the code is available for VisualWorks and it is stored in the
>> Store versioning system that is specific to VisualWorks. Thus, you cannot
>> use Subversion for it.
>>
>> But, perhaps you can tell us more about your context.
>>
>> Cheers,
>> Doru
>>
>>
>> On 15 Aug 2011, at 04:57, Nelli Kaiser wrote:
>>
>> > Hi everyone,
>> >
>> > I am a newbie here and for one of my projects I need Py2mse. I found the
>> > intruction how to checkout this parser
>> > (http://www.moosetechnology.org/tools/retired/py2mse) but I did not make it.
>> > Can anyone please tell me exactly how I can download it - I mean: which
>> > lines should I enter in my subversion client?
>> >
>> > Your assistance would be greatly appreciated!!
>> >
>> > Thanks,
>> > Nelli _______________________________________________
>> > Moose-dev mailing list
>> > [hidden email]
>> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>>
>> "Live like you mean it."
>>
>>
>> _______________________________________________
>> 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: Problems with checkout of Py2mse

Nelli Kaiser
Hi Mircea,

We think it is really to much effort since we do not have much time. Therefore we will try it without py2mse. But thanks a lot to all of you!! I greatly appreciate your assistance. 

Thanks,
Nelli 



2011/8/18 Mircea Filip Lungu <[hidden email]>
Hi Nelli,

I had a quick look at the py2mse parser together with Fabrizio Perin from the
University of Bern.

First thing: in order to use the parser you have to load the PythonDevelopment
bundle from the Bern store. Once you do that you have to go to the class side
of the PythonCode class and find the method named py2mse. The body of that
method is a python script that exports the AST of the analyzed python file to
a mse format. Running the parser on its own code worked well, so theoretically
you can use it.

Then in VisualWorks you're supposed to import that model and convert it to
a FAMIX-like meta-model. This part seems to be broken at the moment
and unfortunately I am not sure who has time to work on this. It looks like
somebody needs to declare the classes for the python metamodel inside
VisualWorks. I am not sure that is the only problem though, so I can't estimate
the effort.

The alternatives are implementing a new parser using PetitParser (Fabrizio
swears it's easy to do) that would parse python code, or one converter from
the AST that is exported by py2mse to a FAMIX metamodel.

Hope this helps,

Cheers,
M.





On Mon, Aug 15, 2011 at 10:25 AM, Nelli Kaiser <[hidden email]> wrote:
> Hi Doru,
> Thank you very much for your quick answer. The program I deal with is
> written in python and a need a reverse engineering or visualisation tool. I
> thought about softwarenaut where python can be imported via FAMIX that s
> contained in the Moose Suite. Therefore I was wondering whether I can use
> Py2mse. But I think I need a newer version of Python. Maybe you know another
> tool to manage it?
> Thank again,
> Nelli
>
>
> 2011/8/15 Tudor Girba <[hidden email]>
>>
>> Hi Nelli,
>>
>> Unfortunately, as you can see from the url, the project has been retired
>> because it was not maintained anymore.
>>
>> Furthermore, the code is available for VisualWorks and it is stored in the
>> Store versioning system that is specific to VisualWorks. Thus, you cannot
>> use Subversion for it.
>>
>> But, perhaps you can tell us more about your context.
>>
>> Cheers,
>> Doru
>>
>>
>> On 15 Aug 2011, at 04:57, Nelli Kaiser wrote:
>>
>> > Hi everyone,
>> >
>> > I am a newbie here and for one of my projects I need Py2mse. I found the
>> > intruction how to checkout this parser
>> > (http://www.moosetechnology.org/tools/retired/py2mse) but I did not make it.
>> > Can anyone please tell me exactly how I can download it - I mean: which
>> > lines should I enter in my subversion client?
>> >
>> > Your assistance would be greatly appreciated!!
>> >
>> > Thanks,
>> > Nelli _______________________________________________
>> > Moose-dev mailing list
>> > [hidden email]
>> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>>
>> "Live like you mean it."
>>
>>
>> _______________________________________________
>> 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


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