mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
WIP
This commit is contained in:
parent
5adf35a364
commit
b96813bb68
2 changed files with 18 additions and 13 deletions
|
@ -4,7 +4,12 @@
|
|||
|
||||
Features
|
||||
|
||||
- WIP: let-syntax
|
||||
- Added `let-syntax` to the compiler and interpreter.
|
||||
- Allow `eval` to recognize `syntax-rules` macros.
|
||||
|
||||
Internal Changes
|
||||
|
||||
- Relocated all macro expansion code to the `(scheme eval)` module. `(scheme cyclone macros)` is now obsolete.
|
||||
|
||||
## 0.7 - November 17, 2017
|
||||
|
||||
|
|
|
@ -85,18 +85,18 @@
|
|||
b))))
|
||||
(second 33 44 55)))
|
||||
|
||||
|
||||
; (my-when2
|
||||
; 't
|
||||
; 1
|
||||
; (let-syntax
|
||||
; ((my-when3
|
||||
; (syntax-rules ()
|
||||
; ((my-when3 test result1 result2 ...)
|
||||
; (list result2 ...)))))
|
||||
; (my-when3 33 44 55))
|
||||
; 2
|
||||
; 3))
|
||||
(write
|
||||
(my-when2
|
||||
't
|
||||
1
|
||||
(let-syntax
|
||||
((my-when3
|
||||
(syntax-rules ()
|
||||
((my-when3 test result1 result2 ...)
|
||||
(list result2 ...)))))
|
||||
(my-when3 33 44 55))
|
||||
2
|
||||
3))
|
||||
;(write
|
||||
; (my-when2 '(my-when2 't 1 2 3) (lambda (a) a) (lambda X #f)))
|
||||
;(write
|
||||
|
|
Loading…
Add table
Reference in a new issue