Hello gentlemen!

I am looking for simple examples demonstrating how to use a Lua script in a FreePascal or Lazarus program. I know that it is possible, because there are important projects (like EGSL) that use Lua. I look for very basic examples, in the taste of that tutorial.

I compiled the example included with this unit, but it doesn't do the kind of thing I would like to do. For example I would like to call from my Pascal program a function with a string as argument and get the result of the function.

Would you have some examples to share?