[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: for infinite loop bug
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 2 Nov 2002 09:19:49 -0300
>I see... Hmmm, I'm not in favour of maintaining two different parsers.
>Maybe it would be better then to have a separate program that performs
>these checks. A bit like 'lint' does for C. But such a thing could be
>progammed relatively easy, I think, and why not in Lua itself?
A Lua parser written in Lua would be nice. I've started working on this
several times but never finished it...
>On another note, I would love the function that luac uses
>to dump lua functions and data to bytecode to become
>a library that can easily be integrated with the lua interpreter.
Lua 5.0 will have lua_dump and a dump function in the baselib.
A dump function is also available in 5.0 alpha experimentally. See src/luac.
--lhf