lua-bytecode-0.1.0.0: Library for loading Lua bytecode.
Lua.Bytecode5_1.Types
class LuaGet a whereSource
Methods
luaGet :: Get aSource
Instances
runLuaGet :: LuaGet a => ByteString -> Either String aSource
getList32 :: LuaGet a => Get [a]Source
getByteString32 :: Get ByteStringSource
type Table = Map Constant ConstantSource
data Constant Source
Constructors
getConstant :: Get ConstantSource
data Local Source
Fields
getLocal :: Get LocalSource
data LuaTypes Source
luaIBitsInt :: IntegerSource
sizeC :: IntSource
sizeB :: IntSource
sizeBx :: IntSource
sizeA :: IntSource
sizeOp :: IntSource
posOp :: IntSource
posA :: IntSource
posC :: IntSource
posB :: IntSource
posBx :: IntSource
maxArgBx :: Word32Source
maxArgSBx :: Word32Source
maxArgA :: Word32Source
maxArgB :: Word32Source
maxArgC :: Word32Source
mask1 :: (Num a, Bits a) => Int -> Int -> aSource
mask0 :: (Num a, Bits a) => Int -> Int -> aSource
getOpcode :: Word32 -> Word32Source
setOpcode :: (Num a, Bits a) => a -> a -> aSource
getArg :: (Num a, Bits a) => a -> Int -> Int -> aSource
setArg :: (Num a, Bits a) => a -> a -> Int -> Int -> aSource
getArgA :: (Num a, Bits a) => a -> aSource
setArgA :: (Num a, Bits a) => a -> a -> aSource
getArgB :: (Num a, Bits a) => a -> aSource
setArgB :: (Num a, Bits a) => a -> a -> aSource
getArgC :: (Num a, Bits a) => a -> aSource
setArgC :: (Num a, Bits a) => a -> a -> aSource
getArgBx :: Word32 -> Word32Source
setArgBx :: (Num a, Bits a) => a -> a -> aSource
getArgSBx :: Word32 -> Word32Source
setArgSBx :: Word32 -> Word32 -> Word32Source
createABC :: Bits a => a -> a -> a -> a -> aSource
createABx :: Bits a => a -> a -> a -> aSource
bitRK :: Word32Source
isK :: Word32 -> BoolSource
k :: Word32 -> Either Word32 Word32Source
data Opcode Source
numOpcodes :: IntSource
data OpMode Source
data OpArgMask Source
data OpcodeFields Source
toOpcodeFields :: Word32 -> OpcodeFieldsSource
data Operation Source
type Operations = Vector OperationSource
opModes :: Array Opcode Word8Source
type Stack = Vector ConstantSource
data GlobalState Source
type StackId = IntSource
data State Source
g :: State -> TableSource
data Closure Source
data Prototype Source
type Prototypes = Vector PrototypeSource
data CallInfo Source