hslua: A Lua language interpreter embedding in Haskell

[ foreign, library, mit ] [ Propose Tags ]

The Scripting.Lua module is a wrapper of Lua language interpreter as described in lua.org.

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 [RSS] [faq] 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, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5,,, 1.0.0, 1.0.1, 1.0.2, 1.0.3,,, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.3.0, (info)
Change log CHANGELOG.md
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
Maintainer omeragacan@gmail.com
Category Scripting
Source repo head: git clone https://github.com/osa1/hslua.git
Uploaded by OmerAgacan at 2015-09-08T21:23:29Z
Distributions Arch:, Debian:, Fedora:, FreeBSD:0.4.0, LTSHaskell:, NixOS:, Stackage:, openSUSE:1.2.0
Downloads 120873 total (1011 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-09-08 [all 1 reports]





Use the system-wide Lua instead of the bundled copy


Compile Lua with -DLUA_USE_APICHECK.


Link with LuaJIT (should be used with -fsystem-lua)


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-0.4.1

[back to package description]

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)