This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/pyswip/examples
Vitor Santos Costa d7e21c80df fix swi call leak
improve yapi
reformat
2017-06-19 19:02:36 +01:00
..
coins update to newer version 2012-10-08 18:27:05 +01:00
draughts update to newer version 2012-10-08 18:27:05 +01:00
hanoi fix swi call leak 2017-06-19 19:02:36 +01:00
sendmoremoney syntax errors 2014-08-06 10:26:03 -05:00
sudoku fix swi call leak 2017-06-19 19:02:36 +01:00
create_term.py update to newer version 2012-10-08 18:27:05 +01:00
knowledgebase.py update to newer version 2012-10-08 18:27:05 +01:00
README
register_foreign_simple.py
register_foreign.py

PySWIP Examples
===============

This directory contains examples for PySWIP.

The ones marked with (clp) requires clp library of SWI-Prolog.

+ (clp) coins/
+ (clp) draughts/
+ hanoi/ : towers of Hanoi
+ (clp) sendmoremoney/ : if, SEND + MORE = MONEY, what is S, E, N, D, M, O, R, Y?
+ (clp) sudoku/ : Sudoku solver (Prolog code is contributed by Markus Triska)
+ create_term.py : shows creating a Prolog term
+ register_foreign.py : shows how to call PL_register_foreign