$ show apollographql/xcode-graphql
This repository provides syntax highlighting for GraphQL files in Xcode. It consists of an Xcode plugin that defines a file type for .graphql files and a language specification that provides syntax coloring. The plugin adapts to the deprecation of the Xcode plugin mechanism by focusing on the file type and language specification components, which still work in recent Xcode versions. The core component, GraphQL.xclangspec, is a well-crafted language definition that covers the full GraphQL syntax.
The LLM identified 1 files worth highlighting for reuse:
This file defines the syntax highlighting rules for GraphQL in Xcode. It includes lexer rules for tokens, operations, selection sets, fragments, variables, arguments, values, types, and directives. It is a self-contained, comprehensive language specification that could be reused in other Xcode plugins requiring GraphQL syntax highlighting.