[plt-scheme] Macros in other programming languages?

From: hendrik at topoi.pooq.com (hendrik at topoi.pooq.com)
Date: Tue Jun 26 20:57:57 EDT 2007

On Tue, Jun 26, 2007 at 06:06:34PM -0500, Grant Rettke wrote:
> Hi folks,
> 
> There seem to be a number of folks very actively utilizing macros in Scheme.
> 
> What are some other language you've used which provide this feature?

There was the stand-alone macro processsor ML/1 way back in the 60's.  
It could be used to preprocess justa bout any language.  It had a 
rich delimiter syntax, so it could handle macros that coule be 
called like

  for i in list foo do onionsoup(i) end

and recognise that the parameters of this macro were
   i
   foo
   onionsoup(i)

It is also the only macro language I know that allowed nested scopes in 
the macro language and handled proper static binding of macro-time 
names.

-- hendrik


Posted on the users mailing list.