Shed Pores and skin – A (restricted) Python-to-C++ Compiler: Shed Pores and skin restricted-Python-to-C++ compiler 0.9.6
I just lately determined to take a seat down and at last port Shed Skin, an experimental restricted-Python-to-C++ compiler within the works since 2005 or so, to Python3. Three painful months and a complete diff of 50k strains later, all the pieces now works with Python3 (Shed Pores and skin itself, and all exams and examples..)
This doesn’t imply that each Python3 characteristic is supported, however what was there now no less than works high quality with Python3.. For instance, unicode continues to be restricted to 1-byte characters, and there’s no assist (but) for good new options corresponding to f-strings. Python2 assist has been dropped with the brand new launch, and subsequent releases ought to add assist for varied new Python3 options.
The next folks have contributed alongside the best way:
- Johan Kristensen (massive patch for transferring from compiler.ast to ast, nonetheless on Python2)
- Shakeeb Alireza (extension module assist for Python3, ported many examples, improved OSX assist, and varied code cleanups)
- Folkert van Heusden (some fixes on the C++ aspect, transfer to c++17)
- Jeremie Roquet, Thomas Spura, Paul Boddie and others who saved doing upkeep on the venture in my absence
I began work on the port after realizing that Shed Pores and skin was being faraway from distributions, particularly Debian, because it was nonetheless tied to Python2, and I actually need to preserve Shed Pores and skin in a working state if attainable.
So what about the way forward for the venture? Probably not positive, however I am completely satisfied to take a seat down once more in just a few months to arrange a brand new launch. Any feedback on what to assist or enhance can be very welcome!
For enjoyable, listed below are screenshots of a number of the Shed Pores and skin instance packages (in complete 75 working instance packages could be discovered on the github web site):