[Haskell-cafe] ANN: Scripting.Lua 0.1
Gracjan Polak
gracjanpolak at gmail.com
Tue Jun 26 04:35:53 EDT 2007
Hi all,
I'm pleased to announce the first public release of Scripting.Lua.
The package hslua-0.1 contains Haskell FFI bindings for a Lua interpreter
along with some Haskell utility functions simplifying Haskell to Lua and
Lua to Haskell calls. Full Lua interpreter is included in the package.
Example
import qualified Scripting.Lua as Lua
main = do
l <- Lua.newstate
Lua.openlibs l
Lua.callproc l "print" "Hello from Lua"
Lua.close l
More information
http://home.agh.edu.pl/~gpolak/hslua
The Lua language
http://www.lua.org
--
Gracjan
More information about the Haskell-Cafe
mailing list