CLIPS (C Language Integrated Production System) is a public-domain software tool for building expert systems. The syntax and name were inspired by Charles Forgy's OPS5. The first versions of CLIPS were developed starting in 1985 at the NASAJohnson Space Center (as an alternative for existing system ART*Inference) until 1996, when the development group's responsibilities ceased to focus on expert system technology. The original name of the project was NASA's AI Language (NAIL).
As of 2005, CLIPS was probably the most widely used expert system tool.[1] CLIPS is written in C, extensions can be written in C, and CLIPS can be called from C. Its syntax resembles that of the programming languageLisp.[2]
CLIPS uses forward chaining.[4][2] Like other expert system languages, CLIPS deals with rules and facts. Various facts can make a rule applicable. An applicable rule is then fired.[4] Facts and rules are created by first defining them, as shown below:
Having set this up, the (reset) command causes CLIPS to read the facts and rules. In this case, that would lead to the three "trouble_shooting" facts being asserted. Then the (run) command is used. Given that the two facts listed in rule1 have both been asserted, the conditions for doing its action have been met so the additional fact is asserted as a result of the run.
In CLIPS, salience allows a user to assign priority (or weight) to a rule.
Descendants
Descendants of the CLIPS language include Jess (rule-based portion of CLIPS rewritten in Java, it later grew in a different direction),[5] and FuzzyCLIPS (which adds concept of relevancy into the language).