Sunday, June 16, 2013

Shed Skin 0.9.4

I have just released Shed Skin 0.9.4, a (restricted-)Python-(2.x)-to-C++ compiler. The full release notes can be found here, as usual.

Major thanks go to Ernesto Ferro, who has been making many large refactorings in the code to improve maintainability. He also found a nice new example, called Gh0stenstein (see picture below). Paul Haeberli has also triggered several very useful improvements.

Besides refactoring, most changes are minor fixes or improved tests. But there are quite a few of them. There are also 3 new examples, meaning there are now 75 examples in total, which I think is a milestone in itself.


stuaxo said...

I'm always interested in the progress of this project.

Do you support cffi yet?

I could imagine it not being too much work + in the end allowing tight integration with cffi based libs (such as cairocffi).

srepmub said...

thanks for asking!

unfortunately shedskin doesn't support cffi at the moment. I'm not so sure it wouldn't be much work though.. ;-)

T said...

Does your product allow people who wish to work with Arduino's...that is to write a program for Arduino in Python on a computer or a Raspberry pi. Could then your Shed Skin compiler would then have the program that was written in Python then run the program in C++ so that the Arduino would follow the programs instructions to the the letter.

srepmub said...

theoretically, yes, but I don't think at this point the standard C++ libraries are supported on Arduino, let alone the Boehm garbage collector..

Thomas said...

Currently it is 2018 and there is no newer releases for shedskin, @srepmub, have you stopped maintaining shedskin? Its such a wonderful project.

I am working on a project, to write a compiler, transpiler(to c) and interpreter for a programming language which is very similar to python. The interpreter is currently under development by some professional developers. However, I am using shedskin for writing the compiler and transpiler. Can I use it for commercial purposes in future? also please specify what you are using to parse python code. Thanks

srepmub said...


yeah, I basically haven't worked on it for several years now, and would need a rather large motivation to start working on it again.

you can use the source code of course, but keep in mind that it's licensed under the GPL for the most part, so you will probably have to open source much of your own code as well once you start distributing your work.

I just used this for parsing: no idea if/how that works with python3. thanks!