http://shed-skin.blogspot.com/2023/12/shed-skin-restricted-python-to-c.html Shed Skin - A (restricted) Python-to-C++ Compiler blog Wednesday, December 27, 2023 Shed Skin restricted-Python-to-C++ compiler 0.9.6 I recently decided to sit down and finally port Shed Skin, an experimental restricted-Python-to-C++ compiler in the works since 2005 or so, to Python3. Three painful months and a total diff of 50k lines later, everything now works with Python3 (Shed Skin itself, and all tests and examples..) This does not mean that every Python3 feature is supported, but what was there now at least works fine with Python3.. For example, unicode is still restricted to 1-byte characters, and there is no support (yet) for nice new features such as f-strings. Python2 support has been dropped with the new release, and subsequent releases should add support for various new Python3 features. The following people have contributed along the way: * Johan Kristensen (large patch for moving from compiler.ast to ast, still on Python2) * Shakeeb Alireza (extension module support for Python3, ported many examples, improved OSX support, and various code cleanups) * Folkert van Heusden (some fixes on the C++ side, move to c++17) * Jeremie Roquet, Thomas Spura, Paul Boddie and others who kept doing maintenance on the project in my absence I started work on the port after realizing that Shed Skin was being removed from distributions, especially Debian, as it was still tied to Python2, and I really want to keep Shed Skin in a working state if possible. So what about the future of the project? Not really sure, but I'm happy to sit down again in a few months to prepare a new release. Any feedback on what to support or improve would be very welcome! For fun, here are screenshots of some of the Shed Skin example programs (in total 75 working example programs can be found on the github site): [harm3] [harm4] [harm2] [harm1] Posted by srepmub at 12:37 AM # Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest No comments: Post a Comment Older Post Home Subscribe to: Post Comments (Atom) Blog Archive * V 2023 (1) + V December (1) o Shed Skin restricted-Python-to-C++ compiler 0.9.6 * > 2013 (2) + > June (1) + > January (1) * > 2012 (2) + > May (1) + > January (1) * > 2011 (3) + > September (1) + > June (1) + > February (1) * > 2010 (6) + > December (1) + > October (1) + > August (1) + > May (1) + > March (1) + > January (1) * > 2009 (7) + > November (1) + > August (1) + > July (2) + > April (1) + > March (1) + > January (1) * > 2008 (7) + > December (2) + > November (1) + > September (1) + > June (1) + > February (1) + > January (1) * > 2007 (11) + > November (1) + > October (2) + > August (1) + > June (1) + > March (1) + > February (1) + > January (4) * > 2006 (12) + > December (2) + > August (1) + > July (3) + > June (1) + > May (2) + > April (1) + > January (2) * > 2005 (29) + > December (2) + > November (2) + > October (1) + > September (3) + > August (3) + > July (17) + > June (1) About Me My photo srepmub View my complete profile Simple theme. Powered by Blogger.