22d4a4e583
Change the main namespace to Language.GraphQL
2019-07-07 06:31:53 +02:00
3cc38343db
Fix ambigious Int resolution in the lexer tests
2019-06-26 15:41:30 +02:00
5e9bf9648d
Parse queries with megaparsec
2019-06-21 10:44:58 +02:00
Danny Navarro
5390c4ca1e
Split AST in 2
...
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-28 14:15:14 -03:00
Danny Navarro
933cfd2852
Tokenize number parser
...
The essential change hidden behind the code golfing is using the `tok`
combinator. This was making fail the Kitchen Sink test.
2016-12-18 12:19:59 -03:00
Danny Navarro
04d8d40b3a
Split StarWars tests in different modules
2016-02-12 13:27:46 +01:00
Danny Navarro
78e0d871d5
Garden
2016-01-26 13:38:02 +01:00
Danny Navarro
4e5dc3433a
Implement first StarWars end-to-end test
...
`execute` still needs to be implemented.
2015-10-19 12:19:39 +02:00
Danny Navarro
af42e5577c
Rename Data.GraphQL.Printer
-> Data.GraphQL.Encoder
2015-09-22 14:23:18 +02:00
Danny Navarro
a4db99ea5d
Fixes for ghc-7.8
2015-09-22 14:02:49 +02:00
Danny Navarro
06b3302862
Add kitchen sink parse/encode unit test
...
This also includes the fixes to make it work. Golden tests have been
removed.
2015-09-22 14:02:49 +02:00