title: Lua create own loadstring() function
body: <p>loadstring() and loadfile() Lua functions allow loading remote libraries and modules at runtime. As shown in this post it is very simple: <a href="https://stackoverflow.com/q/8599597/">How Do I Load Lua Module as a String Instead of a File?</a></p>
  
  <p>Unfortunately Corona SDK has removed both these function. <a href="http://developer.coronalabs.com/content/changes-lua" rel="nofollow noreferrer">Here's a list</a> of changes they have.</p>
  
  <p>Is it possible to implement loadstring in lua or load it from a separate module?
  They seem to provide a solution here but I don't really understand it and I don't think it will work in Corona cause it requires dofile which is also disabled in Corona
  <a href="http://lua-users.org/lists/lua-l/2012-04/msg00875.html" rel="nofollow noreferrer">http://lua-users.org/lists/lua-l/2012-04/msg00875.html</a></p>