From: Chad Perrin Date: 2008-10-16T03:23:20+09:00 Subject: Re: Sample for Metaprogramming --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 16, 2008 at 12:27:05AM +0900, Sebastian Hungerecker wrote: > Chad Perrin wrote: > > Is there anyone here that knows Lisp well enough to provide a Lisp > > example that does the same thing, just for purposes of comparing how the > > two languages handle these techniques? >=20 > That's pretty complicated. The first step would be to define what "the sa= me=20 > thing" is in lisp. Lisp doesn't really have the concept of calling method= s on=20 > an object, so you'd have to come up with something else. And at that poin= t it=20 > would be kinda hard to compare the implementations, because they'd implem= ent=20 > somewhat different things. I'm aware of the existence of CLOS, but don't really know anything about its specifics of implementation and use. How does it handle the kind of functionality that, in Ruby, consists of sending messages to objects to invoke their methods? Should we take this off-list? --=20 Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Alan Perlis: "LISP programmers know the value of everything and the cost of nothing." --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj2Mu0ACgkQ9mn/Pj01uKUsfACeN/EvbAwVvbpBYUtwIbPAsB0d loIAoP0U13nzZoNZkHY2v649eSVjVXeM =qu4y -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--