Delphi Samples

These samples illustrate the use of the Amzi! Logic Server from Delphi (Pascal). The Delphi samples were implemented using Delphi 6.0 and illustrate the use of the Delphi Logic Server component. They include a Delphi project file so you can rebuild the project.

DelGUI - DelGUI is a collection of extended GUI predicates implemented in Delphi for use with Prolog applications embedded in Delphi. The test sample here just puts up a button and a window to verify that the Amzi! Delphi component and DelGUI library are working.

DelTest - An application that illustrates a number of Logic Server features in a simple test program. Features include asserts, queries, extended predicates, and message boxes.

Eq - The Eq Delphi sample demonstrates Prologs ability to do graphical layout in conjunction with Delphi drawing functions. The particular example takes equations written programmatically and renders them as they might appear in a mathematics textbook.

Hello - Hello Prolog from Delphi, as a simple dialog application.

ProXS - The ProXS Delphi sample demonstrates how to put a GUI front-end onto a sophisticated expert system written in Prolog. This sample uses bird identification as its knowledgebase, but it the Prolog portion of the sample is a general goal-driven engine that can be readily adapted to other applications.

SSched - An expert system that does round-robin scheduling of teams (sports scheduling). It uses a graphical Delphi front-end to build and display the schedule, and a simplified version of the scheduling program used for college basketball.