diff --git a/syntax-files/NotepadPlusPlus/Prog8.xml b/syntax-files/NotepadPlusPlus/Prog8.xml new file mode 100644 index 000000000..18a2b1b40 --- /dev/null +++ b/syntax-files/NotepadPlusPlus/Prog8.xml @@ -0,0 +1,64 @@ + + + + + + + + 00; 01 02 03 04 + % + $ + A B C D E F a b c d e f + + + + + @ & | ^ ~ >> << += -= *= = **= &= |= ^= <<= >>= -> = == != < > <= >= , + ++ - -- * ** / ( ) [ ] + + { {{ + + } }} + if + + else + + + + void const str byte ubyte word uword float zp + %address %asm %asmbinary %asminclude %breakpoint %import %launcher %option %output %target %zeropage %zpreserved + inline sub asmsub romsub clobbers asm when if else if_cc if_cs if_eq if_mi if_neg if_nz if_pl if_pos if_vc if_vs if_z for in step do while repeat break return goto + abs acos all any asin atan avg callfar callrom ceil cmp cos cos16 cos16u cos8 cos8u deg floor len ln log2 lsb lsl lsr max memory min mkword msb peek peekw poke pokew rad reverse rnd rndf rndw rol rol2 ror ror2 round sgn sin sin16 sin16u sin8 sin8u sizeof sort sqrt sqrt16 sum swap tan + true false not and or xor as to downto + + + + 00TODO 00FIXME 01 02((EOL)) 02((EOL)) 02((EOL)) 03" 04\ 05" 06 07 08 09' 10\ 11' 12 13 14 15 16 17 18 19 20 21 22 23 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/syntax-files/NotepadPlusPlus/readme.txt b/syntax-files/NotepadPlusPlus/readme.txt index 1333ed77b..3d61cca11 100644 --- a/syntax-files/NotepadPlusPlus/readme.txt +++ b/syntax-files/NotepadPlusPlus/readme.txt @@ -1 +1,7 @@ -TODO +Prog8 syntax highlighting file for [Notepad++](https://notepad-plus-plus.org/). + +To install: + +* Open Notepad++ +* Menu `Language` | `User Defined Language` | `Define your language...` +* Click `Import...`, then choose the xml file `Prog8.xml` \ No newline at end of file