[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enhancement to the syntax system?
From: |
Ludovic Courtès |
Subject: |
Re: Enhancement to the syntax system? |
Date: |
Tue, 03 Jul 2012 23:33:39 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.1 (gnu/linux) |
Hey!
Stefan Israelsson Tampe <address@hidden> skribis:
>> Stefan Israelsson Tampe <address@hidden> skribis:
>>
>> > Maybe this help to see what I'm after,
>> >
>> > #'(let ((x v)) #.(f #'x))
>> >
>> > <=>
>> >
>> > (let-syntax ((g (lambda (stx) (syntax-case stx ((_ x) (f #'x)))))
>> > #'(let ((x v)) (g x))
[...]
> If you want to try another path using functions in stead of macros and
> working hard with #, and #,@
> you will for complex macros like a matcher need to gensym by hand or
> destroy the readability of the
> code. As illustrated by the simple example above.
Hmm, the example above does not use gensym. What am I missing?
Ludo’.
- Re: Enhancement to the syntax system?, Ludovic Courtès, 2012/07/02
- Re: Enhancement to the syntax system?, Stefan Israelsson Tampe, 2012/07/02
- Re: Enhancement to the syntax system?, Ludovic Courtès, 2012/07/02
- Re: Enhancement to the syntax system?, Ludovic Courtès, 2012/07/09
- Re: Enhancement to the syntax system?, Stefan Israelsson Tampe, 2012/07/09
- Re: Enhancement to the syntax system?, Ludovic Courtès, 2012/07/10
- Re: Enhancement to the syntax system?, Stefan Israelsson Tampe, 2012/07/10
- Re: Enhancement to the syntax system?, Marijn, 2012/07/10
- Re: [racket-dev] Enhancement to the syntax system?, Eli Barzilay, 2012/07/10
- Re: [racket-dev] Enhancement to the syntax system?, Matthew Flatt, 2012/07/10