Lua.LPeg

lpeg-1.1.0: LPeg – Parsing Expression Grammars For Lua

Copyright | © 2021-2023 Albert Krewinkel
License | MIT
Maintainer | Albert Krewinkel <tarleb@hslua.org>
Safe Haskell | None
Language | Haskell2010

Lua.LPeg

Description

Haskell bindings to the LPeg Lua package.

Synopsis

- luaopen_lpeg_ptr :: CFunction
- luaopen_re_ptr :: CFunction
- lpeg_searcher :: PreCFunction

# Documentation

luaopen_lpeg_ptr :: CFunction #

Pointer to the placeholder lpeg library loader. Trying to load the library will result in an error.

luaopen_re_ptr :: CFunction #

Pointer to the placeholder re library loader. Trying to load the library will result in an error.

lpeg_searcher :: PreCFunction #

Placeholder package searcher to be used with `package.searchers`), just for the "lpeg" module. Returns `nil` on most inputs, but pushes adds a message about the module being unavailable when called on the search key "lpeg".