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 David Masover other posts by this author
Nov 6 2009 8:31PM messages near this date
LISP macros vs Ruby procs ? | Re: LISP macros vs Ruby procs ?
On Friday 06 November 2009 01:28:49 pm 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 ?

New syntax is the main thing.

For example, take Pure:

http://purefunctional.rubyforge.org/

I was slow to grasp this point, but this actually cannot be written with 
traditional blocks -- at least, not easily. The implementation actually parses 
the source as a string.

I'm pretty sure Lisp could do something like this as a macro.
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