The Lua compile command (luac) has a really annoying syntax, requiring you to constantly enter long-winded commands like luac -o xxx.lux xxx.lua - and you can't even have the Lua filename before the -o option or it spits the dummy.
I was planning to rewrite it but decided to just add a clua wrapper instead. I just uploaded it to github, but for SourceForge users, it is also in the attached in zip file.
Just put clua.lua on your Catalyst SD card (I put it in the bin directory) and now you can just say clua xxx (or try clua -? for help).
Comments
Something I've been meaning to do for a while ...
The Lua compile command (luac) has a really annoying syntax, requiring you to constantly enter long-winded commands like
luac -o xxx.lux xxx.lua
- and you can't even have the Lua filename before the -o option or it spits the dummy.I was planning to rewrite it but decided to just add a clua wrapper instead. I just uploaded it to github, but for SourceForge users, it is also in the attached in zip file.
Just put clua.lua on your Catalyst SD card (I put it in the bin directory) and now you can just say
clua xxx
(or tryclua -?
for help).Ross.