[e-lang] Alternative E loader

Thomas Leonard tal at it-innovation.soton.ac.uk
Mon Feb 22 04:36:17 PST 2010


On Fri, 2010-02-19 at 11:32 -0500, Kevin Reid wrote:
> On Feb 11, 2010, at 11:50, Thomas Leonard wrote:
[...]

I've made some changes following your comments:

git pull git://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation.git eloader

http://gitorious.org/repo-roscidus/it-innovation/commit/4797228524e785f9c30759855da3b4adabc58078


- safeScope no longer contains the extra bindings, just a traceln with
the right FQName.

- The new environments are constructed without using Scope.fromState.

- "scopeExtras" is now "envExtras".

- Added a nestOuter call, so that the bindings can be overridden.

I also made two other changes:
    
- <this> is no longer added automatically. It's easy enough to pass it
in explicitly to envExtras when desired, and this allows it to be
subclassed too.

- getRoot() has been removed. A subclass of the loader that provides it
can be bound to <this> where necessary.


-- 
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Southampton
Hampshire SO16 7NP

Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:tal at it-innovation.soton.ac.uk
http://www.it-innovation.soton.ac.uk 



More information about the e-lang mailing list