diff options
Diffstat (limited to 'MLKRoot.m')
-rw-r--r-- | MLKRoot.m | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -776,4 +776,12 @@ as provided by method %@ of object %@", ? (id)[arglist array] : (id)[NSArray array])]; } + ++(NSArray *) eval:(NSArray *)args +{ + id evaluand = denullify ([args objectAtIndex:0]); + return [MLKInterpreter eval:evaluand + inLexicalContext:[MLKLexicalContext globalContext] + withEnvironment:[MLKLexicalEnvironment globalEnvironment]]; +} @end |