Session: Adding Scripting to your Application
In this talk I will discuss reasons why you might want to add scripting to your application. These reasons include facilitating debugging, tuning, prototyping, extensibility, and flexible configuration. I will then turn to examining some of the options for adding scripting such as Python, Guile, and Lua.
The majority of the presentation will consist of a simple, how-to demonstration. Here I will present a simple C application, add an embedded Lua interpreter and show how to extend the app with a couple of Lua commands. The emphasis will be on explaining Lua’s embedding API.