Intro to the RefManual
Grid controllers run lua scripts for their configurations. It's a Turing complete system, meaning you can come up with unique workflow improvements utilizing Grid's tactile controls. The API for configurations aka grid_protocol used by Grid modules can be read in this reference manual.
Lua is a script language, please check out the official lua page for correct syntax.
This manual is supposed to be used together with the Wiki section as some functions are explained there in more detail under their respective Action Block (containers that house one or more functions, conveniently grouped together).