lua-users home
lua-l archive

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


On 2012-06-09 23:46, Luiz Henrique de Figueiredo wrote:
> So why not just use luaL_loadbuffer?
Good question, is the effect the same when I want to preload?

> Read lauxlib.c and my own ae:
> 	http://www.lua.org/source/5.2/lauxlib.c.html   (at Load functions)
> 	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#ae
Thanks, started reading the lauxlib.c after Peter's response. Looking
into ae now.

Btw: the sentence in my previous email should have been:

> I'm trying to use the reader for the preload mechanism in Lua, not
> just load a chunk for a call.

// Oliver