@hackage hslua0.9.5.2

A Lua language interpreter embedding in Haskell

  • Installation

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

      luajit
       (off by default)

      Link with LuaJIT. This implies flag system-lua as well.

      lua501
       (off by default)

      Build against lua 5.1.

      lua502
       (off by default)

      Build against lua 5.2.

      use-pkgconfig
       (off by default)

      Build using pkg-config to discover library and include paths. This is only used with system-lua and luajit.

The Foreign.Lua module is a wrapper of Lua language interpreter as described on lua.org.

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