ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved