`render-reduction-relation` can't render all rules in an extended reduction relation
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 112
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
The program
#lang racket
(require redex/reduction-semantics redex/pict)
(define-language L)
(define R1
(reduction-relation
L
(--> number number numbers)))
(define R2
(extend-reduction-relation
R1 L
(--> string string strings)))
(parameterize ([render-reduction-relation-rules '(numbers strings)])
(render-reduction-relation R2))
Errors with render-reduction-relation: no rule found for label: 'numbers. I would expect to be able to render rules from the relation being extended.
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 at the render-reduction-relation entry point and trace how labels are collected for an extended relation. Reproduce the supplied Racket example, then verify that rendering with '(numbers strings) no longer reports the inherited numbers label as missing.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100