@hackage hslua1.3.0.2

Bindings to Lua, an embeddable scripting language

  • Installation

  • Tested Compilers

  • Dependencies (9)

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

      hardcode-reg-keys
       (off by default)

      Don't use CAPI to determine the names of certain registry key names but Use hard coded values for instead. This flag is required when compiling against Lua 5.3.3 or earlier, as those do not expose the necessary information in the lauxlib.h header file.

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

This package contains a full Lua interpreter version 5.3.6. 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.