A Lua language interpreter embedding in Haskell

Version on this page:0.3.13
LTS Haskell 22.30:2.3.1
Stackage Nightly 2024-07-24:2.3.1
Latest on Hackage:2.3.1

See all snapshots hslua appears in

MIT licensed by Gracjan Polak, Ömer Sinan Ağacan
Maintained by [email protected]
This version can be pinned in stack with:hslua-0.3.13@sha256:c8ecb544cdc73599f3484000f2d05b564060b2368433203f0f087550dc7583fc,2636

Module documentation for 0.3.13

  • Scripting
    • Scripting.Lua
      • Scripting.Lua.ConfigFile
Depends on 2 packages(full list with versions):
Used by 1 package in lts-0.7(full list with versions):

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

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




  • pushrawhsfunction and registerrawhsfunction functions are added.
  • apicheck flag is added to Cabal package to enable Lua API checking. (useful for debugging)


  • luaL_ref and luaL_unref functions are added.