aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-30kolam: Implement GraphQL document serializer.Arun Isaac
* kolam/parse.scm: Import (srfi srfi-28) and (kolam utils). (indent-level, serialize-arguments, serialize-node, serialize-selection): New functions. (scm->graphql, scm->graphql-string): New public functions.
2021-12-30kolam: Implement pairify function.Arun Isaac
The pairify function will be used in later commits. * kolam/utils.scm: New file.
2021-12-30kolam: Set content-type of response to application/graphql+json.Arun Isaac
* kolam/http.scm (graphql-handler): Set content-type of response to application/graphql+json.
2021-12-30kolam: Allow leaf nodes to be list types.Arun Isaac
* kolam/graphql.scm (resolvable-type?): New function. (eval-graphql): Allow leaf nodes to be list types.
2021-12-30kolam: Support field alias.Arun Isaac
* kolam/graphql.scm (tree->root+alias+args+children): New function. (eval-graphql): Call tree->root+alias+args+children and use the returned alias in the response.
2021-12-30dir-locals: Add Emacs directory local variables.Arun Isaac
* .dir-locals.el: New file.
2021-12-30kolam: Implement HTTP server.Arun Isaac
* kolam/http.scm: New file.
2021-12-28Initial commitArun Isaac