@hackage hslua-examples2.0.3
Examples of how to combine Haskell and Lua.
Categories
License
MIT
Maintainer
Albert Krewinkel <tarleb@hslua.org>
Links
Versions
HsLua examples
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.
print-version
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.