Advertising (This ad goes away for registered users. You can Login or Register)

[SUGGESTION] Python coding on HBL

This is the development forum of the half-byte loader project. For general Half Byte Loader questions, visit the Half Byte Loader forum.
Forum rules
This forum is for HBL Development discussions ONLY. For User support or HBL general discussions, go to viewforum.php?f=3 . Messages that are not development related will be deleted.
SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by SunnyAutumn »

SunnyAutumn wrote:Grrrr! I dislike Lua for some reason. Probably because it uses a lot of "." and ",". Always got lost in those.
m0skit0 wrote:That should not be a reason. Almost all programming languages use a lot of . and , For example I hate LISP's parenthesis, but it's a language I just love.
Well, I have a reason for hating it. Once, I scripted for CS2D (read first post) and it always gave me errors in the console or threw me out of the server (scripts there are server-side). Then, after 2 weeks of studying the script and giving up, I realised that instead of ".." I put "." It was only somewhere in the middle, but it literally destroyed the script.
The language itself is pretty cool, but I don't think I will ever come back to it.
Advertising
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Post by m0skit0 »

You should've looked at what the errors were saying. They're usually nice "hints".
Advertising
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by SunnyAutumn »

I used SciTe then -.- Errors it gave out weren't errors for the game.
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Post by m0skit0 »

The problem is not LUA, it's your debugging skills and tools.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
wololo
Site Admin
Posts: 3621
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: [SUGGESTION] Python coding on HBL

Post by wololo »

I understood the OP as "let's have a python interpreter running with HBL", and this doesn't sound as impossible to me, the same way HBL can run lua as long as the eboot includes the LUA interpreter. AFAIK there's a python interpreter available for the PSP, so it's just a matter of making a "python interpreter" eboot, that runs in user mode, and allows to open/run python scripts.
If you need US PSN Codes, this technique is what I recommend.

Looking for guest bloggers and news hunters here at wololo.net, PM me!
SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by SunnyAutumn »

Wololo wrote:I understood the OP as "let's have a python interpreter running with HBL", and this doesn't sound as impossible to me, the same way HBL can run lua as long as the eboot includes the LUA interpreter. AFAIK there's a python interpreter available for the PSP, so it's just a matter of making a "python interpreter" eboot, that runs in user mode, and allows to open/run python scripts.
Your post count seriously disturbs me... :shock:
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Post by m0skit0 »

Wololo wrote:I understood the OP as "let's have a python interpreter running with HBL"
If so, the questions has not much sense: if there's a pure user mode Python interpreter, then most likely it will work with HBL, just like LUA does. I still think he meant "develop HBL" with Python, not "for HBL" with Python. As in making a scripting language to "mod" HBL. Still I see no use of modding HBL since it's just loading ELFs. I sincerely don't know what can be modded in here...
SunnyAutumn wrote:Your post count seriously disturbs me... :shock:
:lol: :lol: :lol: very good one!
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by SunnyAutumn »

m0skit0 wrote:
Wololo wrote:I understood the OP as "let's have a python interpreter running with HBL"
As in making a scripting language to "mod" HBL
Exactly what I meant.
m0skit0 wrote:
SunnyAutumn wrote:Your post count seriously disturbs me... :shock:
:lol: :lol: :lol: very good one!
Thank you!
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
Acid_Snake
Retired Mod
Posts: 3100
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: [SUGGESTION] Python coding on HBL

Post by Acid_Snake »

pyMenu is written in Python, if you want take a look at the code and see if you can help with the development.
Locked

Return to “Half Byte Loader Development”