|
@@ -3,30 +3,6 @@ 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
|
|
|
---
|
|
|
|
|
@@ -84,6 +60,33 @@ Gives you this scary table:
|
|
|
}
|
|
|
```
|
|
|
|
|
|
+Status
|
|
|
+---
|
|
|
+
|
|
|
+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
|
|
|
+
|
|
|
License
|
|
|
---
|
|
|
|