[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Globals (more ruminations)
- From: Jonathan Castello <twisolar@...>
- Date: Sun, 11 Jul 2010 17:06:36 -0700
What if no syntax was changed, but every chunk got its own personal
environment instead, which library functions like require() can import
into the calling chunk's environment if desired? You could have one
function that maintains the current behavior (which would probably
remain require()), and another that simply returns the chunk's
environment.
~Jonathan