GithubHelp home page GithubHelp logo

apollographql / apollo-rs Goto Github PK

View Code? Open in Web Editor NEW
561.0 33.0 39.0 4.42 MB

Spec compliant GraphQL Tools in Rust.

License: Apache License 2.0

Rust 99.98% Python 0.02%
graphql rust parser graphql-tools apollo compiler graphql-compiler graphql-parser

apollo-rs's Issues

parse operations

  • parse OperationDefinition
  • parse OperationType
  • parse OperationTypeDefinition

parse values

  • parse Value
  • parse StringValue (in lexer)
  • parse FloatValue (in lexer)
  • parse IntValue (in lexer)
  • parse BooleanValue (in lexer)
  • parse NullValue
  • parse EnumValue
  • parse ListValue
  • parse ObjectValue

typed ast: parse graphql types

using generated nodes from #3 and syntax kinds from #2 we need to be able to create parse rules for the following graphql types:

  • #9
  • #10
  • #11
  • #12
    • #13
    • parse OperationDefinition
    • #44
  • #20
    • parse InlineFragment
    • parse FragmentDefinition
    • parse FragmentName
  • #21
  • #22
  • #31
  • #32
  • #33
  • #34
  • #35
  • #36
  • #37
  • #38
  • #39
  • #40
  • #42
  • #41
  • #43
  • #45
  • #46
  • #47
  • #48
    • parse ScalarTypeDefinition
    • parse ScalarTypeExtension
  • #49
  • #50
  • #51
  • #52
  • #53
    • parse InterfaceTypeDefinition
    • parse InterfaceTypeExtension
  • #54
    • parse UnionTypeDefinition
    • parse UnionMemberTypes
    • parse UnionTypeExtension
  • #55
    • parse EnumTypeDefinition
    • parse EnumValuesDefinition
    • parse EnumValueDefinition
    • parse EnumTypeExtension
  • #56
    • parse ArgumentsDefinition
    • parse InputValueDefinition
    • parse InputObjectTypeDefinition
    • parse InputFieldsDefinition
    • parse InputObjectTypeExtension
  • #57
    • parse Directives
    • parse Directive
    • parse DirectiveDefinition
    • parse DirectiveLocations
    • parse DirectiveLocation
    • parse ExecutableDirectiveLocation
    • parse TypeSystemDirectiveLocation
  • parse whitespace and other ignored tokens #79
  • #72
  • #71
  • #83

parse fragment

  • parse FragmentSpread
  • parse InlineFragment
  • parse FragmentDefinition
  • parse FragmentName

parse scalars

  • parse ScalarTypeDefinition
  • parse ScalarTypeExtension

Parser

Description

Tracking issue for the parser.

Requirements

Specified elsewhere.

Subtasks

  • TODO

parse Description

  • parse string character
  • parse block string character
  • parse comment

The distinction can be done in the lexer. It can create two different tokens: StringValue and Comment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.