This is an old revision of the document!


Name: Prolog integration
You will learn: Java, Java Reflection API, Java Annotations, Prolog
Difficulty: hard
Excitement: Prolog is well-known in academy therefore it would contribute greatly to Pogamut platform. Also many decision making architectures such as AgentSpeak(L)-derivates use Prolog as a working memory. Prolog would open doors to further enhancements. Also, you will learn a lot about Java and Prolog along the way!
Description: Your goal is to adapt tuProlog to be able to unify Java beans. We already have a prototype that translates plain Java objects (or POJOs if you prefer) into Prolog facts. Now the big step would be to dig into tuProlog implementation and change it so that the serialization into Prolog facts is not necessary. After all, annotated POJO may fully represent a Prolog fact treating 'null' value as an anonymous variable! Of course there are few obstacles, for instance, every null seems to be a different variable... such issues would be up to you to solve.
Further readings: tuProlog, Java Beans in SICStus Prolog

prolog_integration.1287125537.txt.gz · Last modified: 2010/10/15 08:52 by jakub_gemrot