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

Develop rule inlining #95

Open
wants to merge 78 commits into
base: master
Choose a base branch
from
Open

Conversation

gfngfn
Copy link
Contributor

@gfngfn gfngfn commented Mar 20, 2023

Note: This PR includes #72. You can see the essential diffs here.

The present PR implements the rule inlining conversion, which transforms

+foo(X) :- bar(X, _).
bar(A, B) :- qux(A, B, _). *)

into

+foo(X) :- qux(X, GenV1, GenV3).
bar(A, B) :- qux(A, B, GenV2).

for instance.

The extended program will newly depend on the ocamlgraph package (version 2.0.0) in order to perform topological sorting.

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

Successfully merging this pull request may close these issues.

1 participant