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]


Versions0.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
Dependenciesbase (==4.*), bytestring (>= && <0.11) [details]
CopyrightGracjan Polak 2007-2012, Ömer Sinan Ağacan 2012-2015
AuthorGracjan Polak, Ömer Sinan Ağacan
Source repositoryhead: git clone
UploadedTue Sep 8 21:23:29 UTC 2015 by OmerAgacan
DistributionsDebian:0.4.0, Fedora:0.3.13, FreeBSD:0.4.0, LTSHaskell:0.4.1, NixOS:0.4.1, Stackage:0.4.1
Downloads56336 total (734 in last 30 days)
1 []
StatusDocs 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


Maintainers' corner

For package maintainers and hackage trustees

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)