Skip to content

Coyote-31/tree-sitter-eu4mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tree-sitter-eu4mod

npm GitHub Workflow Status GitHub

πŸ“¦ 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