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

Add debugging support to the rewriter #41

Open
JasonGross opened this issue Apr 1, 2020 · 0 comments
Open

Add debugging support to the rewriter #41

JasonGross opened this issue Apr 1, 2020 · 0 comments
Assignees

Comments

@JasonGross
Copy link
Collaborator

It's quite painful to figure out why rewriter rules aren't matching. It should be possible, using a combination of reduction-effects for cbv (alas, no support for native_compute / vm_compute, yet; see coq-community/reduction-effects#8) and using extraction directives for OCaml/Haskell, to insert debug print calls in the main loop of the rewriter, to thread through and print out some sort of debugging information, with minimal overhead when we're not printing debug info.

@JasonGross JasonGross self-assigned this Apr 1, 2020
@JasonGross JasonGross transferred this issue from mit-plv/fiat-crypto Apr 6, 2022
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