|
| 1 | +{ |
| 2 | + "manifest": { |
| 3 | + "name": "YAK", |
| 4 | + "version": "1.0", |
| 5 | + "extensions": [".yak"] |
| 6 | + }, |
| 7 | + "parser": { |
| 8 | + "type": "regex", |
| 9 | + "data": "(?:(?<!\\\\)\"(?:[^\"\\\\]|\\\\.)*\")|(?:(?<!\\\\)'(?:[^'\\\\]|\\\\.)*')|[^\\s\\w(),\\[\\]{}:]{1,}|[^\\W]+|[^\\w ]|\\s+" |
| 10 | + }, |
| 11 | + "overrides": { |
| 12 | + "origin.numbers": "#ff9e5e", |
| 13 | + "origin.strings": "#5ee8bd", |
| 14 | + "origin.comments": "#87939f", |
| 15 | + "origin.functions": "#b289e8", |
| 16 | + "origin.objects": "#5ebaff" |
| 17 | + }, |
| 18 | + "categories": { |
| 19 | + "keywords": { |
| 20 | + "color": "#ff7b45", |
| 21 | + "tokens": ["IF", "ELSE", "END", "SWITCH", "CASE", "DEFAULT", "EXIT", "RETURN", "WITH", "FUNC:DEF", "FUNC:CALL", "VAR:SET", "VAR:CONST", "VAR:ADD"] |
| 22 | + }, |
| 23 | + "operators": { |
| 24 | + "color": "#ff6d3d", |
| 25 | + "tokens": ["OP:GREATER", "OP:ADD", "OP:MINUS", "OP:DIFF", "OP:OR", "OP:EQUL", "OP:TERNARY", "OP:NOT"] |
| 26 | + }, |
| 27 | + "systemFunctions": { |
| 28 | + "color": "#e8a33c", |
| 29 | + "tokens": ["STD:OUT", "FS:CD", "FS:LS", "FS:ASDIR", "FS:ISDIR", "PARENT", "STRING", "ARR:SORT"] |
| 30 | + }, |
| 31 | + "variables": { |
| 32 | + "color": "#47c1ff", |
| 33 | + "tokens": ["#directory", "#prefix", "#maxDepth", "#depth", "#contents", "#file", "#parts", "#dispFile", "#asDir", "#i", "$dir", "$OBJ", "$counts", "$directory", "$MSG"] |
| 34 | + }, |
| 35 | + "objectAccess": { |
| 36 | + "color": "#ff9e5e", |
| 37 | + "tokens": ["OBJ:KEY"] |
| 38 | + }, |
| 39 | + "literals": { |
| 40 | + "color": "#ff7b87", |
| 41 | + "tokens": ["TRUE", "FALSE"] |
| 42 | + }, |
| 43 | + "brackets": { |
| 44 | + "color": "#ffd23c", |
| 45 | + "tokens": ["(", ")", "[", "]", "{", "}"] |
| 46 | + }, |
| 47 | + "commandSymbols": { |
| 48 | + "color": "#e86f3c", |
| 49 | + "tokens": ["#!", "/usr/bin/yak", "//"] |
| 50 | + } |
| 51 | + } |
| 52 | +} |
0 commit comments