The hslua package

[Tags:library, mit, test]

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, 0.5.0
Change log
Dependencies base (>=4.7 && <5), bytestring (>=0.10.2 && <0.11) [details]
License MIT
Copyright Gracjan Polak 2007-2012, Ömer Sinan Ağacan 2012-2015
Author Gracjan Polak, Ömer Sinan Ağacan
Category Scripting
Source repository head: git clone
Uploaded Thu Mar 23 22:24:55 UTC 2017 by tarleb
Distributions Arch:0.4.1, Debian:0.4.1, Fedora:0.4.1, FreeBSD:0.4.0, LTSHaskell:0.4.1, NixOS:0.5.0, Stackage:0.4.1, Tumbleweed:0.4.1
Downloads 63496 total (998 in the last 30 days)
1 []
Status Docs available [build log]
Last success reported on 2017-03-23 [all 1 reports]
Hackage Matrix CI




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

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)