lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 21 May 2014 15:16, Thiago L. <fakedme@gmail.com> wrote:
> Well this works: f = loadstring(string.dump(function(t,k,...) return
> t:t(...) end):gsub('\203%z\64%z','\203\64\0\0')); f(_G,'print')
>
> Now I just need a bytecode lib and a Lua parser + lexer + etc in
> (pure-)Lua...

There you go:

https://github.com/andremm/lua-parser
https://github.com/andremm/lad

Have fun!

-- Hisham