[prev in list] [next in list] [prev in thread] [next in thread]
List: racket-users
Subject: [plt-scheme] define syntax
From: jpc () pld-linux ! org (=?UTF-8?B?SmFrdWIgUGlvdHIgQ8WCYXBh?=)
Date: 2007-11-24 14:14:42
Message-ID: 474831D2.7050200 () pld-linux ! org
[Download RAW message or body]
Day wrote:
> I have an interesting and curious question:
>
> Is it possible to define define-syntax using Scheme (without using any
> higher macros, just scheme itself)?
Maybe you are looking for defmacro.ss from mzlib [1]? Even without this
AFAIK define-syntax accepts any one argument function. This argument is
a syntax object which can be transformed into datum if you don't mind
the lack of higiene.
[1] http://pre.plt-scheme.org/docs/html/mzlib/mzlib-Z-H-18.html#node_chap_18
--
regards,
Jakub Piotr C?apa
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic