[plt-scheme] define syntax

From: Jakub Piotr Cłapa (jpc at pld-linux.org)
Date: Sat Nov 24 09:14:42 EST 2007

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

Jakub Piotr Cłapa

Posted on the users mailing list.