Coyote-31 / language-eu4mod

πŸ“¦ Atom language package for ⚜ Europa Universalis IV ⚜

Home Page:https://atom.io/packages/language-eu4mod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

language-eu4mod

APM Travis (.com) GitHub

πŸ“¦ language-eu4mod is a global tree-sitter grammar for Europa Universalis IV.

πŸ“„ Description

This package is a global EU4 grammar powered by tree-sitter and developed for the βš›οΈAtom text editor.
It supports the various languages, from extensions listed below, found in EU4 files. As this grammar is focused on developers working on EU4 mods it provides a syntax-tree with scope mappings able to handle any language used in files inside EU4 directory. Mainly for modding purposes.

How to install :

To install language-eu4mod it's like any other Atom's package :

  • Simply in the Atom's settings : settings > install.

  • From atom.io registry : language-eu4mod

  • via CLI :

      apm install language-eu4mod
    

Which EU4 file extension is managed :

Extension Supported
.mod βœ…
.gfx βœ…
.gui βœ…
.yml βœ…

πŸ“š Documentation

How it works :

This package enable Atom's themes with syntax highlighting to catch syntax nodes by specifying scope mappings in a grammar definition file.
In Atom syntax highlighting is define with css class. And this package map the syntax nodes to theses class fallowing grammar .cson files directives. But the structure of theses tree-syntax nodes is define in the parser which is in the dependency package : tree-sitter-eu4mod

Repository & Releases :

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

πŸ› Issues or bugs

If you have any issue or find a bug please :

Open an issue on GitHub GitHub issues

πŸ” See also

©️ License

The MIT License (MIT)