summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-16Version bump and CHANGELOGv0.2.1Danny Navarro
2015-09-16Add travis supportDanny Navarro
2015-09-16Support ghc-7.8Danny Navarro
2015-09-16Use Cabal data-files to access golden tests dataDanny Navarro
Fixes #1.
2015-09-14Version bump, CHANGELOG and some gardeningv0.2Danny Navarro
2015-09-14Version bump, CHANGELOG and some gardeningDanny Navarro
2015-09-14Convenient imports for ghciDanny Navarro
2015-09-14Add golden test for kitchen-sink.graphqlDanny Navarro
2015-09-14Enable warnings and take care of extra importsDanny Navarro
2015-09-14Handle comments in whitespaceDanny Navarro
2015-09-14Update TODODanny Navarro
2015-09-14Fix `value` parsingDanny Navarro
- Add missing variable parsing. - Reuse `name` in value string. This parses successfully the `kitchen-sink.graphql` sample from `graphql-js`.
2015-09-14Replace `take...` functions with `many...`Danny Navarro
They are less efficient but they are giving me issues because they don't fail. Once this is working I'll look into optimizing. Also disable skipping comments until I figure out how to skip both comments and space at the same time.
2015-09-14Several improvements to the parserDanny Navarro
- Add token combinator to simplify whitespace handling. - Simplify whiteSpace parsers. - Add `optempty` to handle pure mempty cases. `empty /= pure mempty`. - Use `between` combinators for brackets, braces and parens. This also includes small adjustments to the AST.
2015-09-13Add missing `=` required default values and unionsDanny Navarro
2015-09-13Take care of commentsDanny Navarro
2015-09-13Add GraphQL parserDanny Navarro
WIP: This parser just type checks, it hasn't even been tested manually. Check new tasks in the TODO file and the TODO comments in the code for more gotchas.
2015-09-13Minor adjustments in AST for easier parsingDanny Navarro
Also `Maybe` wrappers removed. I don't think there needs to be a special case for empty values vs no values at all.
2015-09-12Add missing OperationDefinition `Name`Danny Navarro
2015-09-12Rename module `Data.GraphQL` -> `Data.GraphQL.AST`Danny Navarro
2015-09-12Gardenv0.1Danny Navarro
2015-09-12Initial commitDanny Navarro
This includes a rough port of the data types at https://github.com/graphql/graphql-js/blob/master/src/language/ast.js