Skip to content

Commit

Permalink
things
Browse files Browse the repository at this point in the history
  • Loading branch information
unforced committed Apr 30, 2013
1 parent 2dd6212 commit 73740d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interpreter.scm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
; main function, loops through the parse tree and calls functions to deal with the tuples.
(define interpret
(lambda (filename classname)
(if (string? classname) (set! classname (string->symbol classname)) 1)
(fixBool (call/cc (lambda (return)
(interpret-statement-list (append (parser filename) (list (list 'funcall (list 'dot classname 'main)))) base_env))))))

Expand Down

0 comments on commit 73740d1

Please sign in to comment.