lua-users home
lua-l archive

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

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

--------------- Mensagem Original ---------------
Message: 8
Date: Fri, 28 Nov 2003 11:19:21 -0200
From: Roberto Ierusalimschy <>
Subject: Re: lua_load hook (was On the subject of Lua's grammar...
        --[[ ]])
To: Lua list <>
Message-ID: <>
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