Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensions control #7

Open
susuhahnml opened this issue Jun 16, 2020 · 1 comment
Open

Extensions control #7

susuhahnml opened this issue Jun 16, 2020 · 1 comment

Comments

@susuhahnml
Copy link
Collaborator

Allow new extensions to access important pots of the process.

I am thinking of something similar to what is done with the Application class of clingo but which would be called in the incremental process within telingo. My motivation here would be to allow access to the stable models found in this process and give easy access to the timepoints in which predicate hold, so that any extension can manage them before they are added as the last argument. Maybe this gives the potential to other internal configurations for these extensions but I am not sure about this part yet. Perhaps it could even make easier adding new translation rules for a theory as part of the extension class instead of doing so within the code (Like the extension done for 'del' or even 'tel').

@rkaminsk
Copy link
Member

This might be interesting: https://github.com/potassco/tefoli. It was made for using theories written in C with Python. telingo could implement a similar interface. The interface would have to be extended to account for incremental solving though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants