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

Tabling #118

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

Tabling #118

wants to merge 3 commits into from

Conversation

gares
Copy link
Contributor

@gares gares commented Oct 29, 2021

following the prototype at https://github.com/LPCIC/elpi/tree/tabling/toy/ we add SLG exploration of the search space.

TODO:

  • trail using persistent data structures (search tree heap is self contained, easy to have multiple ones)
    • perf seem ok, little more memory is used in general but nothing huge
  • enrich stack/choice points with SLG info
    • this gives a little slowdown, since all choice frames are a bit larger
  • concrete syntax to table a predicate
  • index for the table
  • abstraction for term (canonical term to be indexed, root of SLG tree)
  • SLG loop
  • abstraction API for constraints

@gares gares force-pushed the real-tabling branch 2 times, most recently from da123f6 to b7089b0 Compare November 2, 2021 15:31
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