Copyright | Copyright © 2017-2022 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <albert@hslua.org> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Embeddable Lua interpreter interface.
Synopsis
- runStandalone :: LuaError e => Settings e -> IO ()
- data Settings e = Settings {
- settingsVersionInfo :: Text
- settingsRunner :: LuaE e () -> IO ()
Run scripts as program
runStandalone :: LuaError e => Settings e -> IO () Source #
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
.
Settings for the Lua command line interface.
Settings | |
|