This website requires JavaScript.
Explore
Help
Register
Sign In
conservatory
/
ikarus
Watch
4
Star
0
Fork
You've already forked ikarus
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
fc80aaae37
ikarus
/
scheme
/
last-revision
2 lines
5 B
Plaintext
Raw
Normal View
History
Unescape
Escape
- added the ability to inject arbitrary compile time values using: (define-syntax foo (make-compile-time-value <expr>)) The value can be retrieved using curried macro transformers. E.g., (let-syntax ([idval (lambda (x) (syntax-case x () [(_ id) (lambda (rho) (with-syntax ([val (datum->syntax #'here (rho #'id))]) #''val))]))]) (let-syntax ([ctval (make-compile-time-value 'foo)]) (list (idval ctval) (idval others)))) ;=> (foo #f)
2008-11-14 04:32:08 -05:00
1676