LISP: First day outline

  1. what we will do - LISP, AI techniques

  2. Why LISP - symbol processing - do we process symbols?

    1. expert systems: build, enhance, and use
    2. commonsense reasoning
    3. learning
    4. natural language
    5. education and intelligent support systems (explanations)
    6. speech and vision
    more on Why LISP - page 4 and 5 of text

    COMMON LISP - standard
    CLOS - COMMON LISP Object System

  3. Students: why did you take this course
    what backgrounds (AI, programming, LISP)

  4. projects -

  5. Syllabus - systems

  6. LISP primitives: will reference, AI Programming Techniques, LISP 3rd Edition by Winston and Horn

LISP - List Processing

Part One: symbol manipulation and basic LISP

Part Two: advanced LISP

Part Three: programs using LISP - AI programming techniques

computers use bits - binary digits : 0 &1

LISP:

lists can be used to represent higher-levels for manipulation

atoms and lists are called symbolic expressions --- s-expressions

Structures:
   objects: block/university
      attribute/value pairs and identification

An aside: Suddenly this is "new" with XML and structure capabilities for HTML for "automated" reading. Ahhh, AI coming back

*) known objects - provide information

*) unknown: use rules to generate new information

some LISP Primitives

LISP prompt:

asterick * or > or <cl> or USER(1)

If you do "something wrong" and a number in square brackets shows up before the prompt

[1] USER(3)
You are in a break package. Use
:pop :reset to get out (if you want out without using the break package capabilities)

comments: begin line with a semicolon ;

LISP is functional (procedure arguments),
i.e, a list with elements the first is always the function to be performed

(prefix)

and interpretive (vs compiled ...)

you type:

LISP responds:

SETF: Set Field

REMOVE, CONS construct

Procedures:

Terms: