-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser Progress #6
Comments
Any input as to where the progress of the lexer actually is would be really appreciated. |
@svmnotn the lexer required more tests and include the location information in the token. |
|
|
There is no libgraphqlparser rust binding other than the really awful one I made, that I know of, and I really do not wish to support that one. If you do know cpp or c and want to deal with Rust FFI feel free to take a chance. Actually that repo does have multiple crates in one repo, so you can look at it for reference if you want. @calebmer wrote an AST that I was planning on simply dropping into here, so if you want compatibility with libgraphqlparser, I'm not entirely sure that it is, but I'll make a pr with it just in case. For reference this is my libgraphqlparser binding. |
ok, let's build one in rust first |
A note on The Ruby gem doesn't require this, however, Ruby can include assets like a I agree it would be nice to use Until then a Rust parser will be way more fun and likely more performant 😊 |
I think the merge of #8 finishes the lexer, is the AST finished? |
With #11 the AST is done for now. Since it's just types it's pretty much tested by the compiler. The one thing that could be useful is an integration test of what the parser should return. |
To me the lexer looks finished but I have not tested, next would be an AST representation of the types, then the parser?
I just created this issue to track the progress of the parser as @calebmer and I need it for a different project. On that note I think splitting the graphql implementation into separate crates and then having a single executable server that uses them will provide the best organization.
The text was updated successfully, but these errors were encountered: