feat: add syntax highlighting for Kitsunic language

Introduces multiple User-Defined Language (UDL) XML files for Notepad++
to enable syntax highlighting, keyword recognition, and styling of the
Kitsunic scripting language. Covers various iterations and enhances
developer productivity by improving code readability and editing
experience in supported editors.
This commit is contained in:
2025-09-05 03:55:30 -04:00
parent cd4ac0a227
commit cfcf6ab7c7
11 changed files with 706 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<NotepadPlus>
<UserLang name="Kitsunic" ext="9tk kitsune kit " darkModeTheme="yes" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="yes" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00&lt;! 01 02&lt;! 03/# 04#/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1">.</Keywords>
<Keywords name="Numbers, suffix2">.</Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1"> @ : ;</Keywords>
<Keywords name="Operators2">and or not is was equal before after now to from as in</Keywords>
<Keywords name="Folders in code1, open">&lt;/ 9tk/</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">/&gt; /9tk</Keywords>
<Keywords name="Folders in code2, open">if</Keywords>
<Keywords name="Folders in code2, middle">else</Keywords>
<Keywords name="Folders in code2, close">end</Keywords>
<Keywords name="Folders in comment, open">&lt;#</Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close">#&gt;</Keywords>
<Keywords name="Keywords1">set pull drop sync part fix exclude include while loop loopend function return call spawn execute print log display define unsync</Keywords>
<Keywords name="Keywords2">var opt string number boolean array object const true false null actor token item effect write erase clear</Keywords>
<Keywords name="Keywords3">get find update create delete roll roll_skill roll_save draw play emit target cast attack</Keywords>
<Keywords name="Keywords4">name gender race class level feats skills spells journal compendium rolltable </Keywords>
<Keywords name="Keywords5">strength dexterity constitution intelligence wisdom charima ac hp initiative </Keywords>
<Keywords name="Keywords6">grapple stun paralyze blined deafen bless bane rage haste slow burn froze toxic wet </Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8">../ (../ http:// (http:// https:// (https:// mailto: (mailto: ftp:// (ftp:// ftps:// (ftps:// (/ /</Keywords>
<Keywords name="Delimiters">00&apos; 01 02&apos; 03&lt;# 04 05#&gt; 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="DCDCCC" bgColor="000000" fontName="@MS Gothic" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="008000" bgColor="808080" fontStyle="2" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="FF0000" bgColor="808080" fontStyle="1" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="8CD0D3" bgColor="3F3F3F" colorStyle="0" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FFFF80" bgColor="3F3F3F" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FFFF80" bgColor="3F3F3F" colorStyle="1" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="00FF00" bgColor="3F3F3F" colorStyle="1" fontStyle="3" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="8000FF" bgColor="3F3F3F" colorStyle="1" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="FF0080" bgColor="3F3F3F" colorStyle="1" fontStyle="2" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="FFFFFF" bgColor="3F3F3F" colorStyle="1" fontStyle="3" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="E3CEAB" bgColor="3F3F3F" colorStyle="0" fontStyle="3" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="0000FF" bgColor="3F3F3F" colorStyle="1" fontStyle="4" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="808000" bgColor="3F3F3F" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="DDFF00" bgColor="FFFF80" colorStyle="1" fontStyle="7" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="8080FF" bgColor="3F3F3F" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="FFFF00" bgColor="808080" fontName="@Malgun Gothic" fontStyle="1" fontSize="10" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="0080FF" bgColor="3F3F3F" colorStyle="1" fontStyle="2" nesting="2" />
<WordsStyle name="DELIMITERS2" fgColor="FFFF00" bgColor="808080" colorStyle="1" fontName="Terminal" fontStyle="2" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="FF8040" bgColor="3F3F3F" colorStyle="1" fontStyle="3" nesting="117441283" />
<WordsStyle name="DELIMITERS4" fgColor="0080C0" bgColor="3F3F3F" colorStyle="1" fontStyle="1" nesting="117441295" />
<WordsStyle name="DELIMITERS5" fgColor="E3CEAB" bgColor="3F3F3F" colorStyle="1" fontStyle="2" nesting="32800" />
<WordsStyle name="DELIMITERS6" fgColor="E3CEAB" bgColor="3F3F3F" colorStyle="1" fontStyle="3" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="E3CEAB" bgColor="3F3F3F" colorStyle="1" fontStyle="3" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="DCDCCC" bgColor="3F3F3F" colorStyle="0" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>