Add experimental parser module

This commit is contained in:
Zed 2022-01-26 21:05:23 +01:00
parent 4738ec3385
commit 3a076a9b4e
2 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,7 @@
import asyncdispatch, httpclient, uri, strutils, sequtils, sugar import asyncdispatch, httpclient, uri, strutils, sequtils, sugar
import packedjson import packedjson
import types, query, formatters, consts, apiutils, parser import types, query, formatters, consts, apiutils, parser
import experimental/parser/[user, graphql] import experimental/parser as newParser
import experimental/parser/timeline as timelineParser
proc getGraphUser*(id: string): Future[User] {.async.} = proc getGraphUser*(id: string): Future[User] {.async.} =
if id.len == 0 or id.any(c => not c.isDigit): return if id.len == 0 or id.any(c => not c.isDigit): return

View File

@ -0,0 +1,2 @@
import parser/[user, graphql, timeline]
export user, graphql, timeline