Re: [ANNOUNCE] lua_dolines-1.1.patch
[Date Prev][
Date Next][Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANNOUNCE] lua_dolines-1.1.patch
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2002年7月31日 23:00:11 -0300
>Unfortunately not at the moment. The parser relies on the fact that
>the GC will not be invoked during compilation.
The user function that is called by lua_load has this signature:
typedef const char * (*lua_Chunkreader) (void *ud, size_t *size);
Note that it does *not* get a lua_State. But GC is not the only problem.
The real problem is that Lua code cannot be run during parsing; several
data structures are in a unfinished state.
--lhf