Re: Very poor Lisp performance
- From: Peter Seibel <peter@xxxxxxxxxxxxxxx>
- Date: Fri, 19 Aug 2005 18:38:25 GMT
Jon Harrop <usenet@xxxxxxxxxxxxxx> writes:
> Brian Downing wrote:
>> In article <m2iry1q2j6.fsf@xxxxxxxxxxxxxxx>,
>>> I'm not sure it's been established that Mathematica has macros that
>>> are similar in power to Lisp's macros. If you want to see what an
>>> honest attempt to combine infix operators with Lisp-style macros looks
>>> like you should check out Dylan or (more recently) the Java Syntactic
>>> Extender[1]. However to understand the comparison you'll, of course,
>>> have to learn something about Common Lisp macros. And if you really
>>> want to go to town, look into Scheme's various macro systems which
>>> offer a slightly different take on the problem.
>
> Can you give me a reference explaining the difference between Lisp and
> Scheme here? I didn't realise this existed...
Sure. Read about Common Lisp macros. Then read about Scheme
macros. Then note that they are quite different. For extra credit,
note that they also share a deep underlying similarity. I don't mean
to be flip but you're going to have to learn about some of this stuff
yourself to be able to understand it.
>> There's certainly no concept of "macroexpansion time" and "run time" like
>> there is in CL,
>
> So you cannot use macros to generate code to generate macros to
> generate code in Lisp?
How on earth did you get from what Brian said to that.
>> and there's no simple QUOTE operator
>
> What does the quote operator do?
Hmmm. Do you know about the Hyperspec? The answer to all your
questions (and more) about Common Lisp are contained therein. Or if
you want to learn about Common Lisp in a more expository form form, I
can't help but recommend the book listed in my .sig. What kind of
comparative linguist are you if can't even go to the effort to look up
a few words in the "dictionary" to see what they mean.
-Peter
--
Peter Seibel * peter@xxxxxxxxxxxxxxx
Gigamonkeys Consulting * http://www.gigamonkeys.com/
Practical Common Lisp * http://www.gigamonkeys.com/book/
.
- Follow-Ups:
- Re: Very poor Lisp performance
- From: Greg Buchholz
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- References:
- Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Ulrich Hobelmann
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Peter Seibel
- Re: Very poor Lisp performance
- From: Brian Downing
- Re: Very poor Lisp performance
- From: Jon Harrop
- Very poor Lisp performance
- Prev by Date: Re: Very poor Lisp performance
- Next by Date: Re: Very poor Lisp performance
- Previous by thread: Re: Very poor Lisp performance
- Next by thread: Re: Very poor Lisp performance
- Index(es):
Relevant Pages
|