1.0.0 • Published 6 years ago

tree-sitter-graphql v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

tree-sitter-graphql

Attempt at a graphql grammar for tree-sitter.
Install with

npm install tree-sitter-graphql

I think I have the whole ast defined, but please let me know (or send a PR!) if I have missed something. I have all the rules defined with their names from the graphql spec (https://facebook.github.io/graphql/draft), so you can look at those and write an Atom grammar.

I didn't hide any rule (http://tree-sitter.github.io/tree-sitter/creating-parsers#hiding-rules) because I feel like it is quite useful to have the groupings, and not very distracting either. At least, not for graphql which is quite simple.

Thanks for reading,
Michiel Dral

1.0.0

6 years ago

0.0.1

6 years ago