Skip to content

Files

Latest commit

91c4337 · Jun 7, 2018

History

History
This branch is 38 commits behind yuce/pyswip:master.

examples

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