Re: Lua Without a FileSystem?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua Without a FileSystem?
- From: pocomane <pocomane_7a@...>
- Date: 2018年4月10日 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