- Extra debugging ino
- Improve list representations, unicode support and multiple threading usage, see: 97. Contributed by Guglielmo Gemignani.
- Added PL_STRINGS_MARK to getAtomChars, fixes 102. Contributed by Vince Jankovics.
- Backwards compatibility for Python 2 64bit, see: 104. Contributed by Tobias Grubenmann.
- Improved handling of lists, nested lists, strings, and atoms. see: 112. Contributed by Tobias Grubenmann.
- Fixes for changed constants, see: 125. Contributed by Arvid Norlander.
- Synchronized type constants with SWI-Prolog.h update for broken compatibility changes in SWI-Prolog.h up to 0.8.3.
- Fix incorrect REP_* constants.
- Fixed issue #92 (C assert)
- Fixed issue #90 (quoted string)
- Fixed Variables in foreign functions not unifiable. Contributed by Michael Kasch.
- Added support multibyte strings and atoms. Contributed by Nikolai Merinov.
- Updated core.py and easy.py for unifying strings properly. Contributed by rohanshekhar.
- Fixed issue #71. Contributed by prologrules.
- Fixed compatibility with SWI-Prolog 8.2.0. Contributed by Stuart Reynolds.
- Fixed compatibility with MacOS. Contributed by prologrules and Dylan Lukes.
- Added non deterministic foreign function support. Contributed by rmanhaeve.
- Fixed issue #67. Contributed by Galileo Sartor.
- Fixed issue #35. Contributed by Robert Simione.
- Works on FreeBSD.
- Project cleanup
- Updated the examples for Python 3.
- Maintenance release of PySwip
- Added an error to avoid opening nested queries using PySwip (SWI-Prolog does not allow that). The error is NestedQueryError.
- Added Tomasz Gryszkiewicz's patch for better finding the SWI-Prolog lib in Darwin
- Solved issue 4 "Patch for a dynamic method"
- Solved issue 5 "Patch: hash and eq methods for Atom class"
- Solved issue 3: "Problem with variables in lists"
- Solved issue 17: "Can't find SWI-Prolog library in Homebrew's /usr/local"
- Maintenance release of PySwip
- Solved issue "Segmentation fault when assertz-ing" (thanks to jpthompson23)
- Solved issue "pyswip doesn't work on cygwin"
- Solved issue "Callbacks can cause segv's" (thanks to jpthompson23)
- Solved issue "Improve library loading"
- Solved issue "sys.exit does not work when importing pyswip"
- PySwip won't rely on the (id of the) functor handle of
=/2
. - Sebastian Höhn's patch to enable PySwip to work on MAC OS-X is incorporated.
- Importing
pyswip
automatically initializes SWI-Prolog. - Fixed a bug with querying lists with the new interface.
- All names are included with
from pyswip import ...
- New Pythonic interface
- Prolog.query returns real Python datatypes
- Markus Triska's Sudoku Solver
- Prolog module support
- Foreign functions retrieve Python datatypes.
- Renamed
pyswip/util.py
topyswip/prolog.py
. - New module
pyswip.easy
. - Now it is possible to register a Python function as a Prolog predicate through SWI-Prolog's Foreign Function Interface.
- Additions to the core library.
- Added example, register foreign which shows how to register a Python function as an SWI-Prolog predicate.
- Added example, Towers of Hanoi
- Renamed
PrologRunner
toProlog
. - Removed
query
method ofProlog
,queryGenerator
is renamed asquery
. - Added
asserta
,assertz
andconsult
methods toProlog
. - The necessary cleanup is done even if the
query
generator doesn't run to the end. - Errors during the execution of
query
is caught andPrologError
is raised. - Many new additions to the core library.
- Added
examples
directory. - Added examples, coins and draughts.
- Added
queryGenerator
to PrologRunner,query
callsqueryGenerator
. - Added example
send more money
.