Re: Python Library for Prothon (was: stackless implementation)
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <003601c469c8$2d67a780$da01a8c0@walker> |
From: "Christian Tismer" > ... > >>Well, then let's think of a strategy which allows to (ab)use all > >>of the Python linraries, which are partially great! > > > > > > That would be great but I don't think that will be possible. I will need to > > make good porting tools so they can be stolen or rewritten one by one > > easily. We can improve them as we steal them. > > Why don't we just offer a Python interpreter as an > extension module which allows to run Python scripts? > Simple objects like strings, lists and tuples could > be converted for parameterisation, and a way to call > an arbitrary Python function could not be that complicated. > Then you can provide wrappers for almost all of the > library stuff and build "your" library in very small > time, maybe adjusting the user interface to the > functions already in a prothonic way. > Then, piece by piece, the modules can be translated > and improved. > On the other hand, I'd even consider to keep them as > they are, because you get the maintenance of these > modules for free. This has been suggested several times but is seems like "cheating". :-)