LuaUtils (aka Lua for Delphi) contains useful functions to work with Lua 5.1 in Delphi.
It was developed by Toshiki Kumagai in 2004, later revised by Jean-Francois Goulet & Massimo Magnano.
This latest 2013 revision makes the code compatible with Delphi XE2 or higher.It still compiles and works with the older, non-Unicode Delphi releases.
プログラミング言語 Lua を Delphi から使える ようにします。
LuaLib.pas
- Translated Delphi unit from C header lualib.hlauxlib.pas
- Translated Delphi unit from C header lauxlib.hLuaUtils.pas
- Library for build samples
For compiling LuaUtils you will need the Lua.pas
library from the pLua project.
- v0.01 2004/04/20 kuma
- initial release
- v0.02 2004/04/20 kuma
- LuaUtils: added LuaLocalToStrings lua_getstack
- v0.03 2004/04/28 kuma
- can the sample4 able to be compiled also with Delphi6 Personal
- v0.04 2004/09/02 kuma
- multi file debugger
- added regex
- LuaUtils: added LuaToBoolean, LuaPushBoolean, LuaToInteger, LuaPushInteger LuaSetTableValue, LuaRawSetTableValue, LuaRegisterCustom, LuaRegisterMetatable, LuaRegisterProperty
- v0.05 2004/09/04 kuma
- debugger bug fix
- v0.06 2004/09/19 kuma
- debugger bug fix
- added Execute, SaveAll, CloseAll, CanCloseAll
- LuaUtils: LuaToString, LuaPushString, LuaError, LuaErrorFmt
- v0.07 2004/10/03 kuma
- added appli, debugger
- bug fix regex
- v0.08 2005/04/20 max.maxm
- LuaUtils: add LuaPushVariant, LuaToVariant, LuaLoadBufferFromFile
- solved bugs LuaToInteger Round -> Trunc
- v0.09 2005/06/23 kuma
- regex use TRegExpr.pas
- SJIS patch 06/20/05(Copyright SowwaRay) applied.
- Bugs: Stack problem in LuaProcessTableName. MaxM reported, but I can't reproduce it yet.
- rev1.0 2005 MaxM
- LuaUtils: added LuaPushVariant, LuaToVariant, LuaGetTableInteger, LuaGet\SetTableTMethod, LuaLoadBufferFromFile
- Solved Bugs: Stack problem in LuaProcessTableName, LuaToInteger why Round?, Trunc is better
- rev1.1 2005 MaxM
- LuaUtils: added LuaPCallFunction
- rev1.2 2005 MaxM
- LuaUtils: added GetCurrentFuncName, LuaSetTablePropertyFuncs
- rev1.2-mod 2013 FDaragon
- Updated for Delphi XE2 or higher.
Same as Lua 5.0.2
Lua-5.0.2 と同一。
著作権は Tecgraf および PUC-Rio が保有しています。 詳細については COPYRIGHT そして http://www.lua.org/license.html を参照してください。
2005/07/04 t_kumagai - kuma@webj.net