mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 04:55:04 +02:00
Temporary testing
This commit is contained in:
parent
7c647e0eb1
commit
14855cef41
1 changed files with 10 additions and 0 deletions
10
test.scm
Normal file
10
test.scm
Normal file
|
@ -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)))
|
Loading…
Add table
Reference in a new issue