[Ironruby-core] Code Review: ScopesAndCrossRuntime
Tomas Matousek
Tomas.Matousek at microsoft.com
Sat Dec 6 16:59:16 EST 2008
tfpt review "/shelveset:ScopesAndCrossRuntime;REDMOND\tomat"
DLR, Python, JS:
A little bit of code context cleanup and dead code removal.
Ruby:
- Removes RubyScope <: CodeContext inheritance relationship.
- Implements isSelfContained flags for modules as it works for classes.
- Nests Clr module into a new IronRuby module that maps to IronRuby.Ruby hosting class. The hierarchy is as follows:
module IronRuby
module Clr
def self.profile
end
end
module ParseTree
...
end
#hosting methods:
def self.create_runtime
def self.create_engine
...
end
- Fixes bugs in cross-runtime object access, adds some tests. Prohibits adding methods and mixins to a class defined in a foreign runtime.
Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScopesAndCrossRuntime.diff
Type: application/octet-stream
Size: 95241 bytes
Desc: ScopesAndCrossRuntime.diff
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081206/9506e5fd/attachment-0001.obj>
More information about the Ironruby-core
mailing list