`redex-check` doesn't bind patterns normally
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 112
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
In the program
#lang racket
(require redex/reduction-semantics)
(define-language L
(n ::= 1))
(redex-check
L n
n)
I get the error n: unbound identifier pointing at what should be the binding occurence of n in the redex-check.
I would expect redex-check to behave more line define-term and give an error like:
n: illegal use of syntax
value at phase 1: #<defined-term> in: n
pointing at the use of n
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with the minimal redex-check example in the issue and compare its binding behavior with define-term. Trace the redex-check and define-term entry points to determine why n is reported as unbound, then verify that the same example produces the expected illegal-use-of-syntax diagnostic at the n use.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100