LISP macros vs Ruby procs ?
by Aldric Giacomoni other posts by this author
Nov 6 2009 11:29AM messages near this date
Re: [ANN] Hpricot 0.8.2 released
|
Re: LISP macros vs Ruby procs ?
I'm reading the LISP book on www.gigamonkeys.com to take a look at what
some people still call the best language ever. It's pretty cool.
I'm reading about macros now, and I remember from Ola Bini's blog that
Ruby can't do macros.
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?
If there are any seasoned LISPers here, can you think of a sample LISP
macro that can't be written in Ruby, to help me understand better?
Your help will be much appreciated.
Thanks,
--Aldric
--
Posted via http://www.ruby-forum.com/.
Thread:
Aldric Giacomoni
David Masover
Ryan Davis
Lith
Rick DeNatale
Lith
Aldric Giacomoni
Marnen Laibow-Koser
|