mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-10 06:27:32 +02:00
WIP
This commit is contained in:
parent
4e6096d64b
commit
6fdbf13cbe
1 changed files with 4 additions and 2 deletions
6
test.scm
6
test.scm
|
@ -10,6 +10,8 @@
|
||||||
;; Demonstrate sending an interpreted function to compiled code
|
;; Demonstrate sending an interpreted function to compiled code
|
||||||
;; I think in order for this to work, the compiled code would have to
|
;; I think in order for this to work, the compiled code would have to
|
||||||
;; detect an interpreted proc, and use eval to execute it
|
;; detect an interpreted proc, and use eval to execute it
|
||||||
;(eval '(call (lambda (x) x) (display (+ 1 1))))
|
|
||||||
|
;; TODO: to debug this, may try placing printfs in runtime's apply
|
||||||
|
(eval '(call (lambda (x) x) (display (+ 1 1))))
|
||||||
;(eval '(call write 1))
|
;(eval '(call write 1))
|
||||||
(eval '(call mywrite 1))
|
;(eval '(call mywrite 1))
|
||||||
|
|
Loading…
Add table
Reference in a new issue