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 [faq] 0.1, 0.2, 0.3, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.6.1, 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, 0.9.5.1, 0.9.5.2, 1.0.0, 1.0.1, 1.0.2
Change log CHANGELOG.md
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
Maintainer omeragacan@gmail.com
Category Scripting
Source repo head: git clone https://github.com/osa1/hslua.git
Uploaded by tarleb at Thu Mar 23 22:24:55 UTC 2017
Distributions Arch:1.0.2, Debian:0.9.5.2, Fedora:0.9.5.2, FreeBSD:0.4.0, LTSHaskell:1.0.2, NixOS:1.0.2, Stackage:1.0.2, openSUSE:1.0.2
Downloads 84983 total (957 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-03-23 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
system-lua

Use the system-wide Lua instead of the bundled copy

DisabledAutomatic
apicheck

Compile Lua with -DLUA_USE_APICHECK.

DisabledAutomatic
luajit

Link 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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hslua-0.5.0

[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)