This document discusses using the Lua programming language in lab devices. It provides background on Lua, describing it as a lightweight scripting language designed for extending applications. Lua can be embedded in C/C++ applications and extended with C functions. The document gives an example of using Lua as an interpreter layer between a biological protocol and a robotic platform. It also provides code samples of integrating Lua into a lab device, with Lua running procedures and enhanced by C/C++ functions for hardware access.