Skip to content

P1729 R5 Text Parsing #493

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

Open
wg21bot opened this issue Jun 23, 2019 · 15 comments
Open

P1729 R5 Text Parsing #493

wg21bot opened this issue Jun 23, 2019 · 15 comments
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 format IS Ship vehicle: IS SG16 Text processing size - large paper size estimate
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Jun 23, 2019

P1729R0 Text Parsing (Victor Zverovich)

@wg21bot wg21bot added this to the 2019-07 milestone Jun 23, 2019
@wg21bot wg21bot added the LEWG Library Evolution label Jun 23, 2019
@tahonermann tahonermann added the SG16 Text processing label Jun 24, 2019
@tituswinters
Copy link

LEWG-I wants first crack at this.

@tituswinters tituswinters added LEWGI Library Evolution Incubator and removed LEWG Library Evolution labels Jul 11, 2019
@brycelelbach
Copy link

brycelelbach commented Jul 15, 2019

Cologne 2019-07 LEWGI Minutes

P1729R0 Text Parsing: Direction Review

Champion: Victor Zverovich

Minute Taker: Elias Kosunen

Start Overview: 07-15 11:00

We probably can't call this std::scan, because it clashes with std::inclusive_scan and std::exclusive_scan.

SG16 needs to review this.

Is the extension API essential for version 1?

Start Review: 11:16

Hana: How do you handle greediness?

Chris Kennelly: How much implementation experience do you have?

Adrian: Two things that this thing does: extract of strings, and conversion of strings to other types.

Start Polling: 11:27

POLL: We should promise more committee time to pursuing P1729R0, knowing that our time is scarce and this will leave less time for other work.

NO OBJECTION TO UNANIMOUS CONSENT.

Attendance: 15

End: 11:29

CONSENSUS: Bring a revision of P1729R0, exploring different approaches for outputs (e.g. output parameters, tuple-like return values), to LEWGI for further design review.

@brycelelbach brycelelbach added the needs-revision Paper needs changes before it can proceed label Jul 15, 2019
@tahonermann
Copy link
Collaborator

SG16 2019-07 review in Cologne

P1729R0

No polls taken. The author was present.

Dropping the SG16 label and looking forward to a future revision.

@tahonermann tahonermann removed the SG16 Text processing label Jul 18, 2019
@jensmaurer jensmaurer removed this from the 2019-07 milestone Aug 23, 2019
@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 15, 2019

P1729R1 Text Parsing (Victor Zverovich , Elias Kosunen)

@wg21bot wg21bot added this to the 2019-11 milestone Oct 15, 2019
@jensmaurer jensmaurer removed the needs-revision Paper needs changes before it can proceed label Oct 20, 2019
@tahonermann tahonermann added the SG16 Text processing label Oct 25, 2019
@brycelelbach
Copy link

Belfast 2019-11 LEWGI Minutes

P1729R1 Text Parsing: Design Review

Champion: Victor Zverovich

Minute Taker: Ben Craig

Start Review: 11-04 13:44

Start Polling: 14:50

POLL: Using the same format string for input and output is an important design goal.

Strongly For Weakly For Neutral Weakly Against Strongly Against
3 8 1 0 1

Attendance: 14

That has consensus.

POLL: We want positional arguments in std::scan.

Strongly For Weakly For Neutral Weakly Against Strongly Against
4 3 6 1 0

Attendance: 14

That has consensus.

POLL: We want to require positional arguments to be unique in std::scan.

Strongly For Weakly For Neutral Weakly Against Strongly Against
3 4 2 3 2

Attendance: 14

That has no consensus.

Break: 15:23

Resume: 15:45

POLL: Supporting non-DefaultConstructible types is an important design goal.

Strongly For Weakly For Neutral Weakly Against Strongly Against
3 2 5 1 3

Attendance: 15

That has no consensus.

POLL: Getting the successfully scanned values from partial successes is an important design goal.

Strongly For Weakly For Neutral Weakly Against Strongly Against
1 1 5 5 2

Attendance: 14

There is consensus against that.

End: 16:34

CONSENSUS: Bring a revision of P1729R1 (Text Parsing), with the guidance below, to LEWGI for further design review.

  • Explore a simplified design that doesn't support partial success.
  • Prioritize enabling the use of the same format string for input and output.
  • Explore supporting non-unique positional arguments.

@brycelelbach brycelelbach added the needs-revision Paper needs changes before it can proceed label Nov 6, 2019
@tahonermann
Copy link
Collaborator

SG16 did not review P1729R1 in Belfast due to time constraints. We'll plan to review in Prague. The author has specifically requested guidance on how to specify and implement skipping of white space for Unicode encodings.

@jensmaurer jensmaurer removed this from the 2019-11 milestone Dec 12, 2019
@brycelelbach brycelelbach added LEWG Library Evolution EWGI Evolution Incubator B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 IS Ship vehicle: IS and removed LEWGI Library Evolution Incubator labels Aug 25, 2020
@cor3ntin cor3ntin added EWG Evolution and removed EWGI Evolution Incubator EWG Evolution labels Feb 22, 2022
@wg21bot
Copy link
Collaborator Author

wg21bot commented Jul 21, 2023

P1729R2 Text Parsing (Elias Kosunen, Victor Zverovich)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Jul 21, 2023
@wg21bot wg21bot added this to the 2023-telecon milestone Jul 21, 2023
@wg21bot wg21bot changed the title P1729 Text Parsing P1729 R2 Text Parsing Jul 21, 2023
@tahonermann
Copy link
Collaborator

SG16 began reviewing P1729R2 during its 2023-09-27 meeting. No polls have been taken yet; continued review is planned for the 2023-10-11 SG16 meeting.

@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 16, 2023

P1729R3 Text Parsing (Elias Kosunen)

@wg21bot wg21bot changed the title P1729 R2 Text Parsing P1729 R3 Text Parsing Oct 16, 2023
@inbal2l inbal2l added C++26 Targeted at C++26 size - large paper size estimate and removed LEWG Library Evolution labels Oct 16, 2023
@tahonermann
Copy link
Collaborator

SG16 reviewed a draft of P1729R3 during its 2023-10-11 meeting. We still haven't taken any polls, but the paper has strong support. There are still some questions to be sorted out regarding scanning of text vs binary input.

@wg21bot
Copy link
Collaborator Author

wg21bot commented Feb 16, 2024

P1729R4 Text Parsing (Elias Kosunen, Victor Zverovich)

@wg21bot wg21bot modified the milestones: 2023-telecon, 2024-telecon Feb 16, 2024
@wg21bot wg21bot changed the title P1729 R3 Text Parsing P1729 R4 Text Parsing Feb 16, 2024
@dhollman
Copy link
Collaborator

dhollman commented Mar 22, 2024

SG9 briefly looked at this paper in Tokyo to follow up on our discussion of the paper in Kona. We took the following poll:

With the following changes:

  • make borrowed_tail_subrange_t exposition-only
  • constrain the CharT of scannable_range to be exactly one of char or wchar_t

Forward P1729R4 to LEWG for inclusion in C++26.

SF F N A SA
5 1 0 0 0

Conclusion: enough of consensus (weak quorum), given the consensus that also existed in Kona
Attendance: 7


We will address the weak quorum by asking the SG9 mailing list to file any objections within the next week, but unless we get such objections (which will be summarized here), the SG9 aspects of this proposal are ready for LEWG review (once other study groups are done with it, of course).

@tahonermann
Copy link
Collaborator

SG16 reviewed P1729R4 during its 2024-03-13 meeting. No polls were taken.

Some questions were raised regarding the proposed std::scan() behavior for fill characters and centered text relative to the Python parse project, scanf(), and iostreams. These were raised while reviewing the examples in section 4.3.2, "Fill and align". The authors were encouraged to investigate further and return with a revised paper.

Adding the needs-revision label. SG16 looks forward to reviewing again in the near future.

@tahonermann tahonermann added the needs-revision Paper needs changes before it can proceed label Mar 22, 2024
@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 17, 2024

P1729R5 Text Parsing (Elias Kosunen, Victor Zverovich)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Oct 17, 2024
@wg21bot wg21bot changed the title P1729 R4 Text Parsing P1729 R5 Text Parsing Oct 17, 2024
@jensmaurer jensmaurer modified the milestones: 2024-telecon, 2025-telecon Dec 18, 2024
@tahonermann
Copy link
Collaborator

@inbal2l, I don't think this paper is on track for C++26. If you agree, please remove the C++26 label.

@cor3ntin cor3ntin removed the C++26 Targeted at C++26 label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 format IS Ship vehicle: IS SG16 Text processing size - large paper size estimate
Projects
None yet
Development

No branches or pull requests

8 participants