{"id":51508531,"url":"https://github.com/blackwell-systems/tree-sitter-gcf","last_synced_at":"2026-07-08T03:30:37.497Z","repository":{"id":363058796,"uuid":"1261751925","full_name":"blackwell-systems/tree-sitter-gcf","owner":"blackwell-systems","description":"Tree-sitter grammar for GCF. Full spec compliance, WASM build for browser playground.","archived":false,"fork":false,"pushed_at":"2026-06-23T05:06:52.000Z","size":238,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-23T07:07:40.070Z","etag":null,"topics":["ai-agents","code-highlighting","developer-tools","editor","gcf","grammar","graph-compact-format","helix","json-alternative","llm","mcp","neovim","parser","structured-data","syntax-highlighting","text-editor","token-efficiency","tree-sitter","wire-format","zed"],"latest_commit_sha":null,"homepage":"https://www.gcformat.com/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackwell-systems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-07T05:23:21.000Z","updated_at":"2026-06-23T05:04:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/blackwell-systems/tree-sitter-gcf","commit_stats":null,"previous_names":["blackwell-systems/tree-sitter-gcf"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/blackwell-systems/tree-sitter-gcf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Ftree-sitter-gcf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Ftree-sitter-gcf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Ftree-sitter-gcf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Ftree-sitter-gcf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackwell-systems","download_url":"https://codeload.github.com/blackwell-systems/tree-sitter-gcf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Ftree-sitter-gcf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35251015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","code-highlighting","developer-tools","editor","gcf","grammar","graph-compact-format","helix","json-alternative","llm","mcp","neovim","parser","structured-data","syntax-highlighting","text-editor","token-efficiency","tree-sitter","wire-format","zed"],"created_at":"2026-07-08T03:30:36.908Z","updated_at":"2026-07-08T03:30:37.488Z","avatar_url":"https://github.com/blackwell-systems.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/blackwell-systems\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/blackwell-systems/blackwell-docs-theme/main/badge-trademark.svg\" alt=\"Blackwell Systems\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# tree-sitter-gcf\n\nTree-sitter grammar for [GCF](https://gcformat.com/), the token-optimized wire format for LLMs.\n\nEnables syntax highlighting in Neovim, Helix, Zed, Emacs, and any editor that supports tree-sitter.\n\n![GCF syntax highlighting](https://raw.githubusercontent.com/blackwell-systems/tree-sitter-gcf/main/assets/gcf-highlight.png)\n\n## Supported syntax\n\n- Header lines (`GCF tool=... symbols=... edges=...`)\n- Section headers (`## targets`, `## edges [N]`, `## name [N]{fields}`)\n- Symbol lines (`@0 fn pkg.Auth 0.78 lsp_resolved`)\n- Edge lines (`@0\u003c@1 calls`)\n- Bare references (`@0  # previously transmitted`)\n- Key-value pairs (`key=value`)\n- Inline arrays (`tags[3]: read,write,admin`)\n- Tabular rows (`Alice|Engineering|95000`)\n- Nested fields (`.customer`)\n- Summary trailers (`## _summary symbols=3 edges=2`)\n- Comments (`# text`)\n\n## Neovim\n\nAdd to your tree-sitter config:\n\n```lua\nlocal parser_config = require(\"nvim-treesitter.parsers\").get_parser_configs()\nparser_config.gcf = {\n  install_info = {\n    url = \"https://github.com/blackwell-systems/tree-sitter-gcf\",\n    files = { \"src/parser.c\" },\n    branch = \"main\",\n  },\n  filetype = \"gcf\",\n}\n```\n\nThen `:TSInstall gcf`.\n\nCopy `queries/highlights.scm` to `~/.config/nvim/queries/gcf/highlights.scm`.\n\n## Helix\n\nAdd to `languages.toml`:\n\n```toml\n[[language]]\nname = \"gcf\"\nscope = \"source.gcf\"\nfile-types = [\"gcf\"]\nroots = []\n\n[language.auto-pairs]\n\n[[grammar]]\nname = \"gcf\"\nsource = { git = \"https://github.com/blackwell-systems/tree-sitter-gcf\", rev = \"main\" }\n```\n\nThen `hx --grammar fetch \u0026\u0026 hx --grammar build`.\n\n## Development\n\n```bash\nnpm install\ntree-sitter generate\ntree-sitter parse test.gcf\ntree-sitter highlight test.gcf\n```\n\n## License\n\nMIT - [Dayna Blackwell](https://github.com/blackwell-systems)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackwell-systems%2Ftree-sitter-gcf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackwell-systems%2Ftree-sitter-gcf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackwell-systems%2Ftree-sitter-gcf/lists"}