tree-sitter-eu4mod
v1.0.3
Published
Global parser for Europa Universalis IV grammar syntax.
Downloads
29
Maintainers
Readme
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 :
- ⚛ Atom : With the package
language-eu4mod
on atom.io registry.
📚 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 | Last release | All releases |
🐛 Any issue or bug report here
If you have any issue or find a bug please :
🔍 See also
- Tree Sitter (documentation web site)
- language-eu4mod (GitHub)
- EU4 definition :
- GUI/GFX Xyloz (eu4.paradoxwikis)
- Interface modding (eu4.paradoxwikis)
- Graphical asset modding (eu4.paradoxwikis)