{"id":13871857,"url":"https://github.com/CodeEditApp/CodeEditLanguages","last_synced_at":"2025-07-16T01:32:13.573Z","repository":{"id":65294121,"uuid":"559020079","full_name":"CodeEditApp/CodeEditLanguages","owner":"CodeEditApp","description":"A Collection of Tree-Sitter Parsers for Syntax Highlighting","archived":false,"fork":false,"pushed_at":"2024-08-21T14:55:10.000Z","size":1331150,"stargazers_count":104,"open_issues_count":14,"forks_count":30,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-11-18T00:04:30.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeEditApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-10-28T20:55:43.000Z","updated_at":"2024-11-15T09:27:13.000Z","dependencies_parsed_at":"2024-03-16T18:27:40.651Z","dependency_job_id":"e37b6f3c-c875-40e3-84dd-406cc062c86b","html_url":"https://github.com/CodeEditApp/CodeEditLanguages","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditLanguages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditLanguages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditLanguages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeEditApp%2FCodeEditLanguages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeEditApp","download_url":"https://codeload.github.com/CodeEditApp/CodeEditLanguages/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226090000,"owners_count":17572112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-05T23:00:28.348Z","updated_at":"2025-07-16T01:32:13.558Z","avatar_url":"https://github.com/CodeEditApp.png","language":"Swift","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/CodeEditApp/CodeEditLanguages/assets/806104/a0ba0924-ed56-483d-b29e-a19134738d7e\" height=\"128\" alt=\"CodeEditLanguages Icon\"\u003e\n  \u003ch1 align=\"center\"\u003eCodeEditLanguages\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"Follow CodeEdit on Twitter\" href=\"https://twitter.com/CodeEditApp\" target=\"_blank\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Follow%20@CodeEditApp-black.svg?style=for-the-badge\u0026logo=Twitter\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Join the community on Discord\" href=\"https://discord.gg/vChUXVf9Em\" target=\"_blank\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Join%20the%20community-black.svg?style=for-the-badge\u0026logo=Discord\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Read the Documentation\" href=\"https://codeeditapp.github.io/CodeEditLanguages/documentation/codeeditlanguages\" target=\"_blank\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Documentation-black.svg?style=for-the-badge\u0026logo=readthedocs\u0026logoColor=blue\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nA collection of `tree-sitter` languages for syntax highlighting.\n\n![Github Tests](https://img.shields.io/github/actions/workflow/status/CodeEditApp/CodeEditLanguages/CI-push.yml?branch=main\u0026label=tests\u0026style=flat-square)\n![GitHub Repo stars](https://img.shields.io/github/stars/CodeEditApp/CodeEditLanguages?style=flat-square)\n![GitHub forks](https://img.shields.io/github/forks/CodeEditApp/CodeEditLanguages?style=flat-square)\n[![Discord Badge](https://img.shields.io/discord/951544472238444645?color=5865F2\u0026label=Discord\u0026logo=discord\u0026logoColor=white\u0026style=flat-square)](https://discord.gg/vChUXVf9Em)\n\n## Overview\n\nThis package includes a binary framework `CodeLanguagesContainer.xcframework` which bundles all `tree-sitter` languages in a single binary to greatly reduce SPM package resolution times.\n\nThe languages are then served as a `CodeLanguage`.\n\n## SwiftTreeSitter\n\nThis package heavily depends on [SwiftTreeSitter](https://github.com/ChimeHQ/SwiftTreeSitter) by [Matt Massicotte](https://twitter.com/mattie).\n\n## Documentation\n\nThe documentation including a guide on how to add support for new languages can be found **[here](https://codeeditapp.github.io/CodeEditLanguages/documentation/codeeditlanguages)**!\n\n## Supported Languages\n\nThere are several [language grammars](https://tree-sitter.github.io/tree-sitter/#available-parsers) available for [tree-sitter](https://tree-sitter.github.io/tree-sitter/). Many of them are already supported in `CodeEditLanguages`. In order to use **syntax-highlighting** with those grammars, they need to supply a `highlights.scm` file. Grammars for which this file does not exist yet, are marked with _`not available`_ below. This file has to be added to the grammar's repo directly.\n\nIn order to add support for additional languages we have a complete guide on how to implement them in `CodeEditLanguages` available [here](https://codeeditapp.github.io/CodeEditLanguages/documentation/codeeditlanguages/add-languages/).\n\n\u003e If you want to add support for another language, please file an [issue](https://github.com/CodeEditApp/CodeEditLanguages/issues/new/choose) first, so everyone knows that this is in progress.\n\n| Grammar        | Implemented | Syntax Highlighting |\n| -------------- | :---------: | :-----------------: |\n| [Agda](https://github.com/tree-sitter/tree-sitter-agda.git) | ✅ | _not available_ |\n| [Bash](https://github.com/tree-sitter/tree-sitter-bash) | ✅ | ✅ |\n| [C](https://github.com/tree-sitter/tree-sitter-c) | ✅ | ✅ |\n| [C++](https://github.com/tree-sitter/tree-sitter-cpp) | ✅ | ✅ |\n| [C#](https://github.com/tree-sitter/tree-sitter-c-sharp) | ✅ | ✅ |\n| [CSS](https://github.com/tree-sitter/tree-sitter-css.git) | ✅ | ✅ |\n| [Dart](https://github.com/UserNobody14/tree-sitter-dart.git) | ✅ | ✅ |\n| [Dockerfile](https://github.com/camdencheek/tree-sitter-dockerfile) | ✅ | ✅ |\n| [Elixir](https://github.com/elixir-lang/tree-sitter-elixir) | ✅ | ✅ |\n| [ERB, EJS](https://github.com/tree-sitter/tree-sitter-embedded-template) |  |  |\n| [Go](https://github.com/tree-sitter/tree-sitter-go) | ✅ | ✅ |\n| [Haskell](https://github.com/tree-sitter/tree-sitter-haskell) | ✅ | ✅ |\n| [HTML](https://github.com/tree-sitter/tree-sitter-html) | ✅ | ✅ |\n| [Java](https://github.com/tree-sitter/tree-sitter-java) | ✅ | ✅ |\n| [JavaScript/JSX](https://github.com/tree-sitter/tree-sitter-javascript) | ✅ | ✅ |\n| [JSDoc](https://github.com/tree-sitter/tree-sitter-jsdoc) | ✅ | ✅ |\n| [JSON](https://github.com/tree-sitter/tree-sitter-json) | ✅ | ✅ |\n| [Julia](https://github.com/tree-sitter/tree-sitter-julia) | ✅ | _not available_ |\n| [Kotlin](https://github.com/fwcd/tree-sitter-kotlin) | ✅ | ✅ |\n| [Lua](https://github.com/tree-sitter-grammars/tree-sitter-lua) | ✅ | ✅ |\n| [Markdown](https://github.com/tree-sitter-grammars/tree-sitter-markdown) | ✅ | ✅ |\n| [Objective C](https://github.com/tree-sitter-grammars/tree-sitter-objc) | ✅ | ✅ |\n| [OCaml](https://github.com/tree-sitter/tree-sitter-ocaml) | ✅ | ✅ |\n| Plain Text | ✅ | _not available_ |\n| [Perl](https://github.com/ganezdragon/tree-sitter-perl) | ✅ | _not available_ |\n| [PHP](https://github.com/tree-sitter/tree-sitter-php) | ✅ | ✅ |\n| [Python](https://github.com/tree-sitter/tree-sitter-python) | ✅ | ✅ |\n| [Regex](https://github.com/tree-sitter/tree-sitter-regex) | ✅ | ✅ |\n| [Ruby](https://github.com/mattmassicotte/tree-sitter-ruby) | ✅ | ✅ |\n| [Rust](https://github.com/tree-sitter/tree-sitter-rust) | ✅ | ✅ |\n| [Scala](https://github.com/tree-sitter/tree-sitter-scala) | ✅ | ✅ |\n| [Sql](https://github.com/DerekStride/tree-sitter-sql) | ✅ | ✅ |\n| [Swift](https://github.com/alex-pinkus/tree-sitter-swift/tree/with-generated-files) | ✅ | ✅ |\n| [TOML](https://github.com/cengelbart39/tree-sitter-toml/tree/feature/spm) | ✅ | ✅ |\n| [TypeScript/TSX](https://github.com/tree-sitter/tree-sitter-typescript) | ✅ | ✅ |\n| [Verilog](https://github.com/tree-sitter/tree-sitter-verilog) | ✅ | _not available_ |\n| [YAML](https://github.com/tree-sitter-grammars/tree-sitter-yaml.git) | ✅ | ✅ |\n| [Zig](https://github.com/tree-sitter-grammars/tree-sitter-zig.git) | ✅ | ✅ |\n\n## Related Repositories\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEdit\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEdit/blob/main/.github/CodeEdit-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;CodeEdit\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditSourceEditor\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditSourceEditor/blob/main/.github/CodeEditSourceEditor-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003eCodeEditSourceEditor\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditSourceEditor\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditTextView/blob/main/.github/CodeEditTextView-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003eCodeEditTextView\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditCLI\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditCLI/blob/main/.github/CodeEditCLI-Icon-128@2x.png?raw=true\" height=\"128\"\u003e\n        \u003cp\u003eCodeEditCLI\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/CodeEditApp/CodeEditKit\"\u003e\n        \u003cimg src=\"https://github.com/CodeEditApp/CodeEditKit/blob/main/.github/CodeEditKit-Icon-128@2x.png?raw=true\" width=\"128\" height=\"128\"\u003e\n        \u003cp\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;CodeEditKit\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/p\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCodeEditApp%2FCodeEditLanguages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCodeEditApp%2FCodeEditLanguages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCodeEditApp%2FCodeEditLanguages/lists"}