I've spent quite a bit of time trying to get LUA to work in Lazarus, all to no avail. I started with a working Delphi version and when it wouldn't run (lots of AV's don't ask me to list) once compiled in Lazarus I started modifying it to fit the standard FPC stuff (I think).

If any of the Lazarus gurus could take a look I'd love to know what you think or what I'm doing wrong. You can download the entire thing (project files for Delphi and Lazarus as well as the library) from http://www.eonclash.com/Lazarus/LUA.zip.