HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Package2.3.4Foreign

lua

Lua, an embeddable scripting language

Modules

  • LuaExtend Haskell programs with a Lua interpreter. This package provides the basic building blocks to integrate Lua into a
  • Lua.AuxiliaryRaw bindings to functions and constants of the auxiliary library.
  • Lua.CallFunction to push Haskell functions as Lua C functions. Haskell functions are converted into C functions in a two-step process.
  • Lua.ConstantsLua constants
  • Lua.DebugHaskell bindings to Lua's debug interface.
  • Lua.ErsatzErsatz functions for Lua API items which may, directly or indirectly,
  • Lua.Ersatz.AuxiliaryRaw bindings to ersatz functions of the auxiliary library.
  • Lua.Ersatz.FunctionsErsatz functions for Lua API items which may, directly or indirectly,
  • Lua.LibLua standard libraries.
  • Lua.PrimaryHaskell bindings to Lua C API functions. The exposed functions correspond closely to the respective C Lua API
  • Lua.TypesThe core Lua types, including mappings of Lua types to Haskell.
  • Lua.UserdataBindings to HsLua-specific functions used to push Haskell values
  • Lua.WarnSimpler interface to the Lua warnings system.

Description

This package provides bindings and types to bridge Haskell and Lua.

The full Lua interpreter version 5.4.8 is included. Alternatively, a system-wide Lua installation can be linked instead.

Depends on

1 package

Used by in this set · 3