Page 2 of 2

Re: [SUGGESTION] Python coding on HBL

Posted: Wed Feb 02, 2011 8:34 pm
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.

Re: [SUGGESTION] Python coding on HBL

Posted: Wed Feb 02, 2011 9:03 pm
by m0skit0
You should've looked at what the errors were saying. They're usually nice "hints".

Re: [SUGGESTION] Python coding on HBL

Posted: Thu Feb 03, 2011 10:31 am
by SunnyAutumn
I used SciTe then -.- Errors it gave out weren't errors for the game.

Re: [SUGGESTION] Python coding on HBL

Posted: Thu Feb 03, 2011 11:03 am
by m0skit0
The problem is not LUA, it's your debugging skills and tools.

Re: [SUGGESTION] Python coding on HBL

Posted: Thu Feb 03, 2011 12:34 pm
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.

Re: [SUGGESTION] Python coding on HBL

Posted: Thu Feb 03, 2011 2:16 pm
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:

Re: [SUGGESTION] Python coding on HBL

Posted: Thu Feb 03, 2011 3:00 pm
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!

Re: [SUGGESTION] Python coding on HBL

Posted: Thu Feb 03, 2011 3:35 pm
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!

Re: [SUGGESTION] Python coding on HBL

Posted: Fri Jun 22, 2012 7:31 pm
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.