@hackage hslua0.5.0
A Lua language interpreter embedding in Haskell
Installation
Dependencies (2)
- base >=4.7 && <5
- bytestring >=0.10.2 && <0.11 Show all…
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.
luajit
(off by default)
Link with LuaJIT (should be used with -fsystem-lua)
hslua -- Lua interpreter interface for Haskell
To use system-wide installed Lua/LuaJIT when linking hslua as a dependency, build/install your package using --constraint="hslua +system-lua" or for LuaJIT: --constraint="hslua +system-lua +luajit". For example, you can install Pandoc with hslua that uses system-wide LuaJIT like this:
cabal install pandoc --constraint="hslua +system-lua +luajit"
(Note that -fluajit flag is added with hslua 0.3.14)