chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] is it possible to define expand-time values?


From: Marco Maggi
Subject: Re: [Chicken-users] is it possible to define expand-time values?
Date: Sat, 04 May 2019 16:29:44 +0200

Marco Maggi wrote:

> ...  in CHICKEN  5.0.0  or in  a  future release?   I  can find  nothing
> relevant on the CHICKEN Wiki.  Here what they should do:

> <http://marcomaggi.github.io/docs/vicare-scheme.html/iklib-expander-etv.html>

> it would open a can of worms^H^H^H^H^H possibilities.

Lame self reply.  I see I can do something similar with:

   (define-for-syntax ciao (list 1 2 3))

   (define-syntax hello
     (ir-macro-transformer
       (lambda (input x y)
         (let ((it (cadr input)))
        (pretty-print (eval it))
        1))))
   
   (hello ciao)

but EVAL uses are ugly (and dangerous).
-- 
Marco Maggi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]