mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-21 14:49:17 +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
|
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
|
## 0.7 - November 17, 2017
|
||||||
|
|
||||||
|
|
|
@ -85,18 +85,18 @@
|
||||||
b))))
|
b))))
|
||||||
(second 33 44 55)))
|
(second 33 44 55)))
|
||||||
|
|
||||||
|
(write
|
||||||
; (my-when2
|
(my-when2
|
||||||
; 't
|
't
|
||||||
; 1
|
1
|
||||||
; (let-syntax
|
(let-syntax
|
||||||
; ((my-when3
|
((my-when3
|
||||||
; (syntax-rules ()
|
(syntax-rules ()
|
||||||
; ((my-when3 test result1 result2 ...)
|
((my-when3 test result1 result2 ...)
|
||||||
; (list result2 ...)))))
|
(list result2 ...)))))
|
||||||
; (my-when3 33 44 55))
|
(my-when3 33 44 55))
|
||||||
; 2
|
2
|
||||||
; 3))
|
3))
|
||||||
;(write
|
;(write
|
||||||
; (my-when2 '(my-when2 't 1 2 3) (lambda (a) a) (lambda X #f)))
|
; (my-when2 '(my-when2 't 1 2 3) (lambda (a) a) (lambda X #f)))
|
||||||
;(write
|
;(write
|
||||||
|
|
Loading…
Add table
Reference in a new issue