souffle icon indicating copy to clipboard operation
souffle copied to clipboard

New Native Python Interface

Open b-scholz opened this issue 3 years ago • 3 comments

Tom has been working on a native Python interface:

https://github.com/souffle-lang/souffle/pull/1809

b-scholz avatar Aug 03 '21 10:08 b-scholz

Is the Python SWIG interface alive? I tried building with -DSOUFFLE_SWIG_PYTHON=ON but it seems to have no effect on the build. Esp., it does not generate a module that I can import SwigInterface as in e.g. tests/swig/python/movies/driver.py.

corwin-of-amber avatar Dec 20 '21 23:12 corwin-of-amber

This is an abandoned prototype and hasn’t been completed. Please check the SWIG interface. You need to install all dependencies to make it work.

b-scholz avatar Dec 23 '21 00:12 b-scholz

The SWIG interface should still be functional for Python.

b-scholz avatar Dec 23 '21 00:12 b-scholz