Examples of C++ code interacting with Lua. the first one just executes a Lua script, the second one calls a function from the script the third one calls a function from the scripts which calls a function from the c++ code
make ex1
./helloworld
make ex2
./stats
make ex3
./generator