[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANNOUNCE] lua_dolines-1.1.patch
- From: Edgar Toernig <froese@...>
- Date: Wed, 31 Jul 2002 23:56:34 +0200
Juergen Fuhrmann wrote:
> Edgar Toernig <froese@gmx.de> wrote:
> > Luiz Henrique de Figueiredo wrote:
> > >
> > > In Lua 5.0, chunks are loaded via a single API function, lua_load, which
> > > receives a user function that handles blocks of bytes to Lua's core for
> > > parsing (or undumping).
> >
> > It would be nice if this function could be a Lua function. Or even
> > better, a hook between lexer and parser...
>
> Possibly, this just can be realized by lua_rawcall in the handler.
Unfortunately not at the moment. The parser relies on the fact that
the GC will not be invoked during compilation.
Ciao, ET.