Results 1 to 3 of 3

Thread: new Lua 5.2.1 library bindings for Pascal

  1. #1

    new Lua 5.2.1 library bindings for Pascal

    Having been hampered for a while in my projects by a lack of a Pascal header for the newest version of Lua, I decided to make one. The project is currently on Sourceforge, and as far as I've tested supports both FPC 2.6+ and Delphi (version unknown).

    An additional TLua class has been remodeled from the one created by Dennis D. Spreen to provide extra features and support Freepascal, and should help you get your projects quick Lua integration. The class and library bindings are fully useable on both Windows and Linux, 32 and 64 bit versions. I've already used it for quite some time on a Linux64, and made standard tests on Windows 32 and 64. I would love to have a few people test the bindings on various systems to see if there are unforeseen bugs crouching in the shadows .

    If there is interest for it, I may also look into making compatible bindings for the Oxygene compilers.

    The project page :

  2. #2
    I used the bindings here:
    Anything wrong with them?
    Best regards,

  3. #3
    Quote Originally Posted by Cybermonkey View Post
    I used the bindings here:
    Anything wrong with them?
    Oh, I didn't know that header existed. A few points are different, though :
    - it lacks a few macros;
    - it lets users initialize the library by themselves without providing a basic "initLua" function; actually I believe there is no choice possible on runtime as to which DLL/SO to use(library link is defined as "external LUA_LIB_NAME;");
    - there's not the TLua manager class, that adds some degree of transparency when it comes to register functions within the interpreter.
    Last edited by StormyOrdos; 07-10-2013 at 11:56 AM.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts