We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dd6212 commit 73740d1Copy full SHA for 73740d1
interpreter.scm
@@ -10,6 +10,7 @@
10
; main function, loops through the parse tree and calls functions to deal with the tuples.
11
(define interpret
12
(lambda (filename classname)
13
+ (if (string? classname) (set! classname (string->symbol classname)) 1)
14
(fixBool (call/cc (lambda (return)
15
(interpret-statement-list (append (parser filename) (list (list 'funcall (list 'dot classname 'main)))) base_env))))))
16
0 commit comments