@hackage lua2.0.1

Lua, an embeddable scripting language

  • Installation

  • Tested Compilers

  • Dependencies (1)

  • Dependents (8)

    @hackage/pandoc-lua-marshal, @hackage/lua-arbitrary, @hackage/hslua-cli, @hackage/lpeg, @hackage/hslua, @hackage/hslua-core, 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; enabling this should be safe if there are no callbacks into Haskell during Lua garbage collection cycles. The flag should be *disabled* if Lua objects can have Haskell finalizers, i.e., __gc metamethods that call Haskell function.

      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
       (on by default)

      Don't use CAPI to determine the names of certain registry key names but use hard coded values instead. This flag is required when compiling against Lua 5.3.3 or earlier, as those versions do not expose the necessary information in the lauxlib.h header file. Setting this flag should usually be unproblematic, except if the used Lua version has been patched heavily.

This package provides bindings and types to bridge Haskell and Lua.

The full Lua interpreter version 5.3.6 is included. Alternatively, a system-wide Lua installation can be linked instead.