@hackage hslua-examples2.0.2

Examples of how to combine Haskell and Lua.

HsLua examples

Build status AppVeyor Status Hackage

Example programs showcasing the HsLua framework.

run-lua

A simple program which uses Lua to calculate and print Fibonacci numbers. It demonstrates how a Lua script can be embedded and executed.

Demonstrates the use of the the low-level C API functions from the lua package. Prints the Lua version.

wishlist

The code for Santa's Little Lua Scripts.

low-level-factorial

Calculate integer factorials in Haskell, allowing for results which don't fit into a normal Lua integer. Uses only the low-level C API functions from the lua package.