diff --git a/test.scm b/test.scm new file mode 100644 index 00000000..c9717e9e --- /dev/null +++ b/test.scm @@ -0,0 +1,10 @@ +;; Temporary testing, delete this once it works +(define (call fn a) + (fn a)) + +(call write 'hello) + +;; Demonstrate sending an interpreted function to compiled code +;; I think in order for this to work, the compiled code would have to +;; detect an interpreted proc, and use eval to execute it +(eval '(call (lambda (x) x)))