Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 10, 2012, 12:10:58 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Check out the Code Section!
Home Help Search Shop Login Register
Digg This!
Pages: [1]
Send this topic | Print
Author Topic: Stackless Python ported to the PSP!  (Read 8608 times)
gibbocool
Embellished by our ignorance
News Posters
Hero Member
*

Karma: +34/-11
Offline Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« on: June 19, 2007, 04:51:29 PM »

Know any python? Well now you can put it to good use because The Mindcaster has released a stackless python interpreter. Stackless is an experimental implementation of Python as it does not depend on using the C call stack. Great for programmers who aren’t vastly familiar with C and those who wish to steer away from LUA.

Quote from The Mindcaster:

I recently saw the great work from Richard Tew in porting Stackless to Nintendo DS and decided to give a try. Checked out the 2.4.3 PSP port from python-psp repository and merged the Stackless 2.4.4 tag into it.
The first thing to be done, was fixing up some conflicts mostly related to IO and threads. Next Richard pointed me out that the Stackless needs to save and restore stack pointers and this is done in assembly.
Based on trial and error, it took me a day to figure out and have a compiled interpreter.


To install, create a directory under /PSP/GAME150 and copy the supplied EBOOT.PBP there. The ‘python’ directory contains the necessary libraries and must be copied to the root of your memory stick.

The download below contains all necessary libraries and an example EBOOT.

Download
-Source
Logged



gibbocool
Embellished by our ignorance
News Posters
Hero Member
*

Karma: +34/-11
Offline Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« Reply #1 on: June 21, 2007, 06:36:01 PM »

Thought I'd let anyone interested in python for the PSP know that another python player, PyPlayer has been released.
Logged

nathan42100
Give miinaturvat Points!
Administrator
Hero Member
*

Karma: +32/-2
Offline Offline

Posts: 1161
934.18 points

View Inventory
Send Money to nathan42100


View Profile WWW
« Reply #2 on: June 22, 2007, 07:44:07 AM »

Great, another language to learn.
Logged

All of my work is released under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
dn ʎɐʍ sıɥʇ
Help support my computer projects!

ReCreate
Life's like a bucket of wood shavings, unless their in a pail, then its like a pail of wood shavings.
Full Member
***

Karma: +44/-100
Offline Offline

Posts: 146
3016.83 points

View Inventory
Send Money to ReCreate

Coolness:-100 Smartness:-150 Posts:0


View Profile WWW
« Reply #3 on: July 16, 2009, 09:29:17 AM »

Yeah i know right! YAY! Laughing
Logged


Quote
WOOOOOOOOOOO for overly elaborate and complex
AlphaDingDong
Combat Muskrat
All-Around Dev
Hero Member
*

Karma: +32/-3
Offline Offline

Posts: 882
2044.69 points

View Inventory
Send Money to AlphaDingDong
Hey... Are you gonna eat that?


View Profile
« Reply #4 on: July 16, 2009, 02:20:47 PM »

Are you from China?
Logged
ReCreate
Life's like a bucket of wood shavings, unless their in a pail, then its like a pail of wood shavings.
Full Member
***

Karma: +44/-100
Offline Offline

Posts: 146
3016.83 points

View Inventory
Send Money to ReCreate

Coolness:-100 Smartness:-150 Posts:0


View Profile WWW
« Reply #5 on: July 16, 2009, 10:16:55 PM »

Almost, in a way, America  Laughing
Logged


Quote
WOOOOOOOOOOO for overly elaborate and complex
mowglisanu

C/C++ Developer
Hero Member
*

Karma: +36/-11
Offline Offline

Posts: 787
0.00 points

View Inventory
Send Money to mowglisanu


View Profile
« Reply #6 on: July 17, 2009, 09:56:26 AM »

Are you from China?
lolz
Logged

Check out my:
 Audio lib
 Pmf Viewer
Pages: [1]
Send this topic | Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.284 seconds with 31 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com