[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_load hook (was On the subject of Lua's grammar... --[[ ]])
- From: Andre de Leiradella <leiradella@...>
- Date: Fri, 28 Nov 2003 15:18:45 -0200
Hey, I can't wait to make a Lua luareader! It'll make it much easier to
write pre-processors to filter Lua source code, as lhf already showed in
another message!
Andre de Leiradella
http://www.geocities.com/andre_leiradella/
--------------- Mensagem Original ---------------
Message: 8
Date: Fri, 28 Nov 2003 11:19:21 -0200
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Subject: Re: lua_load hook (was On the subject of Lua's grammar...
--[[ ]])
To: Lua list <lua@bazar2.conectiva.com.br>
Message-ID: <200311281319.hASDJLh32760@arraial.inf.puc-rio.br>
Content-Type: text/plain; charset="us-ascii"
BTW, Lua 5.1 removes the restriction that you cannot call Lua from a
reader. In particular it provides the "load" function in Lua, so it will
be possible to write such hooks in Lua itself.
-- Roberto