By the way, maybe I can advertise my Lua interpreter in this case.
It's completely made with Free Pascal and the ptcgraph unit. You can find it on the following site: http://cmlua.retrogamecoding.org/

Here's a little demonstation