[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Binary Modules for Lua [was Re: External modules]
- From: "Martin Spernau" <martin@...>
- Date: Thu, 21 Nov 2002 23:27:43 +0100
From: "Thatcher Ulrich" <firstname.lastname@example.org>
> I took the liberty of putting together the bare bones of a Binary
> Module system for Lua 4.0, based on Ignacio's uselib code.
A very simple Lua extension that only defines one function 'fuzzy'.
thetext = [[A lnger Text to saerch]]
searchstr = "longer"
-- gives about 54.54
-- gives 100, a complete match
This Lua extension was built to be used with the 'loadmodule' by Thatcher
Main goal was to write a 'tutorial' like minimal extension that is
completely seft-sufficent, only requiring one C source file.
A Win32 Lua binary, the compiled luafuzzy.dll along with the source can be