scribble/example does not preserve syntax properties
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 250
- Forks
- 102
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 1
Description
examples from scribble/example does not preserve the 'paren-shape syntax property, and presumably drops other syntax properties as well. Given the following program:
#lang scribble/manual
@(require scribble/example)
@(examples (syntax-property #'[1 2 3] 'paren-shape))
…it produces the following output:
> (syntax-property #'[1 2 3] 'paren-shape)
#f
This is not due to scribble/manual, because the following program works as expected:
@(println (syntax-property #'[1 2 3] 'paren-shape))
; => #\[
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 by reproducing the issue with the supplied scribble/example program, then inspect the scribble/example implementation that assembles the displayed expression. Done means the resulting output preserves the 'paren-shape syntax property and does not drop other syntax properties.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100