Advertisement
CapsAdmin

Untitled

Mar 9th, 2014
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. local bc = require("jit.bc")
  2.  
  3. local lua = [[
  4. local asd=nil
  5. asd=nil
  6. asd=nil
  7. asd=1
  8. asd=nil
  9. do
  10.     local asd=2
  11. end
  12.  
  13. b=1
  14. ]]
  15.  
  16. local t = {}
  17.  
  18. local out = {
  19.     -- Do something with each line:
  20.     write = function(t, ...) logn(...) end,
  21.     close = function(t) end,
  22.     flush = function(t) end,
  23. }
  24.  
  25. print(lua)
  26.  
  27. bc.dump(loadstring(lua), out, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement