| View previous topic :: View next topic |
| Author |
Message |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Tue Nov 29, 2005 11:44 pm Post subject: compiled lua scripts |
|
|
Hello all,
Just wondering if the PSP Lua Player supports compiled lua scripts. I like compiled scripts because I think they don't have syntax errors (if they compiled right) and because there is no need to parsing at runtime of the code.
If the player supports compiled scripts which should be the name of the initial script file? index.luac ?
Thanks |
|
| Back to top |
|
 |
nevyn
Joined: 31 Jul 2005 Posts: 136 Location: Sweden
|
Posted: Sun Dec 04, 2005 11:19 am Post subject: |
|
|
Why not try it?
Lua (the library, not luaplayer) looks at the code it is asked to load: if it's compiled, it runs it; if it's not, it compiles and runs it. My point being that yes, it works (in theory; I've never tried it). The index file is always called 'index.lua'. |
|
| Back to top |
|
 |
|