Re: Quickly processing "Lua" files
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Quickly processing "Lua" files
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: 2019年3月24日 21:11:16 -0300
On 2019年03月24日 8:43 p.m., Luiz Henrique de Figueiredo wrote:
Is there an easy way to scan "Lua" files for lexical tokens and being
able to rearrange them without going with a full parser?
Try my ltokenp at http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/
This looks more like a patched Lua interpreter. Is there any way to
build this as a Lua module for Lua 5.1/5.2/5.3/LuaJIT and use it from,
say, LÖVE or something? I'd like to package the original sources rather
than ltokenp-processed files.
Sorry, I think I forgot to specify that I wanna do this from Lua, not
with an external tool. .-.