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

API design for rule program analyses and/or transformations #611

Open
mkroetzsch opened this issue Feb 4, 2025 · 0 comments
Open

API design for rule program analyses and/or transformations #611

mkroetzsch opened this issue Feb 4, 2025 · 0 comments
Labels
api public crate API program analysis Issue related to global program analysis question Further information is requested

Comments

@mkroetzsch
Copy link
Member

Besides materialisation, there are many further things that one can do with a given logic program, such as running acyclicity checks #610, but also program transformations of various kinds can be conceived. The common aspect of these actions is that there is a rather large number of them, and that there can always be some more in the future. This raises some software design issues:

  • Implementations for the various actions should be as modular as possible, without traces of action-specific code or data in the regular objects.
  • It has to be thought through how to make these actions available in the API. Currently, we are having a reasoner object as the main entry point for calling materialisation, but we should not have a method for every possible action in this struct.
  • Some way for making such actions accessible through the command-line needs to be designed, again in a somewhat modular fashion.
@mkroetzsch mkroetzsch added api public crate API program analysis Issue related to global program analysis question Further information is requested labels Feb 4, 2025
@github-project-automation github-project-automation bot moved this to Todo in nemo Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api public crate API program analysis Issue related to global program analysis question Further information is requested
Projects
Status: Todo
Development

No branches or pull requests

1 participant