Entity Tutorial 0: Tools Setup
In order to compile your LUA code, you will need two programs.
Windows Lua 5.1
NOTE - You must use the lua compiler for windows, even if you are on another platform, due to the VM expecting windows formatted LUA. Wine/wineconsole works quite well for emulating it on other platforms.
The Luac command will created a compiled lua program, however, we need to insert this program into our mod JSON. In order to do this, we will base64 encode the resulting program. Many operating systems already include a base64 command line utility, but if you don't have one, maybe try b64?