summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MLKInterpreter.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/MLKInterpreter.m b/MLKInterpreter.m
index 030d537..5602677 100644
--- a/MLKInterpreter.m
+++ b/MLKInterpreter.m
@@ -36,6 +36,8 @@
#import <Foundation/NSNull.h>
#import <Foundation/NSString.h>
+#include <stdio.h>
+
static MLKPackage *cl;
static MLKPackage *sys;
@@ -579,7 +581,8 @@ static MLKSymbol *_LAMBDA;
else
formdesc = [code descriptionForLisp];
- NSLog (@"; LOAD: Evaluating a top-level form: %@.", formdesc);
+ fprintf (stderr, "; LOAD: %s\n",
+ [formdesc UTF8String]);
result = [MLKInterpreter
eval:code
inLexicalContext:[MLKLexicalContext globalContext]