Hello. I've just "released" a preliminary port of the Python programming language for the PSP, with bindings for the essential PSP APIs as well as part of pspgu.
More details on my blog: http://fraca7.free.fr/blog/
Feedback is welcome.
Preliminary Python port
the screenshot looks promising.. have you implemented full 32-bit color?
Chaosmachine Studios: High Quality Homebrew.
I have been trying to build, using the code from your repository. And I'm getting errors. The command I use is:
How do you fix the undefined reference to _stat?
It seems to me that you are using some voodoo to build, and haven't put all the nessecary code in svn. ;) (Please correct me if I'm wrong)
Is there any particular reason why you aren't using SWIG, or something similar, to wrap the SDK?
Code: Select all
python-psp/PSP$ make
It seems to me that you are using some voodoo to build, and haven't put all the nessecary code in svn. ;) (Please correct me if I'm wrong)
Is there any particular reason why you aren't using SWIG, or something similar, to wrap the SDK?
Istari: About SWIG. Apart from the classic Bison/Flex pair, I don't trust a computer program to generate correct C code. Hell, I don't even trust most C programmers to generate correct C code, for that matter.
The Python/C API is so simple and elegant that I just use it directly. It may be kind of repetitive, but hey, it's C. It's always been.
The Python/C API is so simple and elegant that I just use it directly. It may be kind of repetitive, but hey, it's C. It's always been.
OK. Fixed after I did a in the toolchain directory (It would have helped to notice that particular line in the docs sooner), followed by a rebuild of the toolchain.
Thanks for the help, and thanks for porting my favorite language to the PSP.
Code: Select all
svn update
Thanks for the help, and thanks for porting my favorite language to the PSP.
No sweat. It's also my favorite language :)
But there's still much to do. I've set up a simple Web page to keep track of evolutions, at the following URL:
http://fraca7.free.fr/pythonpsp/
If the project goes well, this will be enhanced later. Maybe moved to Sourceforge, or rather on the pspdev SVN repository. Who knows.
But there's still much to do. I've set up a simple Web page to keep track of evolutions, at the following URL:
http://fraca7.free.fr/pythonpsp/
If the project goes well, this will be enhanced later. Maybe moved to Sourceforge, or rather on the pspdev SVN repository. Who knows.