Importers for Java, C++, Python and Smalltalk.
How to run the Python and C++ importer? Which tools are doing this anyway? The only thing I now is that Martin once write some python scripts, but I do not remember where they are and how to run them.
Java import refers to iPlasma, currently, I guess.
AA
Java import refers to iPlasma, currently, I guess.
I am currently working on a Java importer. I hope to have something runnable in few days.
Alexandre
This was a text copied from the other site. I never saw the Python importer actually working, but I supposed that if someone added it there, it is actually happening :).
iPlasma supports both Java and C/C++. Java is also supported by the new j2mse of Sandro and by j2moose.
Doru
On Nov 23, 2007, at 12:16 AM, Bergel, Alexandre wrote:
Java import refers to iPlasma, currently, I guess.
I am currently working on a Java importer. I hope to have something runnable in few days.
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"It's not how it is, it is how we see it."
Cool!
Is the tool publicly available? If yes, where could we get it from?
Doru
On Nov 23, 2007, at 8:48 AM, Martin v. Löwis wrote:
How to run the Python and C++ importer?
The Python importer is written in Python. It's a script called py2mse; it should be checked in as a "string method" in a class somewhere. It requires Python 2.5, and you run it as "py2mse <source files>".
Regards, Martin _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"Yesterday is a fact. Tomorrow is a possibility. Today is a challenge."
Is the tool publicly available? If yes, where could we get it from?
As I said: the source is stored in a string of some class method. That class method has been checked into the SCG store. I can't check right now what class an method, but if you check out the Python package for Moose, you should find it quickly.
Regards, Martin
@Doru
PythonDevelopment contains: PythonCode class >> #py2mse
AA
On 23 Nov 2007, at 19:13 , Martin v. Löwis wrote:
Is the tool publicly available? If yes, where could we get it from?
As I said: the source is stored in a string of some class method. That class method has been checked into the SCG store. I can't check right now what class an method, but if you check out the Python package for Moose, you should find it quickly.
Regards, Martin _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Excellent. We should do a page about it :)
Doru
On Nov 23, 2007, at 7:19 PM, Adrian Kuhn wrote:
@Doru
PythonDevelopment contains: PythonCode class >> #py2mse
AA
On 23 Nov 2007, at 19:13 , Martin v. Löwis wrote:
Is the tool publicly available? If yes, where could we get it from?
As I said: the source is stored in a string of some class method. That class method has been checked into the SCG store. I can't check right now what class an method, but if you check out the Python package for Moose, you should find it quickly.
Regards, Martin _______________________________________________ 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
-- www.tudorgirba.com www.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."
Does this mean, I claim the token to so do?
AA
On 23 Nov 2007, at 20:03 , Tudor Girba wrote:
Excellent. We should do a page about it :)
Doru
On Nov 23, 2007, at 7:19 PM, Adrian Kuhn wrote:
@Doru
PythonDevelopment contains: PythonCode class >> #py2mse
AA
On 23 Nov 2007, at 19:13 , Martin v. Löwis wrote:
Is the tool publicly available? If yes, where could we get it from?
As I said: the source is stored in a string of some class method. That class method has been checked into the SCG store. I can't check right now what class an method, but if you check out the Python package for Moose, you should find it quickly.
Regards, Martin _______________________________________________ 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
-- www.tudorgirba.com www.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Oops, should read
Does this mean, you claim the token to so do?
:) AA
On 23 Nov 2007, at 20:07 , Adrian Kuhn wrote:
Does this mean, I claim the token to so do?
AA
On 23 Nov 2007, at 20:03 , Tudor Girba wrote:
Excellent. We should do a page about it :)
Doru
On Nov 23, 2007, at 7:19 PM, Adrian Kuhn wrote:
@Doru
PythonDevelopment contains: PythonCode class >> #py2mse
AA
On 23 Nov 2007, at 19:13 , Martin v. Löwis wrote:
Is the tool publicly available? If yes, where could we get it from?
As I said: the source is stored in a string of some class method. That class method has been checked into the SCG store. I can't check right now what class an method, but if you check out the Python package for Moose, you should find it quickly.
Regards, Martin _______________________________________________ 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
-- www.tudorgirba.com www.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."
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
Hi,
I added a page with a tentative description of Py2mse.
Cheers, Doru
On Nov 23, 2007, at 8:15 PM, Adrian Kuhn wrote:
Oops, should read
Does this mean, you claim the token to so do?
:) AA
On 23 Nov 2007, at 20:07 , Adrian Kuhn wrote:
Does this mean, I claim the token to so do?
AA
On 23 Nov 2007, at 20:03 , Tudor Girba wrote:
Excellent. We should do a page about it :)
Doru
On Nov 23, 2007, at 7:19 PM, Adrian Kuhn wrote:
@Doru
PythonDevelopment contains: PythonCode class >> #py2mse
AA
On 23 Nov 2007, at 19:13 , Martin v. Löwis wrote:
Is the tool publicly available? If yes, where could we get it from?
As I said: the source is stored in a string of some class method. That class method has been checked into the SCG store. I can't check right now what class an method, but if you check out the Python package for Moose, you should find it quickly.
Regards, Martin _______________________________________________ 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
-- www.tudorgirba.com www.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."
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
-- www.tudorgirba.com www.tudorgirba.com/blog
"Sometimes the best solution is not the best solution."
The page can be found at: http://moose.unibe.ch/tools/py2mse
:)
Doru
On Dec 12, 2007, at 5:19 PM, Tudor Girba wrote:
Hi,
I added a page with a tentative description of Py2mse.
Cheers, Doru
On Nov 23, 2007, at 8:15 PM, Adrian Kuhn wrote:
Oops, should read
Does this mean, you claim the token to so do?
:) AA
On 23 Nov 2007, at 20:07 , Adrian Kuhn wrote:
Does this mean, I claim the token to so do?
AA
On 23 Nov 2007, at 20:03 , Tudor Girba wrote:
Excellent. We should do a page about it :)
Doru
On Nov 23, 2007, at 7:19 PM, Adrian Kuhn wrote:
@Doru
PythonDevelopment contains: PythonCode class >> #py2mse
AA
On 23 Nov 2007, at 19:13 , Martin v. Löwis wrote:
> Is the tool publicly available? If yes, where could we get it > from?
As I said: the source is stored in a string of some class method. That class method has been checked into the SCG store. I can't check right now what class an method, but if you check out the Python package for Moose, you should find it quickly.
Regards, Martin _______________________________________________ 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
-- www.tudorgirba.com www.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."
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
-- www.tudorgirba.com www.tudorgirba.com/blog
"Sometimes the best solution is not the best solution."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"What we can governs what we wish."
Thank you, Martin! Should have asked you first anyway :)
Found it now, it is in #py2mse on the class side of PythonCode class
NB Toon is currently working on a port of Fame for Python, which would allow us to compare the model obtained from source code with the program structure obtained from importing the python modules. I expect for PyPy or our Squeak VM for example to find quit some difference there.
See https://www.iam.unibe.ch/scg/svn_repos/Sources/Famix/Python/
Q@Martin - do you model decorators also? cheers, AA
On 23 Nov 2007, at 8:48 , Martin v. Löwis wrote:
How to run the Python and C++ importer?
The Python importer is written in Python. It's a script called py2mse; it should be checked in as a "string method" in a class somewhere. It requires Python 2.5, and you run it as "py2mse <source files>".
Regards, Martin _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev