Re: Lexical environments
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lexical environments
 
- From: steve donovan <steve.j.donovan@...>
 
- Date: Wed, 3 Feb 2010 14:34:37 +0200
 
On Wed, Feb 3, 2010 at 2:23 PM, Leo Razoumov <slonik.az@gmail.com> 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