<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to blog</title><link>https://sourceforge.net/p/the-pythonizer/blog/</link><description>Recent posts to blog</description><atom:link href="https://sourceforge.net/p/the-pythonizer/blog/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 30 May 2022 13:17:49 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/the-pythonizer/blog/feed.rss" rel="self" type="application/rss+xml"/><item><title>Project Files for the Pythonizer project</title><link>https://sourceforge.net/p/the-pythonizer/blog/2022/05/project-files-for-the-pythonizer-project/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have just added Pythonizing1_0ProjectFiles.zip and Pythonizing1_1ProjectFiles.zip.  These are dumps of source code, test files, syntax rules and my learning journal for each version of the project.  If you want to find out why I wrote the Pythonizer in the first place and my trials and tribulations in developing it, this is the place to look.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Bosworth</dc:creator><pubDate>Mon, 30 May 2022 13:17:49 -0000</pubDate><guid>https://sourceforge.net5113b701e28c8793edcd33c497befce5760110cd</guid></item><item><title>New: version 1.1 of the Pythonizer</title><link>https://sourceforge.net/p/the-pythonizer/blog/2022/05/new-version-11-of-the-pythonizer/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The new version of the Pythonizer has a few enhancements:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Recognition of non-static methods in the Java source and conversion to Python methods.  This was a grave omission in the original Pythonizer, but to tell the truth, it's been a long time since I wrote a method in Java.  I now tend to write procedurally, so the legacy code for which the Pythonizer was designed only contained static procedures.  This omission has now been corrected: all non-static procedures are given an extra "self" parameter, and Java "this" is translated to Python "self".&lt;/li&gt;
&lt;li&gt;The treatment of non-public names has been improved.  These now all get an initial underscore, as per PEP8.  Because the Pythonizer allocates attributes to names irrespective of their position in the source file, this may result in a public name that duplicates a non-public name being underscored.  Well, tough luck!  A little editing on the Java source will fix this.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In general, no guarantee is given that the translated code will be valid Python or will run correctly.  But my experience has been that small changes to the Java source or the resulting Python source will sort any problems.  It's much quicker than hand translation, that's for sure!&lt;/p&gt;
&lt;p&gt;If you think there are still serious errors in the Pythonizer, please contact me by email on:&lt;/p&gt;
&lt;p&gt;talkguibits@gmail.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Bosworth</dc:creator><pubDate>Mon, 30 May 2022 11:40:08 -0000</pubDate><guid>https://sourceforge.nete5c5247d9da2c6cea84450bb8a8ab8e19ef4da6b</guid></item></channel></rss>