Re: eval use ?



In article <l2qdd3-4q2.ln1@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
boldyrev+nospam@xxxxxxxxxxxxxxxxxxxx says...
On 9397 day of my life Majorinc wrote:
Code=data is the single most important idea of Lisp and EVAL is
what make it possible.

My point of view is just opposit. To resolve conflict, we should
define Lisp first :)

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."






Perhaps, your statement (second part: "and EVAL is ...") is true for
original Lisp, but Lisp is evolving, and it is not true for Common
Lisp.

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.




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

Perl has eval too (and many other `scripting' languages do). So
does perl have Lisp nature?


Phrase "Lisp nature" is to vague here.

.



Relevant Pages

  • Re: Why I never got into Lisp
    ... solutions in languages like Perl. ... and what you tried in Lisp, and how Lisp mapped better, for you. ... While this can be done to some extent in any language, ... liked the fact that Ruby, like lisp, seems to have sensible defaults ...
    (comp.lang.lisp)
  • 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)