Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

LuaUtils

Useful functions to work with Lua in Delphi

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

LuaUtils

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.

�v���O���~���O���� Lua �� Delphi ����g���� �悤�ɂ��܂��B

Files

  • LuaLib.pas - Translated Delphi unit from C header lualib.h
  • lauxlib.pas - Translated Delphi unit from C header lauxlib.h
  • LuaUtils.pas - Library for build samples

Compiling

For compiling LuaUtils you will need the Lua.pas library from the pLua project.

History

  • 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.

Revisions

  • 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.

License

Same as Lua 5.0.2

���C�Z���X�E�z�z����

Lua-5.0.2 �Ɠ���B

���쌠�� Tecgraf ����� PUC-Rio ���ۗL���Ă��܂��B �ڍׂɂ‚��Ă� COPYRIGHT ������ http://www.lua.org/license.html ���Q�Ƃ��Ă��������B

2005/07/04 t_kumagai - kuma@webj.net