Possibly incorrect behaviour in quasiquote
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 5.2k
- Forks
- 698
- Avg merge
- 18h 34m
- Merged PRs (30d)
- 5
Description
I expected "(quasiquote (quasiquote unquote)" to produce "'`unquote" but instead it errors.
For (imperfect) reference, Chez Scheme Version 9.5's behaviour is the analogue to the above (though its printer omits the leading "'")
Transcript form Dr. Racket below:
(quasiquote unquote)
'unquote
(quasiquote (quasiquote unquote))
unquote: expects exactly one expression in: (unquote)
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.
Research direction
Reproduce the two quasiquote expressions in Dr. Racket and compare their results with the expected nested-quasiquote behavior described in the issue. Trace the quasiquote and unquote handling, then add coverage showing the intended result and verify that the reported expression no longer errors.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100