A Datalog-like language for writing DeepDive apps.
The following command builds all Scala code under src/.
To play with DDlog compiler's command-line interface interactively, use the following script after running
This provides a quick way to see the effects from the command-line after changing the source code as it directly runs the compiled classes under target/ rather than having to assemble a jar every time.
make at least once, you can solely rely on an IDE such as IntelliJ IDEA to compile individual .scala files and test it with this script.
The following command runs all tests under test/. Tests are written in BATS.
To run tests selectively, see the long make command produced by:
The following command produces a test coverage report.
Assembling a standalone jar
The following command produces a standalone jar that contains the DDlog compiler.
Running the standalone jar
The following command generates a deepdive.conf for the spouse example in DeepDive's tutorial.
mkdir -p examples/spouse_example java -jar ddlog.jar compile examples/spouse_example.ddl >examples/spouse_example/deepdive.conf