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

Expose ASPIF reader/writer via the API #314

Closed
rkaminsk opened this issue Jun 4, 2021 · 0 comments · Fixed by #387
Closed

Expose ASPIF reader/writer via the API #314

rkaminsk opened this issue Jun 4, 2021 · 0 comments · Fixed by #387
Milestone

Comments

@rkaminsk
Copy link
Member

rkaminsk commented Jun 4, 2021

We already have an internal interface in the potassco library to read files in ASPIF format. We should provide a reader/writer via the API, too. The reader can use the same/similar interface as the Observer class.

For the 5.6 release there will be support for reading an aspif document from the command line. This must be the first file loaded. Afterward, the API can be used as usual. This will allow systems like clingcon or clingo-dl to load ground programs in aspif format. A dedicated reader might follow in later releases as there are no use cases for such a feature.

@rkaminsk rkaminsk added this to the v5.6.0 milestone Jun 4, 2021
@rkaminsk rkaminsk linked a pull request Aug 26, 2022 that will close this issue
@rkaminsk rkaminsk closed this as completed Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant