LYCOS RETRIEVER Beta Retriever Home  |  What is Lycos Retriever?   
Prolog: Code
built 656 days ago
Prolog+CG 2.0 is legacy code. A newer, better version has been developed by Prof. Dr. Adil Kabbaj, the original author of Prolog+CG. This new version is included in the Amine-platform. This website is dedicated to maintaining the legacy version, but please consider using the newer version instead.
If you are new to intelligent Web applications with Prolog, Java and Tomcat, learn how to build one step-by-step by reading Thomas Steiner's article Introduction to Intelligent Web Services with Java/Tomcat. He provides a full demo with source code.
Source:
Prolog code is often bidirectional. In bidirectional code, the arguments may be use either for input or output. For example, this code may be used for both differentiation and integration with queries of the form:
Source:
Prolog+CG 2.0 is Alpha/Beta quality code. It is a prototype not suited for production use. It is... interesting as a research platform, and as a teaching platform. See What is Prolog+CG 2.0? for more information.
This causes the Prolog code in Script to be executed whenever the Java object Bean fires an Action event. The ScriptedUI example demonstrates this. Bean must be bound to a Java object. Action and Script must be strings or bound to a string.
Source:
The code demonstrates an implementation of a Matrix in Prolog, as a list of lists. The code shows off "updating" of matrix elements as well as back-tracking, undoing of the "updates". The word "update" is quoted above because Prolog of course does not permit mutation of values.
Source:
SEARCH
MORE ABOUT