I have written some documentation on the basics of Lua scripting in the LibreCAD wiki.

Now I'm going to work on the rendering unit tests