Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 255 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 255 Bytes

Grape

Grape is a GraphQL Lexer, Parser, Validator, and Runtime.

use grape::Parse;

fn main() {
  let source = "{ post { user } }";
  let mut parse = Parse::new(source);
  let document = parse.document();
  println!("{:#?}", document);
}