From 14855cef41483f7e44c089345707a885954e51cf Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 27 Feb 2015 22:44:06 -0500 Subject: [PATCH] Temporary testing --- test.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test.scm 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)))