[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bytecode hacks
- From: Hisham <h@...>
- Date: Thu, 22 May 2014 12:43:32 -0300
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