This commit is contained in:
Justin Ethier 2017-12-08 12:58:56 -05:00
parent 5adf35a364
commit b96813bb68
2 changed files with 18 additions and 13 deletions

View file

@ -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

View file

@ -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