cplusplus / cplusplus/draft

[C++29] Introduce a higher level of organization to [lex]

Open
#7,400 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3-Other
Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

This issue is a specific suggestion to improve the presentation of [lex] for C++29 as part of #7399.

Introduce two new level-2 subclasses to better group the current level-2 subclauses to reflect their place in phase 3 of translation 3, and phase 7 of translation. Note that phase 4 of translation is the whole of [cpp].

  • 5 Lexical convensions
    • 5.1 Separate translation
    • 5.2 Phases of translation
    • 5.3 Characters
      • 5.3.1 Character sets
      • 5.3.2 Universal character names
    • 5.4 Comments
    • 5.5 Preprocessor tokenization
      • 5.5.1 Preprocessing tokens
      • 5.5.2 Header names
      • 5.5.3 Preprocessing numbers
      • 5.5.4 Operators and punctuators
      • 5.5.5 Alternative tokens
    • 5.6 Translation unit tokenization
      • 5.6.1 Tokens
      • 5.6.2 Identifiers
      • 5.6.3 Keywords
      • 5.6.4 Literals
        • 5.6.4.1 Kinds of literals
        • 5.6.4.2 ...

The subdivisions under the new subclauses largely match the re-ordering of subclauses for C++26, #7316.

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

Review the [lex] section described in this issue and compare its proposed organization with the C++26 reordering in #7316. Reorganize the level-2 subclauses into the proposed groups, preserving the listed subdivisions; done means the draft's [lex] hierarchy reflects the phase 3 and phase 7 organization.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, tex
Domain
documentation
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 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.