-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | An embeddable Lua REPL built with Isocline and HsLua.
@package hslua-repl
@version 0.1.2


-- | Embeddable Lua interpreter interface.
module HsLua.REPL

-- | Run a Lua REPL.
repl :: LuaError e => LuaE e NumResults

-- | Run a Lua REPL, using the table in the given upvalue as the load
--   environment.
replWithEnv :: LuaError e => Maybe Reference -> LuaE e NumResults

-- | Setup a new repl. Prints the version and extra info before the first
--   prompt.
setup :: Config -> LuaE e ()

-- | Lua runner command line options.
data Config
Config :: Text -> Text -> Maybe FilePath -> Config
[replPrompt] :: Config -> Text
[replInfo] :: Config -> Text
[replHistory] :: Config -> Maybe FilePath
defaultConfig :: Config
