2018-12-16 22:59:16 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
|
|
<plist version="1.0">
|
|
|
|
<dict>
|
|
|
|
<key>fileTypes</key>
|
|
|
|
<array>
|
|
|
|
<string>janet</string>
|
|
|
|
</array>
|
|
|
|
<key>foldingStartMarker</key>
|
|
|
|
<string>\{</string>
|
|
|
|
<key>foldingStopMarker</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>foldingStartMarker</key>
|
|
|
|
<string>\[</string>
|
|
|
|
<key>foldingStopMarker</key>
|
|
|
|
<string>\]</string>
|
|
|
|
<key>foldingStartMarker</key>
|
|
|
|
<string>\(</string>
|
|
|
|
<key>foldingStopMarker</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>keyEquivalent</key>
|
|
|
|
<string>^~L</string>
|
|
|
|
<key>name</key>
|
|
|
|
<string>Janet</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#all</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
<key>repository</key>
|
|
|
|
<dict>
|
|
|
|
<key>all</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parens</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#brackets</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#braces</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#readermac</string>
|
|
|
|
</dict>
|
2018-12-17 02:30:58 +00:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#longstring</string>
|
|
|
|
</dict>
|
2018-12-16 22:59:16 +00:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#corelib</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#r-number</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#dec-number</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#hex-number</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#keysym</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#symbol</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>comment</key>
|
|
|
|
<dict>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.comment.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(#).*$</string>
|
|
|
|
<key>name</key>
|
|
|
|
<string>comment.line.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>braces</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(@?{)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.braces.begin.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(})</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.braces.end.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#all</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>brackets</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(@?\[)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.brackets.begin.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(\])</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.brackets.end.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#all</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>parens</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(@?\()</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.parens.begin.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(\))</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.parens.end.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#all</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>readermac</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>[\'\~\;\,]</string>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.other.janet</string>
|
|
|
|
</dict>
|
2018-12-17 02:57:32 +00:00
|
|
|
<!-- string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*]) token match here (?![\.:\w_\-=!@\$%^&?|\\/<>*])</string -->
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2018-12-17 02:57:32 +00:00
|
|
|
<string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*])(true|false|nil)(?![\.:\w_\-=!@\$%^&?|\\/<>*])</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>corelib</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2018-12-27 18:36:27 +00:00
|
|
|
<string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*])(%|%=|\*|\*=|\*doc\-width\*|\*env\*|\+|\+\+|\+=|\-|\-\-|\-=|\->|\->>|\-\?>|\-\?>>|/|/=|<|<=|=|==|>|>=|_env|abstract\?|all|all\-symbols|allsyms|and|apply|array|array/concat|array/ensure|array/insert|array/new|array/peek|array/pop|array/push|array/slice|array\?|as\->|as\?\->|asm|band|blshift|bnot|boolean\?|bor|brshift|brushift|buffer|buffer/clear|buffer/new|buffer/popn|buffer/push\-byte|buffer/push\-integer|buffer/push\-string|buffer/slice|buffer\?|bxor|bytes\?|callable\?|case|cfunction\?|comment|comp|compile|complement|cond|coro|count|debug|debug/arg\-stack|debug/break|debug/fbreak|debug/lineage|debug/stack|debug/unbreak|debug/unfbreak|dec|deep\-not=|deep=|def\-|default|defglobal|defmacro|defmacro\-|defn|defn\-|describe|dictionary\?|disasm|distinct|doc|doc\*|doc\-format|drop\-until|drop\-while|each|empty\?|env\-lookup|error|eval|eval\-string|even\?|every\?|extreme|false\?|fiber/current|fiber/maxstack|fiber/new|fiber/setmaxstack|fiber/status|fiber\?|file/close|file/flush|file/open|file/popen|file/read|file/seek|file/write|filter|find|find\-index|first|flatten|flatten\-into|for|frequencies|function\?|gccollect|gcinterval|gcsetinterval|generate|gensym|get|getline|hash|idempotent\?|identity|if\-let|if\-not|import|import\*|inc|indexed\?|interleave|interpose|invert|janet/build|janet/version|juxt|juxt\*|keep|keys|keyword\?|kvs|last|length|let|loop|macex|macex1|make\-env|map|mapcat|marshal|match|match\-1|math/acos|math/asin|math/atan|math/ceil|math/cos|math/e|math/exp|math/floor|math/inf|math/log|math/log10|math/pi|math/pow|math/random|math/seedrandom|math/sin|math/sqrt|math/tan|max|max\-order|merge|merge\-into|min|min\-order|module/find|module/native\-paths|module/paths|native|neg\?|next|nil\?|not|not=|not==|number\?|odd\?|one\?|or|order<|order<=|order>|order>=|os/clock|os/cwd|os/execute|os/exit|os/getenv|os/setenv|os/shell|os/sleep|os/time|os/which|pairs|parser/byte|parser/consume|parser/error|parser/flush|parser/new|parser/produce|parser/state|parser/status|parser/where|partial|pos\?|post\-walk|pre\-walk|print|process/args|product|put|range|reduce|repl|require|resume|reverse|run\-context|scan\-number|sentinel|seq|some|sort|sorted|status\-pp|stderr|stdin|stdout|string|string/ascii\-lower|string/ascii\-upper|string/bytes|string/check\-set|string/find|string/find\-all|string/from\-bytes|string/join|string/number|string/pretty|string/repeat|string/replace|string/replace\-all|string/reverse|string/slice|string/split|string\?|struct|struct\?|sum|symbol|symbol\?|table|table/getproto|table/new|table/rawget|table/setproto|table/to\-struct|table\?|take\-until|take\-while|true\?|try|tuple|tuple/append|tuple/prepend|tuple/slice|tuple\?|type|unless|unmarshal|update|values|varglobal|walk|when|when\-let|with\-idemp|yield|zero\?|zipcoll)(?![\.:\w_\-=!@\$%^&?|\\/<>*])</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>keysym</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2018-12-17 02:57:32 +00:00
|
|
|
<string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*]):[\.:\w_\-=!@\$%^&?|\\/<>*]*</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>name</key>
|
|
|
|
<string>constant.keyword.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>symbol</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2018-12-17 02:57:32 +00:00
|
|
|
<string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*])[\.a-zA-Z_\-=!@\$%^&?|\\/<>*][\.:\w_\-=!@\$%^&?|\\/<>*]*</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>hex-number</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2018-12-17 02:57:32 +00:00
|
|
|
<string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*])[-+]?0x([_\da-fA-F]+|[_\da-fA-F]+\.[_\da-fA-F]*|\.[_\da-fA-F]+)(&[+-]?[\da-fA-F]+)?(?![\.:\w_\-=!@\$%^&?|\\/<>*])</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>name</key>
|
|
|
|
<string>constant.numeric.hex.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>dec-number</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2018-12-17 02:57:32 +00:00
|
|
|
<string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*])[-+]?([_\d]+|[_\d]+\.[_\d]*|\.[_\d]+)([eE&][+-]?[\d]+)?(?![\.:\w_\-=!@\$%^&?|\\/<>*])</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>name</key>
|
|
|
|
<string>constant.numeric.decimal.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>r-number</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2018-12-17 02:57:32 +00:00
|
|
|
<string>(?<![\.:\w_\-=!@\$%^&?|\\/<>*])[-+]?\d\d?r([_\w]+|[_\w]+\.[_\w]*|\.[_\w]+)(&[+-]?[\w]+)?(?![\.:\w_\-=!@\$%^&?|\\/<>*])</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>name</key>
|
|
|
|
<string>constant.numeric.decimal.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>string</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(@?")</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
2018-12-17 02:30:58 +00:00
|
|
|
<key>1</key>
|
2018-12-16 22:59:16 +00:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.begin.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(")</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
2018-12-17 02:30:58 +00:00
|
|
|
<key>1</key>
|
2018-12-16 22:59:16 +00:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.end.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>string.quoted.double.janet</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(\\[ne0zft"\\']|\\x[0-9a-fA-F][0-9a-fA-f])</string>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.escape.janet</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>longstring</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2018-12-17 02:30:58 +00:00
|
|
|
<string>(@?)(`+)</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
2018-12-17 02:30:58 +00:00
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.begin.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
2018-12-16 22:59:16 +00:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.begin.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
2018-12-17 02:30:58 +00:00
|
|
|
<string>\2</string>
|
2018-12-16 22:59:16 +00:00
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
2018-12-17 02:30:58 +00:00
|
|
|
<key>1</key>
|
2018-12-16 22:59:16 +00:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.end.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>string.quoted.triple.janet</string>
|
|
|
|
</dict>
|
|
|
|
<key>nomatch</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\S+</string>
|
|
|
|
<key>name</key>
|
|
|
|
<string>invalid.illegal.janet</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>scopeName</key>
|
|
|
|
<string>source.janet</string>
|
|
|
|
<key>uuid</key>
|
|
|
|
<string>3743190f-20c4-44d0-8640-6611a983296b</string>
|
|
|
|
</dict>
|
|
|
|
</plist>
|