Using Lua with Delphi – Getting tables out of Lua

For our new game, the current plan is to use Lua to provide content and control, with Delphi doing most of the heavy lifting (rendering, game state saving etc.). To achieve this, it’s necessary to establish an interface to Lua (for this, I’m using the excellent interface by Dennis Spreen – VerySimple.Lua – this is specifically for Lua 5.3) and then to get the data out of it. This article is going to focus on the later as VerySimple.Lua is very simple to use (excellent job Dennis 🙂 ).

Continue reading