Files
ikarus/scheme
Abdulaziz Ghuloum fc80aaae37 - 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
..
2008-06-28 02:25:44 -07:00
2008-08-08 08:29:18 -07:00
2008-10-31 23:09:03 -04:00
2008-06-28 02:25:44 -07:00
2008-07-12 10:40:22 -07:00
2008-06-28 02:25:44 -07:00
2008-10-21 05:52:42 -04:00