@hackage hslua1.0.3.1

Bindings to Lua, an embeddable scripting language

  • Installation

  • Tested Compilers

  • Dependencies (7)

  • Dependents (20)

    @hackage/oughta, @hackage/luautils, @hackage/pandoc-lua-marshal, @hackage/hslua-aeson, @hackage/CSPM-cspm, @hackage/hslua-module-version, Show all…
  • Package Flags

      system-lua
       (off by default)

      Use the system-wide Lua instead of the bundled copy.

      apicheck
       (off by default)

      Compile Lua with -DLUA_USE_APICHECK.

      lua_32bits
       (off by default)

      Compile Lua with -DLUA_32BITS

      allow-unsafe-gc
       (on by default)

      Allow optimizations which make Lua's garbage collection potentially unsafe; haskell finalizers must be handled with extreme care.

      export-dynamic
       (on by default)

      Add all symbols to dynamic symbol table; disabling this will make it possible to create fully static binaries, but renders loading of dynamic C libraries impossible.

      pkg-config
       (off by default)

      Use pkg-config to discover library and include paths. Setting this flag implies `system-lua`.

HsLua provides bindings, wrappers, types, and helper functions to bridge Haskell and Lua.

This package contains a full Lua interpreter version 5.3.5. If you want to link it with a system-wide Lua installation, use the system-lua flag.

Example programs are available in a separate repository.