Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2071 Named universal character escapes #798

Closed
wg21bot opened this issue Jan 18, 2020 · 13 comments · Fixed by cplusplus/draft#5659
Closed

P2071 Named universal character escapes #798

wg21bot opened this issue Jan 18, 2020 · 13 comments · Fixed by cplusplus/draft#5659
Labels
C++23 Targeted at C++23 CWG Core plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. straw-poll Straw poll
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Jan 18, 2020

P2071R0 Named universal character escapes (Tom Honermann, Peter Bindels)

@wg21bot wg21bot added EWG Evolution SG16 Text processing labels Jan 18, 2020
@wg21bot wg21bot added this to the 2020-02 milestone Jan 18, 2020
@jfbastien jfbastien removed the EWG Evolution label Jan 29, 2020
@jfbastien
Copy link
Collaborator

Please send to EWG when SG16 approves.

@tahonermann
Copy link
Collaborator

tahonermann commented Feb 11, 2020

SG16 in Prague: approved P2071R0 with modifications and suggested options to be polled in EWG. Minutes are available at http://wiki.edg.com/bin/view/Wg21prague/SG16P2071R0.

P2071R0: What is our preferred name matching:

In favor Name match algorithm
6 Exact match
6 Case-insensitive
4 Full UAX44-LM2

Consensus? Either exact match or case-insensitive.

P2071R0: We should support case-insensitive matching as opposed to exact match?

SF F N A SA
2 3 2 1 2

Consensus? No

P2071R0: Preferred syntax: (vote for 1)

In favor Syntax
8 Use "\N{XXX}"
0 Use "\u{XXX}" or "\U{XXX}"

Consensus? Yes

P2071R0: Match name aliases?

SF F N A SA
8 2 0 0 0

Consensus? Yes

P2071R0: Include support for ISO/IEC 10646 named sequences?

SF F N A SA
0 0 1 6 1

Consensus? No

P2071R0: Forward to EWG with: no UAX44-LM2 matching, no support for named sequences, use of \N, and no recommendation regarding case-sensitivity.

SF F N A SA
7 3 0 0 0

Consensus? Yes

Adding the EWG and needs-revision labels.

@tahonermann tahonermann added EWG Evolution needs-revision Paper needs changes before it can proceed labels Feb 11, 2020
@jfbastien jfbastien added this to Thursday in EWG Prague Feb 12, 2020
@jfbastien
Copy link
Collaborator

EWG Prague Thursday afternoon:

We’re interested in supporting named universal character escapes.

SF F N A SA
14 5 0 0 0

This should further support aliases.

SF F N A SA
18 2 1 0 0

It should further be case insensitive.

SF F N A SA
0 6 6 9 2

It should further support UAX44-LM2 with arbitrary spaces and dashes.

SF F N A SA
1 4 5 8 5

The paper is not tentatively ready yet. We want to see the updated paper before marking it as tentatively ready.

@jensmaurer
Copy link
Member

This should be seen by SG22, because WG14 might want to do the same thing.

@jfbastien jfbastien removed the SG16 Text processing label Sep 19, 2021
@jensmaurer jensmaurer added the SG16 Text processing label Sep 22, 2021
@tahonermann
Copy link
Collaborator

tahonermann commented Nov 1, 2021

SG16 reviewed a draft revision of P2071R1 during its 2021-10-20 telecon. The following polls were conducted.

  • Poll 1: We should support both \u{xxxx} and \u(xxxx) (resp. \N{ABCD} and \N(ABCD))
    for better support on EBCDIC systems and others where { and } are not consistently encoded
    in the character sets customarily used for source code.

    • Attendance: 9

      SF F N A SA
      1 0 2 4 2
    • Consensus against.

  • Poll 2: Despite previous EWG feedback, we recommend the use of the UAX44-LM2 name matching algorithm.

    • Attendance: 9

      SF F N A SA
      1 3 3 1 1
    • No consensus.

    • SA: I want to be able to easily grep for names; most other languages don't support loose matching.

  • Poll 3: Named escape sequences should be specified in the language as an alternative form of universal-character-name.

    • Attendance: 9

      SF F N A SA
      5 3 0 0 0
    • Strong consensus in favor.

@erichkeane erichkeane removed SG16 Text processing needs-revision Paper needs changes before it can proceed labels Nov 10, 2021
@erichkeane
Copy link
Collaborator

EWG reviewed 2071R1 at the November 10th, 2021 telecon. The following polls were taken.

EWG would like to see further work to evaluate implementing the functionality of P2071R1 as a library feature.

SF F N A SA
0 1 2 6 1

Result: Consensus Against

EWG sends P2071R1 to electronic polling with the intent of sending it to CWG for inclusion in C++23.

SF F N A SA
4 4 0 1 0

Result: Consensus

@erichkeane erichkeane added the EWG-vote-on-me EWG can vote on this label Nov 10, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented Nov 26, 2021

P2071R1 Named universal character escapes (Tom Honermann, Steve Downey, Peter Bindels, Corentin Jabot, R. Martinho Fernandes)

@wg21bot wg21bot added this to the 2021-telecon milestone Nov 26, 2021
@jensmaurer jensmaurer added the C++23 Targeted at C++23 label Jan 1, 2022
@jensmaurer jensmaurer modified the milestones: 2021-telecon, 2022-telecon Jan 1, 2022
@jensmaurer
Copy link
Member

CWG telecon 2022-02-25: Reviewed; needs updates.

@jensmaurer jensmaurer added the needs-revision Paper needs changes before it can proceed label Feb 25, 2022
@jensmaurer jensmaurer added this to Awaiting updated wording in CWG Feb 26, 2022
@jfbastien jfbastien added CWG Core and removed EWG Evolution EWG-vote-on-me EWG can vote on this labels Feb 27, 2022
@jfbastien
Copy link
Collaborator

2022-02 poll results:

SF F N A SA
12 14 3 3 1
Abstain: 12

Poll outcome:✅ consensus

@jensmaurer jensmaurer moved this from Awaiting updated wording to Ready for review in CWG Mar 11, 2022
@jensmaurer
Copy link
Member

CWG telecon 2022-03-25: Approved D2071R2 on the condition of adding a note; Jens to check.

@jensmaurer jensmaurer added the straw-poll Straw poll label Mar 25, 2022
@jensmaurer jensmaurer moved this from Ready for review to Awaiting updated wording in CWG Mar 25, 2022
@jensmaurer jensmaurer moved this from Awaiting updated wording to Approved for plenary vote in CWG Mar 26, 2022
@jensmaurer
Copy link
Member

The note has been added.

@wg21bot
Copy link
Collaborator Author

wg21bot commented Apr 25, 2022

P2071R2 Named universal character escapes (Tom Honermann, Steve Downey, Peter Bindels, Corentin Jabot, R. Martinho Fernandes)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Apr 25, 2022
@AaronBallman
Copy link
Collaborator

This was discussed at the June 2022 SG22 meeting. No polls were taken and no specific concerns were raised. Removing the SG22 tag.

@AaronBallman AaronBallman removed the SG22 C / C++ liaison label Jul 18, 2022
@cor3ntin cor3ntin added the plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++23 Targeted at C++23 CWG Core plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. straw-poll Straw poll
Projects
Archived in project
CWG
Approved for plenary vote
EWG Prague
Thursday
7 participants