lua-users home
lua-l archive

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

On Wed, Feb 3, 2010 at 2:23 PM, Leo Razoumov <> wrote:
>>         local math, string from _G
> This is very neat. Is it possible to achieve the same effect using
> token filters or MetaLua  within Lua 5.1.4?

We can look for 'from' (not a keyword!) but it's hard for a token
filter to work backwards.  It's possible to do it as a
macro/tokenfiler if we write it like so:

import math, string from _G