diff --git a/README.md b/README.md index 866b186..9f26725 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,14 @@ [![Build Status](https://semaphoreci.com/api/v1/belka-ew/graphql/branches/master/badge.svg)](https://semaphoreci.com/belka-ew/graphql) [![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)](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. diff --git a/TODO b/TODO deleted file mode 100644 index 124d1f9..0000000 --- a/TODO +++ /dev/null @@ -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: