plast-lab / souffle-addon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple add-on dynamic library for more complex arithmetic operations in Souffle-Datalog (https://souffle-lang.github.io).

Current coverage:

  • 256-bit arithmetic (for crypto)

Dependencies:

Usage:

$ make                          # builds all, sets libfunctors.so as a link to libsoufflenum.so
$ export LD_LIBRARY_PATH=`pwd`  # or wherever you want to put the resulting libfunctors.so

and use a Souffle program with the num256functors.dl definitions. For compiled execution, libfunctors.so (i.e., at least a link to the real .so) should be in the compilation directory.

A sample Souffle client program can be found under directory dlexample.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 56.1%Language:C 42.6%Language:Makefile 1.3%