hslua-repl-0.1.2: Isocline-based Lua REPL
CopyrightCopyright © 2017-2024 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb@hslua.org>
Safe HaskellSafe-Inferred
LanguageHaskell2010

HsLua.REPL

Description

Embeddable Lua interpreter interface.

Synopsis

Run scripts as program

repl :: LuaError e => LuaE e NumResults Source #

Run a Lua REPL.

replWithEnv :: LuaError e => Maybe Reference -> LuaE e NumResults Source #

Run a Lua REPL, using the table in the given upvalue as the load environment.

setup :: Config -> LuaE e () Source #

Setup a new repl. Prints the version and extra info before the first prompt.

data Config Source #

Lua runner command line options.

Constructors

Config