{"id":17267036,"url":"https://github.com/coyote-31/tree-sitter-eu4mod","last_synced_at":"2025-07-31T22:03:25.647Z","repository":{"id":42922165,"uuid":"243728968","full_name":"Coyote-31/tree-sitter-eu4mod","owner":"Coyote-31","description":"📦 Tree sitter parser package for ⚜ Europa Universalis IV ⚜","archived":false,"fork":false,"pushed_at":"2025-06-03T08:48:33.000Z","size":2672,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T06:45:18.557Z","etag":null,"topics":["eu4","europa-universalis-4","europa-universalis-iv","paradox-interactive","tree-sitter"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/tree-sitter-eu4mod","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/Coyote-31.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}},"created_at":"2020-02-28T09:49:09.000Z","updated_at":"2024-05-23T07:52:53.000Z","dependencies_parsed_at":"2025-04-14T08:03:46.744Z","dependency_job_id":"5926757f-ffd5-488d-8e17-f8b1427cd32e","html_url":"https://github.com/Coyote-31/tree-sitter-eu4mod","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/Coyote-31/tree-sitter-eu4mod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coyote-31%2Ftree-sitter-eu4mod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coyote-31%2Ftree-sitter-eu4mod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coyote-31%2Ftree-sitter-eu4mod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coyote-31%2Ftree-sitter-eu4mod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coyote-31","download_url":"https://codeload.github.com/Coyote-31/tree-sitter-eu4mod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coyote-31%2Ftree-sitter-eu4mod/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265294422,"owners_count":23742491,"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":["eu4","europa-universalis-4","europa-universalis-iv","paradox-interactive","tree-sitter"],"created_at":"2024-10-15T08:08:40.535Z","updated_at":"2025-07-31T22:03:25.571Z","avatar_url":"https://github.com/Coyote-31.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **`tree-sitter-eu4mod`**\n\n[![npm](https://img.shields.io/npm/v/tree-sitter-eu4mod?color=%23147dce\u0026logo=npm)](https://www.npmjs.com/package/tree-sitter-eu4mod) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Coyote-31/tree-sitter-eu4mod/Node.js%20CI?label=Node.js%20CI\u0026logo=github)](https://github.com/Coyote-31/tree-sitter-eu4mod/actions?query=workflow%3A%22Node.js+CI%22) [![GitHub](https://img.shields.io/github/license/Coyote-31/tree-sitter-eu4mod?color=%230f1014)](https://github.com/Coyote-31/tree-sitter-eu4mod/blob/master/LICENSE)\n\n📦 `tree-sitter-eu4mod` is a global grammar parser for **Europa Universalis IV**.\n\n\n## 📄 Description\n\nThis package is a global **grammar parser** for **EU4** files. Focusing on developers working on EU4 mods and providing them a grammar parser able to handle any extension's file listed below in EU4 directory for modding purpose.\n\n\n### How to install :\n\nTo install this package from the [npmjs repository](https://www.npmjs.com/package/tree-sitter-eu4mod) via CLI :\n\n    npm install tree-sitter-eu4mod\n\n\n### Which EU4 file extension is managed :\n\nExtension | Supported\n:---:   |   :---:\n.mod    |    ✅\n.gfx    |    ✅\n.gui    |    ✅\n.yml    |    ✅\n\n\n### Which text editor use this package :\n\n- **[⚛ Atom](https://atom.io)** : With the package [`language-eu4mod`](https://atom.io/packages/language-eu4mod) on [atom.io](https://atom.io/packages/) registry.\n\n\n## 📚 Documentation\n\n\n### How it works :\n\nThe parser is build with a generator tool from the dependency package [`tree-sitter`](https://github.com/tree-sitter/tree-sitter). The grammar is define with a *Javascript* file named `grammar.js` then [`tree-sitter`](https://github.com/tree-sitter/tree-sitter) generate *C* libraries as parsers. And theses parsers can be used in other applications supporting [context-free grammars](https://en.wikipedia.org/wiki/Context-free_grammar) (eg. [⚛ Atom](https://atom.io)) for the syntax highlighting of eu4 modding files.\n\n\n### Source archive :\n\nLink | Info\n:---:     |   :---:\n**[GitHub repository](https://github.com/Coyote-31/tree-sitter-eu4mod)** | [![GitHub commits](https://badgen.net/github/commits/Coyote-31/tree-sitter-eu4mod?icon=git\u0026label=total%20commits)](https://github.com/Coyote-31/tree-sitter-eu4mod/commits/master)\n**[Last release](https://github.com/Coyote-31/tree-sitter-eu4mod/releases/latest)** | [![GitHub tag (latest by date)](https://badgen.net/github/tag/Coyote-31/tree-sitter-eu4mod?icon=atom\u0026label=last%20release)](https://github.com/Coyote-31/tree-sitter-eu4mod/releases/latest)\n**[All releases](https://github.com/Coyote-31/tree-sitter-eu4mod/releases)** | [![total releases](https://badgen.net/github/tags/Coyote-31/tree-sitter-eu4mod?icon=npm\u0026label=total%20releases)](https://github.com/Coyote-31/tree-sitter-eu4mod/releases)\n\n\n## 🐛 Any issue or bug **[report here](https://github.com/Coyote-31/tree-sitter-eu4mod/issues)**\nIf you have any issue or find a bug please :\n\n- **[Open an issue on GitHub](https://github.com/Coyote-31/tree-sitter-eu4mod/issues)** : ![GitHub issues](https://img.shields.io/github/issues/Coyote-31/tree-sitter-eu4mod?logo=github)\n\n\n## 🔍 See also\n\n- **[Tree Sitter](https://tree-sitter.github.io/tree-sitter/)** (documentation web site)\n- **[language-eu4mod](https://github.com/Coyote-31/language-eu4mod#README.md)**  (GitHub)\n- **EU4 definition** :\n  - **[GUI/GFX Xyloz](https://eu4.paradoxwikis.com/User:Xyloz/sandbox)** (eu4.paradoxwikis)\n  - **[Interface modding](https://eu4.paradoxwikis.com/Interface_modding)**  (eu4.paradoxwikis)\n  - **[Graphical asset modding](https://eu4.paradoxwikis.com/Graphical_asset_modding)**  (eu4.paradoxwikis)\n\n\n## ©️ License\n\n**[MIT](https://github.com/Coyote-31/tree-sitter-eu4mod/blob/master/LICENSE)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoyote-31%2Ftree-sitter-eu4mod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoyote-31%2Ftree-sitter-eu4mod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoyote-31%2Ftree-sitter-eu4mod/lists"}