Not all macro options are allowed in pre-alts block position
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 601
- Forks
- 74
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 5
Description
Example:
#lang rhombus/and_meta
expr.macro self_quote:
~op_stx self
| 'self_quote':
'#%literal $(self.to_source_string())'
Options like op_stx, all_stx, etc., seem to be allowed only in the “right-hand side” position.
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 reported expr.macro example and trace how op_stx, all_stx, and similar options are handled in the pre-alts block position versus the right-hand-side position. Done means the relevant macro options are accepted consistently in pre-alts blocks, with behavior checked against the example.
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
- Mostly clear
- Newbie friendliness
- 35/100