summaryrefslogtreecommitdiff
path: root/Data/GraphQL/AST.hs
AgeCommit message (Collapse)Author
2017-01-28Split AST in 2Danny Navarro
One AST is meant to be a target parser and tries to adhere as much as possible to the spec. The other is a simplified version of that AST meant for execution. Also newtypes have been replaced by type synonyms and NonEmpty lists are being used where it makes sense.
2017-01-26Remove Type Definition supportDanny Navarro
2016-11-27Drop support for GHC-7.8.4Danny Navarro
2016-03-15Merge branch 'all-improvements'Danny Navarro
This adds general API documentation, a tutorial and error handling.
2016-03-14Added documentation of functions and modules and included tutorial.lhs.solrun
2016-02-22Remove `StringValue` typeDanny Navarro
2016-01-26GardenDanny Navarro
2015-09-25Adds IsString instance to Variable for easier REPL playingtimmy_tofu
2015-09-21Introduce `Node` data type to simplify `OperationDefinition`Danny Navarro
Thanks to @swolchok for the suggestion.
2015-09-18Handle escaped quotes for GraphQL String ValuesDanny Navarro
This also includes a new type for Value String. The tests fail now, although it parses successfully. I'll use a pretty printer in next commit so that it's easier to spot the differences. Onces this is working I'll add the rest of the escaped characters.
2015-09-18Refine numeric typesDanny Navarro
2015-09-18GardenDanny Navarro
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-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