title: Compiling lua scripts into a dll?
body: <p>I have heard of using LuaJIT to compile Lua code into bytecode and then into a static library. </p>
  
  <p>Ideally I would want to be able to compile the Lua code into a dynamic library so I don't have to rebuild the main executable.</p>
  
  <p>Can you compile Lua into a dll? If so how do you link it to c++ code since there's no headers? 
  Finally how would you run the Lua scripts from inside the program?</p>