diff options
| -rw-r--r-- | README.md | 13 | ||||
| -rw-r--r-- | TODO | 21 | ||||
| -rw-r--r-- | graphql.cabal | 3 | ||||
| -rw-r--r-- | package.yaml | 1 |
4 files changed, 7 insertions, 31 deletions
@@ -4,13 +4,14 @@ [](https://semaphoreci.com/belka-ew/graphql) [](https://raw.githubusercontent.com/caraus-ecms/graphql/master/LICENSE) -For now this only provides the data types to represent the GraphQL AST, -but the idea is to be a Haskell port of -[`graphql-js`](https://github.com/graphql/graphql-js). Next releases -should include: +For now this only provides a parser for the GraphQL query language and allows +to execute queries and mutations without the schema validation step. +But the idea is to be a Haskell port of +[`graphql-js`](https://github.com/graphql/graphql-js). Next releases should +include: - [x] GraphQL AST -- [x] Parser for the GraphQL language. See TODO for limitations. +- [x] Parser for the GraphQL language. - [x] Printer for GraphQL. This is not pretty yet. - [ ] GraphQL Schema AST. - [ ] Parser for the GraphQL Schema language. @@ -18,8 +19,6 @@ should include: - [ ] Interpreter of GraphQL requests. - [ ] Utilities to define GraphQL types and schema. -See the TODO file for more concrete tasks. - ## Contact Suggestions, contributions and bug reports are welcome. @@ -1,21 +0,0 @@ -## AST -- Docs -- Simplify unnecessary `newtypes` with type synonyms -- Simplify wrapper type constructors. Some types can be just constructors. -- Data type accessors -- Deal with strictness/unboxing -- Deal with location - -## Parser -- Docs -- Handle escape characters in string literals -- Guard for `on` in `FragmentSpread` -- Handle `[Const]` grammar parameter. Need examples -- Handle `maxBound` Int values. -- Diagnostics. Perhaps port to `parsers` and use `trifecta` for diagnostics, - and `attoparsec` for performance. -- Optimize `whiteSpace`, perhaps front the main parser with a lexer. - -## Printer -- Add pretty printer. -- Docs diff --git a/graphql.cabal b/graphql.cabal index 606a834..3fa5a4b 100644 --- a/graphql.cabal +++ b/graphql.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 2ad18ce352b6b5324c5e8c4fa3e7c1dc39022b209696d162367d13300c4046fd +-- hash: 36fc8a7c107b61579191035619873e2001628165d12013cef25921cd7e31a240 name: graphql version: 0.4.0.0 @@ -26,7 +26,6 @@ extra-source-files: CHANGELOG.md README.md LICENSE - TODO docs/tutorial/tutorial.lhs data-files: tests/data/kitchen-sink.graphql diff --git a/package.yaml b/package.yaml index f7dd238..5ffb72e 100644 --- a/package.yaml +++ b/package.yaml @@ -20,7 +20,6 @@ extra-source-files: - CHANGELOG.md - README.md - LICENSE -- TODO - docs/tutorial/tutorial.lhs data-files: |
