[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Dogfood released; an alternative for creating 'self running' Lua programs
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 7 Aug 2020 14:44:24 -0300
luacc.lua accepts several scripts to run but does not work because
this line in luacc.lua does not work as intended:
bytecode = table.concat(bytecode)
Simply concatenating bytecode for two scritps does not produce
bytecode that runs both scripts. luac.c does some magic to make this
happen. I wrote luac.lua [1] that does that but it's neither pretty
nor portable.
[1] http://lua-users.org/lists/lua-l/2008-08/msg00092.html