forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

compiled lua scripts

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Tue Nov 29, 2005 11:44 pm    Post subject: compiled lua scripts Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
nevyn



Joined: 31 Jul 2005
Posts: 136
Location: Sweden

PostPosted: Sun Dec 04, 2005 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group