-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Command-line interface for Lua -- -- Provides an embeddable command-line interface for Lua. The interface -- is compatible with the standard Lua interpreter, i.e., the lua -- executable provided in a default Lua installation. @package hslua-cli @version 1.1.0 -- | Embeddable Lua interpreter interface. module HsLua.CLI -- | Uses the first command line argument as the name of a script file and -- tries to run that script in Lua. Falls back to stdin if no file is -- given. Any remaining args are passed to Lua via the global table -- arg. runStandalone :: LuaError e => Settings e -> IO () -- | Settings for the Lua command line interface. data Settings e Settings :: Text -> (LuaE e () -> IO ()) -> Settings e [settingsVersionInfo] :: Settings e -> Text [settingsRunner] :: Settings e -> LuaE e () -> IO ()