Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Lua to MurgaLua conversion, Easiest way?< Next Oldest | Next Newest >
andrewb Offline

Group: Members
Posts: 316
Joined: July 2005
Posted: Mar. 13 2008,23:50 QUOTE

Is there an easy way to convert LUA scripts to MurgaLUA, or is there an extension that allows LUA scripts to run in recent versions of DSL?
Back to top
Profile PM 
mikshaw Offline

Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 14 2008,01:27 QUOTE

I believe it mostly depends on the Lua version for which the script was written, and on the modules, if any, that the script loads.

Any Lua 5.1 scripts that use pure Lua should run without modification in murgaLua
Lua 5.0 should probably also work, but *may* require some modification here and there.
Lua 4 scripts will probably require some editing, as they have some functions that were changed (for example, strfind is now string.find, format is now string.format, and openfile is now

It would probably be best to look through both 4.x and 5.x Lua manuals to see the differences.

Personally I haven't seen any Lua 5 scripts (that dont load modules) that don't work in the latest murgaLua.

If you know of any conversion script for Lua4 to Lua5 I'm guessing that will be pretty close to the best you can get for murgaLua at this time.

Back to top
Profile PM WEB 
1 replies since Mar. 13 2008,23:50 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Quick Reply: Lua to MurgaLua conversion

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code