lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On May 15, 2012, at 12:55 PM, Sam Roberts wrote:

> On Tue, May 15, 2012 at 12:21 PM, Bruce Wheaton <bruce@spearmorgan.com> wrote:
>> Sorry if this is a stupid question, but it seems that I have to feed data into the lua vm in whole chunks?
> 
> http://www.lua.org/manual/5.1/manual.html#lua_Reader

Thanks, but that looks to be the reverse of what I need, as far as I can tell. I think I'm looking for some insight on how lua.c, for example, passes fragments of lua in and can tell they aren't complete chunks yet.

Bruce