Lua on the Pocket PCA few years ago I was introduced to the Lua programming language. It's a marvelous language. It's fast. It's small. It's elegant. It's embeddable. And it's just a heck of a lot of fun to play around with.
As I became more familiar with the language, I soon began wishing that I had a Lua interpreter that would run on my HP iPaq Pocket PC. (What can I say? I'm a geek.) Unfortunately, while there is a standalone version of the Lua interpreter that runs on Palm, nobody seemed to have built one that ran on the Pocket PC. The closest thing to it that I could find was LuaCE.
LuaCE is enough to get Lua imbedded into a Windows CE application but it lacks a console. Using LuaCE as a starting point, I was able to get Lua to compile on Windows CE, and I was able to execute some simple scripts but without a console it was something of a hollow victory.
Then I stumbled upon PocketConsole and that solved my little problem. Within just a few minutes, I was able to get a fully-functional (mostly) implementation of Lua 5.0 running on my Pocket PC.
Almost none of the code available from this page is mine. It's basically just the straight Lua 5.0 distribution, plus the LuaCE files, plus a little bit of glue I added to make it all work with the Port SDK that's available on the PocketConsole site. So if you find any bugs in this code don't blame me. (But please do let me know.)
To build the source code, here is what you need:
Here is what you need:
If you want an executable for another platform then you'll have to build it yourself.