Skip to content

Commit 73740d1

Browse files
committed
things
1 parent 2dd6212 commit 73740d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interpreter.scm

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
; main function, loops through the parse tree and calls functions to deal with the tuples.
1111
(define interpret
1212
(lambda (filename classname)
13+
(if (string? classname) (set! classname (string->symbol classname)) 1)
1314
(fixBool (call/cc (lambda (return)
1415
(interpret-statement-list (append (parser filename) (list (list 'funcall (list 'dot classname 'main)))) base_env))))))
1516

0 commit comments

Comments
 (0)