Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bc = require("jit.bc")
- local lua = [[
- local asd=nil
- asd=nil
- asd=nil
- asd=1
- asd=nil
- do
- local asd=2
- end
- b=1
- ]]
- local t = {}
- local out = {
- -- Do something with each line:
- write = function(t, ...) logn(...) end,
- close = function(t) end,
- flush = function(t) end,
- }
- print(lua)
- bc.dump(loadstring(lua), out, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement