[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua script file size problem
- From: "Edwin Eyan Moragas" <haaktu@...>
- Date: Thu, 16 Aug 2007 15:36:35 +0800
On 8/16/07, Rob Kendrick <firstname.lastname@example.org> wrote:
> Wesley Smith top-posted:
> > Could you write it to file and call luaL_dofile?
> This strikes me as an inelegant hack, if the data's coming over the network.
> Does the Lua API support incremental parsing, such that you can keep
> calling a function to pump more data in, and then signal the end?
parsing a lua lib file sounds like incremental parsing.
why not send the source one file at a time then the calling code
as the last?