General-purpose programming environment based on Lua