thumbtack-eee / Skylab

Swift GraphQL client
0 stars 0 forks source link

Update GraphQL grammar to latest working draft #1

Open thumbtack-eee opened 4 years ago

thumbtack-eee commented 4 years ago

https://graphql.github.io/graphql-spec/draft/#sec-Appendix-Grammar-Summary

thumbtack-eee commented 4 years ago

The existing Antlr4 grammar for GraphQL is pretty old and doesn't align well with the symbol names used by the current spec's grammar.

thumbtack-eee commented 4 years ago

Note that Apollo also uses Antlr4 and has a [possibly newer grammar|https://github.com/apollographql/apollo-android/blob/master/apollo-compiler/src/main/antlr/com/apollographql/apollo/compiler/parser/antlr/GraphQL.g4].