At a glance
- Project
- GraphQL Spec
- Identifier
- #599
- Stage
- RFC 3 / Accepted
- Champion
- @leebyron
- Updated
- 2022-07-01
- Latest activity
- Pull request merged on
- Source
- Pull request
Pull request description
GraphQL syntactical grammars intend to be unambiguous. While lexical grammars should also be - there has historically been an assumption that lexical parsing is greedy. This is obvious for numbers and words, but less obvious for empty block strings.
Either way, the additional clarity removes ambiguity from the spec
Partial fix for #564 Fixes #572
Specifically addresses https://github.com/graphql/graphql-spec/pull/564#issuecomment-508714529
Timeline
January 2020
- Pull request merged on by leebyron
- Advanced to RFC 3 on by leebyron
October 2019
- Discussed in GraphQL WG
September 2019
- Advanced to RFC 2 on by IvanGoncharov
- Discussed in GraphQL WG
- Advanced to RFC 1 on by leebyron
August 2019
- Top comment edited on by leebyron
- On the agenda for GraphQL WG
12 listed attendees · 10 agenda items · 3 linked RFCs
- Opening of the meeting
- Introduction of attendees
- Review previous meeting's action items and check progress on those
- Review agenda (5m)
- Determine volunteers for note taking (5m)
- Parse ambiguity PR & greedy lexing PR (Lee, 10m) #598 #599
- Number lexer follow restriction RFC (Lee, 10m) #601
- libgraphqlparser (Erik) (10m)
- GraphQL CATS (Michael Staib, et al, 10m)
- ADD YOUR AGENDA ITEM ABOVE HERE
July 2019
- Pull request created on by leebyron
- Top comment edited on by leebyron
- @leebyron committed "Clarify lexing is greedy with lookahead restrictions." on