title: Compile lua code, store bytecode then load and execute it
body: <p>I'm trying to compile a lua script that calls some exported functions, save the resulting bytecode to a file and then load this bytecode and execute it, but I haven't found any example on how to do this. Is there any example available on how to do this? How can I do this?</p>
  
  <p>Edit: I'm using Lua + Luabind (C++)</p>