leanprover / leanprover/lean4

Double-backtick quotations with other syntax categories/parsers

Open
#430 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement P-low
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

Currently ``(cat| ...) is not supported, i.e. it can only be used with command/term. I'd like to wait with this change until we have unified the | notation in a single parser supporting dynamic lookups.

It also doesn't work with macro's category inference yet.

Contributor guide

Open the contributing guide

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

The issue concerns double-backtick quotations with syntax categories or parsers beyond command/term, plus category inference for macro. Begin by investigating the existing parser for the | notation and how dynamic lookups and macro category inference are handled; done means the supported categories and parser behavior are defined and implemented consistently.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.