Remove TODO

Issues should be created instead.
This commit is contained in:
Eugen Wissner 2019-07-17 07:06:35 +02:00
parent f3b8d9b74c
commit 74801b0483
4 changed files with 7 additions and 31 deletions

View File

@ -4,13 +4,14 @@
[![Build Status](https://semaphoreci.com/api/v1/belka-ew/graphql/branches/master/badge.svg)](https://semaphoreci.com/belka-ew/graphql) [![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) [![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, For now this only provides a parser for the GraphQL query language and allows
but the idea is to be a Haskell port of to execute queries and mutations without the schema validation step.
[`graphql-js`](https://github.com/graphql/graphql-js). Next releases But the idea is to be a Haskell port of
should include: [`graphql-js`](https://github.com/graphql/graphql-js). Next releases should
include:
- [x] GraphQL AST - [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. - [x] Printer for GraphQL. This is not pretty yet.
- [ ] GraphQL Schema AST. - [ ] GraphQL Schema AST.
- [ ] Parser for the GraphQL Schema language. - [ ] Parser for the GraphQL Schema language.
@ -18,8 +19,6 @@ should include:
- [ ] Interpreter of GraphQL requests. - [ ] Interpreter of GraphQL requests.
- [ ] Utilities to define GraphQL types and schema. - [ ] Utilities to define GraphQL types and schema.
See the TODO file for more concrete tasks.
## Contact ## Contact
Suggestions, contributions and bug reports are welcome. Suggestions, contributions and bug reports are welcome.

21
TODO
View File

@ -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

View File

@ -4,7 +4,7 @@ cabal-version: 1.12
-- --
-- see: https://github.com/sol/hpack -- see: https://github.com/sol/hpack
-- --
-- hash: 2ad18ce352b6b5324c5e8c4fa3e7c1dc39022b209696d162367d13300c4046fd -- hash: 36fc8a7c107b61579191035619873e2001628165d12013cef25921cd7e31a240
name: graphql name: graphql
version: 0.4.0.0 version: 0.4.0.0
@ -26,7 +26,6 @@ extra-source-files:
CHANGELOG.md CHANGELOG.md
README.md README.md
LICENSE LICENSE
TODO
docs/tutorial/tutorial.lhs docs/tutorial/tutorial.lhs
data-files: data-files:
tests/data/kitchen-sink.graphql tests/data/kitchen-sink.graphql

View File

@ -20,7 +20,6 @@ extra-source-files:
- CHANGELOG.md - CHANGELOG.md
- README.md - README.md
- LICENSE - LICENSE
- TODO
- docs/tutorial/tutorial.lhs - docs/tutorial/tutorial.lhs
data-files: data-files: