next up previous

2.5.2 Procedural Knowledge

CLIPS also supports a procedural paradigm for representing knowledge like that of more conventional languages, such as Pascal and C. Ds and generic functions allow the user to define new executable elements to CLIPS that perform a useful sideeffect or return a useful value. These new functions can be called just like the builtin functions of CLIPS. Messagehandlers allow the user to define the of objects by specifying their response to messages. Deffunctions, generic functions and messagehandlers are all procedural pieces of code specified by the user that CLIPS executes interpretively at the appropriate times. Defmodules allow a knowledge base to be partitioned.

2.5.2.1 Deffunctions

2.5.2.2 Generic Functions

2.5.2.3 Object MessagePassing

2.5.2.4 Defmodules



next up previous