mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
Issue #480
This commit is contained in:
parent
6869c96908
commit
83937b4639
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ This macro system provides the convenience functions `(rename identifier)` to hy
|
||||||
- A file may be compiled with the `-t` option which will write all of the intermediate transformations - including macro expansions - out to the `.c` file.
|
- A file may be compiled with the `-t` option which will write all of the intermediate transformations - including macro expansions - out to the `.c` file.
|
||||||
- From the interpreter one can use `expand`:
|
- From the interpreter one can use `expand`:
|
||||||
|
|
||||||
cyclone> (expand '(when #t (+ 1 2 3)) *global-environment* '())
|
cyclone> (expand '(when #t (+ 1 2 3)))
|
||||||
(if #t ((lambda () (+ 1 2 3))) )
|
(if #t ((lambda () (+ 1 2 3))) )
|
||||||
|
|
||||||
- Alternatively when developing an ER macro, since its just a Scheme function, the macro can be defined as a `lambda` and passed a quoted expression to debug:
|
- Alternatively when developing an ER macro, since its just a Scheme function, the macro can be defined as a `lambda` and passed a quoted expression to debug:
|
||||||
|
|
Loading…
Add table
Reference in a new issue