Ada Expert System

This package hierarchy includes a Prolog interpreter and Ada-to-Prolog programing interface. The programming interface is encapsulated in the top-level Prolog package. The Prolog run-time engine is hidden in a private child package called Prolog.Rule_Processor.

Two main procedures are included. The Server.adb procedure invokes a console mode for interactive input. The Client.adb procedure illustrates how to embed assertions and queries from the Ada side.

An Ada 95 network programming DSA configuration file combines the Client and Server procedures into a set of partitions P_Client and P_Server. The Prolog engine resides on the server side while the client uses the Ada 95 RCI to query the knowledgebase set up on the server. This has been tested with GNAT 3.10p and GLADE 1.03p.

Download Ada Expert System/Prolog (gzip 65K) and then Gnatchop the sources.


Paul Pukite puk@umn.edu
The views and opinions expressed in this page are strictly those of the page author.
The contents of this page have not been reviewed or approved by the University of Minnesota.