[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Without a FileSystem?
- From: pocomane <pocomane_7a@...>
- Date: Tue, 10 Apr 2018 11:45:44 +0200
On Tue, Apr 10, 2018 at 6:15 AM, Russell Haley <russ.haley@gmail.com> wrote:
> Hi, ...
I am used to allocate a static big array in my .c and fill it with the
content of the script. I have some code [1] but, probably, for your
scenario, you need to extract the binary injection tool from the main
executable. You can pre-amalgamate your lua sources with tools like
luasquish [2]. For the C modules, you can statically link them.
---
[1] https://github.com/pocomane/binject (please, ignore 'luancher', it
uses yet an old, messy, binject version)
[2] http://matthewwild.co.uk/projects/squish/home