Re: eval use ?



I don't know why I bother replying, but here goes

Majorinc wrote:


McCarthy seems to be on my side:

"It seems to me that LISP will probably be superseded for many
purposes by a language that does to LISP what LISP does to
machine language. Namely it will be a higher level language
than LISP that, like LISP and machine language, can refer to
its own programs."

Hmm. Don't see "programmer use of EVAL" in his statement.

How do you think "code=data" can be possible without EVAL?
Macros fall short here, because code=data means that code can
be processed during runtime, just like data is usually
processed during runtime.

Do you think closures are not code? That closures are not data?

Lisp can exist without macros and closures, but without EVAL it is
not Lisp any more.

You completely miss the point. EVAL is the basic model of Lisp and can
be expressed in the same Lisp language. This is the powerful point. One
cannot as easily describe a C evaluator in C. That EVAL exists,
however, does not mean that actual explicit calls to EVAL are somehow
essential to Lisp programming. EVAL has a crucial role in the whole
process, but that role shouldn't be a speaking part. More like
"executive producer." If the executive producer weren't there, the play
could not go on. But he doesn't walk out to center stage to announce
his presence.

.



Relevant Pages

  • Re: ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul
    ... >> the language should be available to users. ... In the design of Common Lisp, I asked Dave Moon (one of the architects ... Now, there are good kinds of low-level, like the way that floats are ...
    (comp.lang.lisp)
  • Re: CollabRx seeks brilliant engineers for an excellent e-science adventure
    ... belief that lisp programmers are smarter/better. ... Java or PHP programmers. ... a type of language that attracts a personality that meets my perceptions ...
    (comp.lang.lisp)
  • Re: Whats the best language to learn...
    ... on processors designed to run Lisp and Lisp OSes. ... byte-addressed memory, has native support for variable-sized value types, ... popular OO language, rather a language about like that of Delphi would have ... lisp, java, ruby, etc. ...
    (comp.programming)
  • Re: Program compression
    ... TM> supported by your favorite language (LISP) are good concepts. ... then call the Java compiler to compile that source file to a Class ... TM-STC> Since static type checking makes run-time type checks unnecessary, ...
    (comp.programming)
  • Re: Is anybodys favorite computer programming language not included here?
    ... to talk about getting me some paying work writing Java classes. ... and could be copied to a script (as in Java BeanShell or Lisp PROG). ... >> please post a followup saying what language it is, ... Server: "Mother, ...
    (comp.programming)