mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +02:00
Test case for compile-time eval
This commit is contained in:
parent
cc15c8b5f3
commit
e68ae17b86
1 changed files with 9 additions and 4 deletions
13
test.scm
13
test.scm
|
@ -1,7 +1,12 @@
|
||||||
((lambda (x)
|
;((lambda (x)
|
||||||
((lambda ()
|
; ((lambda ()
|
||||||
((lambda (z)
|
; ((lambda (z)
|
||||||
(+ x z)) 2)))) 1)
|
; (+ x z)) 2));))
|
||||||
|
; 1)
|
||||||
|
;((lambda (x y z) (+ x y)) 1 2 3)
|
||||||
|
|
||||||
|
((lambda () (+ 1 2)))
|
||||||
|
|
||||||
;;; Temporary testing, delete this once it works
|
;;; Temporary testing, delete this once it works
|
||||||
; Need to rewrite the code to use this, and preserve the global def
|
; Need to rewrite the code to use this, and preserve the global def
|
||||||
;(define (test)
|
;(define (test)
|
||||||
|
|
Loading…
Add table
Reference in a new issue