tree-sitter-eu4mod

đŸ“Ļ Tree sitter parser package for ⚜ Europa Universalis IV ⚜

MIT License

Downloads
29
Stars
3
Committers
2

tree-sitter-eu4mod

đŸ“Ļ tree-sitter-eu4mod is a global grammar parser for Europa Universalis IV.

📄 Description

This 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.

How to install :

To install this package from the npmjs repository via CLI :

npm install tree-sitter-eu4mod

Which EU4 file extension is managed :

Extension Supported
.mod ✅
.gfx ✅
.gui ✅
.yml ✅

Which text editor use this package :

📚 Documentation

How it works :

The parser is build with a generator tool from the dependency package tree-sitter. The grammar is define with a Javascript file named grammar.js then tree-sitter generate C libraries as parsers. And theses parsers can be used in other applications supporting context-free grammars (eg. ⚛ Atom) for the syntax highlighting of eu4 modding files.

Source archive :

Link Info
GitHub repository GitHub commits
Last release GitHub tag (latest by date)
All releases total releases

🐛 Any issue or bug report here

If you have any issue or find a bug please :

🔍 See also

Šī¸ License

MIT