1.
An
overview on lisp(list processing) programming.
Introduction:
Lisp, an acronym for
list processing is a programming language that was designed for easy
manipulation of data strings. In lisp all computation is expressed as a
function if at least one object. Objects can be other function, data item (such
as constants or variables), or data structure. Lisp ability to compute with
symbolic expression rather than number makes it convent for AI application.
In, lisp statements are written in prefix notation (e.g. + 2
3). It execute the statement through read-eval-print cycle.
Loop
Read in an expression from the console;
Evaluate the expression;
Print the result of evaluation to the console;
End Loop
Everything in lisp is either an atom or a list. Atom is
an operator which determines whether something passed to it is an atom or list.
Atom are either constant or variable. List is linearly array of element.
No comments:
Post a Comment