This page will direct you to the available tutorial resources for the PyCLIPS Python Module. The page is automatically updated every time a new tutorial is published.

When I started the PyCLIPS project, the intention was mainly to have the flexibility and extensibility of the Python framework and take advantage of a rule-based production engine such as CLIPS. CLIPS would be faster when it comes to writing a complex knowledge base than any RETE implementation written in Python, and give more possibilities than a series of if-then-else statements. As a side effect we get GUIs and other features, such as many ways to implement data persistence.

This tutorial is somewhat specific, however it shows how to exploit some features unique to PyCLIPS in order to accomplish a peculiar task. What we need is a simple way to define functions accessible to specific environments in CLIPS. Each function has to be visible in the environment in which it is defined, and not in the others.