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
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

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