yuce / pyswip

PySwip is a Python-Prolog interface that enables querying SWI-Prolog in your Python programs.
https://pyswip.org
MIT License
482 stars 98 forks source link

Additional support for strings and nested lists. #110

Closed tobiasgrubenmann closed 4 years ago

tobiasgrubenmann commented 4 years ago

I created additional support for strings and nested lists in pyswip foreign predicates.

I also added two tests under test_foreign.py. The tests run successfully with SWI Prolog 8.2.1 and Python 2.7.16 (31bit)

tobiasgrubenmann commented 4 years ago

I moved the changes into a new branch in my repository and hence, will create a new pull-request