ingwarsw / tinyfugue

TinyFugue - Rebirth
Other
62 stars 34 forks source link

python enhancements #46

Closed warmstarter closed 3 years ago

warmstarter commented 3 years ago

Not sure if you're interested, but I made a few enhancements on the Python interpreter in my fork:

1) Python debugger is now something you can toggle on/off while running, rather than be a compile time option. In addition, it uses a more correct method for printing the errors. There's another potential enhancement of that debugger I haven't done yet involving further integrating it's print method, but I'm intending that fix later as general print statement enhancement.

https://github.com/warmstarter/tinyfugue/commit/23dbb6ef48ad38f1b0d5f8bc2b2564e2fd71d1d7

2) I added in support for Python 2.7 along with 3. While Python 2.7 is obsolete, the sample TF python scripts that came with the patch were written for 2. By having identical versions of TF other than the Python interpreter they use, along with an enhanced debugger, it will make porting/fixing those scripts easier, which will eventually allow for deprecation of 2.7 without losing features in the scripts.

ingwarsw commented 3 years ago

Closed by #48

Thanks @warmstarter