I found and fixed an issue with the lua_Reader used during compilation. It returned gibberish instead of an int, throwing Lua into an infinite loop. I need to fix the lua_writers too, I am not doing what they expect.