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

Implement theory parsing #1

Open
namcsi opened this issue Jul 19, 2023 · 0 comments
Open

Implement theory parsing #1

namcsi opened this issue Jul 19, 2023 · 0 comments

Comments

@namcsi
Copy link
Collaborator

namcsi commented Jul 19, 2023

It would be nice to be able to reify input theory atoms in a parsed format, such as in clingox.ast.TheoryParser, as this would make writing meta-encodings that work with theory atoms easier in some cases.

I see two options for implementing something like that:

  • Just have clingox.ast.TheoryParser take a pass over the AST before reification.
  • Implement the transformation the TheoryParser does using a meta-encoding via renopro.

The first option seems the wiser of the two. Should probably be provided as an option, in case someone for some reason would like to access the unparsed theory terms.

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

1 participant