Skip to content

Souffle Datalog functors (extensions) for more complex arithmetic

Notifications You must be signed in to change notification settings

yanniss/souffle-num-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Souffle Datalog functors (extensions) for more complex arithmetic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published