https://github.com/danue1/grape-rs
Grape is a GraphQL Lexer, Parser, Validator, and Runtime.
https://github.com/danue1/grape-rs
graphql lexer parser runtime validator
Last synced: 11 months ago
JSON representation
Grape is a GraphQL Lexer, Parser, Validator, and Runtime.
- Host: GitHub
- URL: https://github.com/danue1/grape-rs
- Owner: Danue1
- Created: 2022-01-25T13:57:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-31T07:48:42.000Z (about 4 years ago)
- Last Synced: 2025-02-27T18:27:25.841Z (12 months ago)
- Topics: graphql, lexer, parser, runtime, validator
- Language: Rust
- Homepage:
- Size: 120 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grape
`Grape` is a GraphQL Lexer, Parser, Validator, and Runtime.
```rust
use grape::Parse;
fn main() {
let source = "{ post { user } }";
let mut parse = Parse::new(source);
let document = parse.document();
println!("{:#?}", document);
}
```