From: gabriele renzi Date: 2005-09-27T15:31:43+09:00 Subject: Re: Fwd: Lisp macros Joe Van Dyk ha scritto: > On 9/26/05, James Britt wrote: > >>Joe Van Dyk wrote: >> >>>Whoops, this belongs on ruby-talk... Sorry. >> >>I trust the accidental exposure to Lisp wasn't too traumatizing. >> >>Anyway, there have been sporadic discussions both here and on ruby-core >>about adding true Lisp-style macros to Ruby. My understanding is that >>while Ruby can do assorted flips and twists, it cannot do quite the same >>sort of things as found in Lisp (and I hope a true Lisper here can >>elaborate on this); I also believe that Matz is less than enamored with >>idea of adding this to Ruby (and I hope a true Matz can elaborate on >>this, too). > > > I'm just repeating what I've heard numerous times, but apparently, you > can only get Lisp macros if the language has lots of silly irritating > parenthesis. And since Ruby has syntax, it wouldn't be possible. well you can get lisp macros only in a s-exp based language, but there are other mcro systems :) Take a look at Dylan (close relative of lisp with more syntax), Nemerle and Logix. All succed to put a powerful macro system in a syntax which does not need prefix based everything :)