lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 17.12.2009 09:34, Luciano de Souza wrote:

> In the official pack, Freepascal come with the unit Lua. It's wonderful
> because I can use Lua without further components. Bu how to do that.
> Even if trying, I could not understand the mechanism to call the
> interpretor, register functions Pascal in Lua, register functions Lua in
> Pascal, convert the types of variables, etc.

I don't program in Pascal (since TurboPascal days ;) but you can check
some source codes:
http://luaforge.net/plugins/scmcvs/cvsweb.php/?cvsroot=luapascal

There is also http://luapascal.luaforge.net/ but it seems unmaintained
anymore.

If the Lua unit comes in the official pack, you should ask Freepascal
maintainer for help.

Regards,
miko