lpeg-1.0.3: LPeg – Parsing Expression Grammars For Lua
Copyright© 2021-2022 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb+hslua@zeitkraut.de>
Safe HaskellNone
LanguageHaskell2010

Lua.LPeg

Description

Haskell bindings to the LPeg Lua package.

Synopsis

Documentation

luaopen_lpeg_ptr :: CFunction Source #

Pointer to the function which loads the lpeg library.

luaopen_re_ptr :: CFunction Source #

Pointer to the function which loads the "re" library.

lpeg_searcher :: PreCFunction Source #

A package searcher to be used with package.searchers), just for the "lpeg" module. Returns nil on most inputs, but pushes a function that loads the LPeg module when called with key "lpeg".