Scripting

Top  Previous  Next

Girder has two built-in scripting languages. One for back-end processing called Lua and Javascript for interface building. Some of the objects and methods documented here are available to both languages.

 

The detailed Lua 5.1 manual can be found here: http://promixis.com/lua/contents.html

 

 

Often these libraries need to be included into the script before they will work. For example for the Raspberry Pi library you must do the following:

local raspi = require("raspi")

 

So if you are getting errors with the examples, make sure to include the library you are dealing with.