jackfirth / jackfirth/resyntax
More automatic rule debug logs
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 70
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Currently, define-refactoring-rule automatically inserts a debug logging statement for every #:when condition in the rule that logs if the condition was false, causing the rule to not match. There should be similar logging added to #:with patterns, because a #:with pattern failing to match is not an error and simply causes the whole rule to not match. Additionally, there should be an #:undo statement added to every rule which logs (at debug level) when the entire partial rule match is discarded, for any reason. This should make debugging #lang resyntax/test failures easier, since they automatically capture debug logs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.