Clips

  1. Aanroepen:
    > clips
             CLIPS (V6.0 05/12/93)
    CLIPS> 
    

  2. Laden van een kennis+regels bestand (*.clp), bijvoorbeeld mab.clp (Monkey and Banana).
    CLIPS> (load mab.clp)
    Defining deftemplate: monkey
    Defining deftemplate: thing
    Defining deftemplate: chest
    Defining deftemplate: goal-is-to
    Defining defrule: hold-chest-to-put-on-floor
            .
            .
           TRUE
    CLIPS> (reset)                       doe altijd reset!
    CLIPS> (run)
    CLIPS> 
    Monkey jumps off the green-couch onto the floor.
    Monkey walks to t2-2.
    Monkey climbs onto the red-couch
            .
            .
    

  3. Uit Clips gaan:
    CLIPS> (exit)
    

Andere voorbeelden

Geef het Unix commando:
> locate .clp
om .clp voorbeelden te vinden.