Re: Lisp's QUOTE and Mathematica's "Hold"



Richard Fateman wrote:
> All of
> JH's maunderings about macros and how that is what
> mathematica does, and therefore that is how lisp does
> something,

You are misrepresenting me. I was not trying to infer how Lisp evaluates
code, I was trying to find out if quote and eval could be useful for
writing an embedded Mathematica-like DSL in Lisp. It seems that they are
not, and the next most obvious Lisp implementation is essentially the same
as other languages. So macros are the only remaining point of interest.

> is basically wrong. Mathematica doesn't need
> or use macros, and neither does a computer algebra system
> written in Lisp, simulating Mathematica.

Not macros, functions mapping ASTs to ASTs. They are the core of Mathematica
and a language that provided this functionality clearly and efficiently
would be of great use in this kind of work.

--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com
.



Relevant Pages

  • Re: something to chat about, lisp and Mathematica for list processing.
    ... If Lisp macros count then Mathematica replacement rules should count. ... kind of a read-applyrules-print loop. ...
    (sci.math.symbolic)
  • Re: Very poor Lisp performance
    ... >> are similar in power to Lisp's macros. ... >> have to learn something about Common Lisp macros. ... > So given that you can programmatically manipulate Mathematica symbolic ... > it from evaluating in the future. ...
    (comp.lang.lisp)
  • Re: Lisps QUOTE and Mathematicas "Hold"
    ... >> algebra system written in Lisp, simulating Mathematica. ... > Not macros, functions mapping ASTs to ASTs. ... Then you should check out Lisp. ...
    (comp.lang.lisp)
  • Re: why do you choose LISP?
    ... i like lisp primarily bceause it is a functional lang. ... It is also during the early 1990s, i started to learn programing on my ... during these years i bought Mathematica (because i heard it's the ... I do not have any concrete idea what IS a language specification ...
    (comp.lang.lisp)
  • Re: Lisp and Scheme with fewer parentheses / Mathematica??
    ... Any dummy, at our level, knew that Mathematica and lisp have different ... programer, even with say 10 years of programing experience, chances ... functional language and one of the oldest language) ...
    (comp.lang.lisp)