The lua-bytecode package

[Tags: bsd3, library]

You can use this library to load LUA bytecode into its logical structure. Currently LUA 5.1 is supported.

 import System.Environment
 import Lua.Bytecode5_1.Chunk
 import Lua.Bytecode5_1.Types
 import Lua.Bytecode5_1.Header
 import qualified Data.ByteString as BS
 import Text.Show.Pretty

 main = do
 	args <- getArgs
 	b <- BS.readFile $ args !! 0
 	let f = runLuaGet b :: Either String Function
 	putStrLn $ ppShow f

Properties

Version0.1.0.0
Dependenciesarray, base (==4.*), bytestring (>0.9), cereal (>=0.3), containers, hashable, numeric-extras, vector (>=0.10)
LicenseBSD3
CopyrightCopyright (c) Jeff Shaw 2013
AuthorJeff Shaw
Maintainershawjef3@gmail.com
CategoryLUA
UploadedWed Jun 19 15:42:48 UTC 2013 by JeffShaw
Downloads149 total (7 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees