Re: LISP macros vs Ruby procs ?
by Ryan Davis other posts by this author
Nov 6 2009 3:11PM messages near this date
Re: LISP macros vs Ruby procs ?
|
Re: LISP macros vs Ruby procs ?
On Nov 6, 2009, at 11:28 , Aldric Giacomoni wrote:
> In my limited understanding, it seems that the only thing separating
> Ruby from "true macros" is the ability to ... Define new keywords /
> new
> syntax ?
> LISP's ` (the backtick) is roughly equivalent to Ruby's eval with a
> string, right?
yes and no... one of the other differences is that lisp macros are
handled at parse time, not runtime.
You might want to look at caleb's ruby macros... I could never get it
to work for me, but you may have better luck.
Thread:
Aldric Giacomoni
David Masover
Ryan Davis
Lith
Rick DeNatale
Lith
Aldric Giacomoni
Marnen Laibow-Koser
|