1 |
@c -*-texinfo-*- |
@c -*-texinfo-*- |
2 |
@c This is part of the GNU Emacs Lisp Reference Manual. |
@c This is part of the GNU Emacs Lisp Reference Manual. |
3 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1998 Free Software Foundation, Inc. |
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1998 Free Software Foundation, Inc. |
4 |
@c See the file elisp.texi for copying conditions. |
@c See the file elisp.texi for copying conditions. |
5 |
@setfilename ../info/eval |
@setfilename ../info/eval |
6 |
@node Evaluation, Control Structures, Symbols, Top |
@node Evaluation, Control Structures, Symbols, Top |
30 |
@section Introduction to Evaluation |
@section Introduction to Evaluation |
31 |
|
|
32 |
The Lisp interpreter, or evaluator, is the program that computes |
The Lisp interpreter, or evaluator, is the program that computes |
33 |
the value of an expression that is given to it. When a function |
the value of an expression that is given to it. When a function |
34 |
written in Lisp is called, the evaluator computes the value of the |
written in Lisp is called, the evaluator computes the value of the |
35 |
function by evaluating the expressions in the function body. Thus, |
function by evaluating the expressions in the function body. Thus, |
36 |
running any Lisp program really means running the Lisp interpreter. |
running any Lisp program really means running the Lisp interpreter. |
300 |
@smallexample |
@smallexample |
301 |
@group |
@group |
302 |
((lambda (arg) (erste arg)) |
((lambda (arg) (erste arg)) |
303 |
'(1 2 3)) |
'(1 2 3)) |
304 |
@result{} 1 |
@result{} 1 |
305 |
@end group |
@end group |
306 |
@end smallexample |
@end smallexample |