Skip to content

Implement a tabling strategy for handling cycles#47

Merged
nikomatsakis merged 3 commits into
rust-lang:masterfrom
scalexm:cycles
Jun 14, 2017
Merged

Implement a tabling strategy for handling cycles#47
nikomatsakis merged 3 commits into
rust-lang:masterfrom
scalexm:cycles

Conversation

@scalexm
Copy link
Copy Markdown
Contributor

@scalexm scalexm commented Jun 14, 2017

These commits add a stack-based tabling approach for detecting and handling cycles (see #42). In case of multiple cycles the debug output can grow large so there is an option for deactivating this strategy and instead treat cycles as error (the solver will then produce "less" answers in some sense) which is useful for debugging. This PR will enable dealing with #12.

Copy link
Copy Markdown
Contributor

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice.

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.

2 participants