pub fn parse(
state: &mut LuaState,
dyd: DynData,
source: &[u8],
name: &[u8],
firstchar: i32,
) -> Result<Box<LuaProto>, LuaError>Expand description
Top-level entry point: parses a whole chunk and returns the prototype of its
main function. The caller wraps this Box<LuaProto> into a closure and hands
it to the GC; that boundary is the public contract of this crate.