racket / racket/rhombus

Not all macro options are allowed in pre-alts block position

Open
#464 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.