|
@@ -3,6 +3,30 @@ GraphQL Lua
|
|
|
|
|
|
Lua implementation of GraphQL parser using LPeg. Experimental.
|
|
|
|
|
|
+Right now it can parse pretty much all of the query syntax:
|
|
|
+
|
|
|
+- Documents
|
|
|
+- Definitions
|
|
|
+ - OperationDefinition
|
|
|
+ - FragmentDefinition
|
|
|
+- Selections
|
|
|
+- Fields
|
|
|
+- Aliases
|
|
|
+- Arguments
|
|
|
+- FragmentSpreads and InlineFragments
|
|
|
+- All value types (scalars, enums, lists, objects, variables).
|
|
|
+- Variables (typed)
|
|
|
+- Directives
|
|
|
+
|
|
|
+Missing features:
|
|
|
+
|
|
|
+- Validation, error handling
|
|
|
+- Comments
|
|
|
+- Type definitions, interfaces, etc.
|
|
|
+- Introspection
|
|
|
+- Execution
|
|
|
+- Unicode stuff
|
|
|
+
|
|
|
Example
|
|
|
---
|
|
|
|