Where would I get the tutorials/compiler for Lua, since I want to start coding.
Printable View
Where would I get the tutorials/compiler for Lua, since I want to start coding.
easiest tutorial I used was at www.psp-programming.com if that helps...
also, as Lua is a scripting language, and there is no code(rather you just write assignments for the Lua player to use), there realy is no ability to compile a code... but it is possible to get a Lua player for PC that allows you to test your program without using a PSP, however, I would suggest just using a psp version of the player, as it would show you how the program would work on a psp..
and if you need any help, PM me and I can assist you with some entry level Lua coding :D
Could the script code be made into an EBOOT.PBP?
the script itself cannot be made into an eboot, but you could make an eboot to load the script like a normal game.
Yes. But to my knowledge, the only way to do it is if you already have the full PSPSDK installed. Since PSPSDK setup is one of the biggest hurdles to programming the PSP for a lot of people, you probably shouldn't worry about it (to begin with, anyways). Especially if you're looking into using Lua as opposed to C.Quote:
Originally Posted by Prasoc
I am more interested in why do you want to learn Lua in the first place?
Probably because its a good language to start off with.... It an be very powerful when you know it well... I you goto lua.org and hen select documentationQuote:
Originally Posted by yaustar
, you can find a online book for lua, its very useful, but remember its meant for pc lua, so make sure the lua interpreter know everything you leanr in that book ;)
I find that it isn't the best language to learn. All it is is that it is more accessible for creating PSP programs. It isn't really powerful either, just faster in performence compared to other scripting languages due to its small feature size. If you tried to do any OO in Lua, you know what I mean. There are some really annoying naunces in the language such as the difference copy by value and copy by reference is not seen by the programmer in the syntax.
If you want to learn how to program, I would have chosen Python which is far more powerful then Lua as a programming language and more usable in the real world.
To clarify, the book on Lua.org is for pure/base Lua not 'PC' Lua.
try evilmana.com
I don't like evilmana's tutorials, they teach you how to use LuaPlayer and not Lua/Programming which is pretty bad for a new/beginning programmer. The standard Lua Wiki or the book would be better. The problem is that Lua was never meant to be a language to learn to program in hence there is little material for beginning programming in Lua. Psp-programming tutorials are a little better for that.