The hslua package

[Tags:library, mit]

The Scripting.Lua module is a wrapper of Lua language interpreter as described in [](

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

Example programs

[Skip to Readme]


Versions 0.1, 0.2, 0.3, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6,, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.4.0, 0.4.1
Change log
Dependencies base (==4.*), bytestring (>= && <0.11) [details]
License MIT
Copyright Gracjan Polak 2007-2012, Ömer Sinan Ağacan 2012-2015
Author Gracjan Polak, Ömer Sinan Ağacan
Stability beta
Category Scripting
Source repository head: git clone
Uploaded Tue Sep 8 21:23:29 UTC 2015 by OmerAgacan
Distributions Arch:0.4.1, Debian:0.4.1, Fedora:0.3.13, FreeBSD:0.4.0, LTSHaskell:0.4.1, NixOS:0.4.1
Downloads 57691 total (56 in the last 30 days)
1 []
Status Docs available [build log]
Last success reported on 2015-09-08 [all 1 reports]




system-luaUse the system-wide Lua instead of the bundled copyDisabledAutomatic
apicheckCompile Lua with -DLUA_USE_APICHECK.DisabledAutomatic
luajitLink with LuaJIT (should be used with -fsystem-lua)DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hslua

Readme for hslua-0.4.1

hslua -- Lua interpreter interface for Haskell

Build Status Coverage Status Hackage

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)