summaryrefslogtreecommitdiff
path: root/MLKLexicalEnvironment.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-06-27 12:44:25 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-06-27 12:44:25 +0200
commitcb23a76bbd3b7b1ccf4a5ec8894437e449a9047d (patch)
treec3a2a88747a51bf02a4ca028b9a12462eb549ec7 /MLKLexicalEnvironment.h
parent01703b9a42e4dac6ae83127ba8fc224e6f581c92 (diff)
MLKInterpreter: Implement the %LAMBDA operator.
Diffstat (limited to 'MLKLexicalEnvironment.h')
-rw-r--r--MLKLexicalEnvironment.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/MLKLexicalEnvironment.h b/MLKLexicalEnvironment.h
index b8efed3..a97d5b9 100644
--- a/MLKLexicalEnvironment.h
+++ b/MLKLexicalEnvironment.h
@@ -33,7 +33,11 @@
-(MLKLexicalEnvironment *) initWithParent:(MLKLexicalEnvironment *)aContext
variables:(NSDictionary *)vars
- functions:(NSDictionary *)handlers;
+ functions:(NSDictionary *)functions;
+
++(MLKLexicalEnvironment *) environmentWithParent:(MLKLexicalEnvironment *)context
+ variables:(NSDictionary *)vars
+ functions:(NSDictionary *)functions;
+(MLKLexicalEnvironment *) globalEnvironment;