kamel-usp / dpasp

Differentiable probabilistic answer set programming
https://kamel.ime.usp.br/dpasp.html
MIT License
17 stars 4 forks source link

#Include directives #7

Open denismaua opened 12 months ago

denismaua commented 12 months ago

Allow for a #include "filename.py" or #include "filename.plp" directive that is equivalent to the Python snippet #python #end, but can be used to split a dpasp program into several files. The type of snipper can be deduced from the file extension. That should also help to make things more efficient, as e.g., we might pre-compile python files or pre-ground plp files.

RenatoGeh commented 1 month ago