
Hi Jouyang.
The quickest way is to have a look at
<your-path-to-ppl-sources>/interfaces/Prolog/tests/pl_check.pl
where you can find many simple Prolog predicates that are meant to test each functionality provided by the PPL. Other interesting files are
<your-path-to-ppl-sources>/interfaces/Prolog/tests/clpq.pl <your-path-to-ppl-sources>/interfaces/Prolog/tests/clpq2.pl
which implement toy meta-interpreters for CLP(Q) on top of the PPL. However, if you are also new to Prolog, then I strongly suggest you start from something simpler, such as the tests I mentioned above.
Cheers, Enea Zaffanella.
jouyang wrote:
Hi, I am new to PPL and Prolog. I am trying to use PPL in Prolog programs. Can someone give an example showing how to initialize the library and use the interfaces. Thanks in advance.
Jie _______________________________________________ PPL-devel mailing list PPL-devel@cs.unipr.it http://www.cs.unipr.it/mailman/listinfo/ppl-devel