@shikijs/langs-precompiled 3.6.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astro.mjs +3 -1
- package/dist/erlang.mjs +3 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/haxe.mjs +1 -1
- package/dist/index.mjs +1 -0
- package/dist/julia.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +4 -3
- package/dist/mermaid.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/tex.mjs +1 -1
- package/dist/vue-vine.d.mts +3 -0
- package/dist/vue-vine.mjs +21 -0
- package/dist/vue.mjs +1 -1
- package/dist/zig.mjs +1 -1
- package/package.json +4 -3
package/dist/julia.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import javascript from './javascript.mjs'
|
|
|
4
4
|
import r from './r.mjs'
|
|
5
5
|
import sql from './sql.mjs'
|
|
6
6
|
|
|
7
|
-
const lang = Object.freeze({displayName:"Julia",name:"julia",patterns:[{include:"#operator"},{include:"#array"},{include:"#string"},{include:"#parentheses"},{include:"#bracket"},{include:"#function_decl"},{include:"#function_call"},{include:"#for_block"},{include:"#keyword"},{include:"#number"},{include:"#comment"},{include:"#type_decl"},{include:"#symbol"},{include:"#punctuation"}],repository:{array:{patterns:[{begin:/\[/dgv,beginCaptures:{"0":{name:"meta.bracket.julia"}},end:/(\])(\.?'*)/dgv,endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},name:"meta.array.julia",patterns:[{match:/\bbegin\b/dgv,name:"constant.numeric.julia"},{match:/\bend\b/dgv,name:"constant.numeric.julia"},{include:"#self_no_for_block"}]}]},bracket:{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"meta.bracket.julia"}},end:/(\})(\.?'*)/dgv,endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},patterns:[{include:"#self_no_for_block"}]}]},comment:{patterns:[{include:"#comment_block"},{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.julia"}},end:/\n/dgv,name:"comment.line.number-sign.julia",patterns:[{include:"#comment_tags"}]}]},comment_block:{patterns:[{begin:/#=/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.julia"}},end:/=#/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.julia"}},name:"comment.block.number-sign-equals.julia",patterns:[{include:"#comment_tags"},{include:"#comment_block"}]}]},comment_tags:{patterns:[{match:/\bTODO\b/dgv,name:"keyword.other.comment-annotation.julia"},{match:/\bFIXME\b/dgv,name:"keyword.other.comment-annotation.julia"},{match:/\bCHANGED\b/dgv,name:"keyword.other.comment-annotation.julia"},{match:/\bXXX\b/dgv,name:"keyword.other.comment-annotation.julia"}]},for_block:{patterns:[{begin:/\b(for)\b/dgv,beginCaptures:{"0":{name:"keyword.control.julia"}},end:/(?<![\,\p{space}])(\p{space}*\n)/dgv,patterns:[{match:/\bouter\b/dgv,name:"keyword.other.julia"},{include:"$self"}]}]},function_call:{patterns:[{begin:/([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\})?\.?(\()/dgv,beginCaptures:{"1":{name:"support.function.julia"},"2":{name:"support.type.julia"},"3":{name:"meta.bracket.julia"}},end:/\)(('|(\.'))*\.?')?/dgv,endCaptures:{"0":{name:"meta.bracket.julia"},"1":{name:"keyword.operator.transposed-func.julia"}},patterns:[{include:"#self_no_for_block"}]}]},function_decl:{patterns:[{captures:{"1":{name:"entity.name.function.julia"},"2":{name:"support.type.julia"}},match:/([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\})?(?=\([^\#]*\)(::\P{space}+)?(\p{space}*\bwhere\b\p{space}+[^\n]+?)?\p{space}*?=(?![\=\>]))/dgv},{captures:{"1":{name:"keyword.other.julia"},"2":{name:"keyword.operator.dots.julia"},"3":{name:"entity.name.function.julia"},"4":{name:"support.type.julia"}},match:/\b(function|macro)(?:\p{space}+(?:[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*(\.))?([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\})?|\p{space}*)(?=\()/dgv}]},keyword:{patterns:[{match:/\b(?<![\.\:_])(?:function|mutable\p{space}+struct|struct|macro|quote|abstract\p{space}+type|primitive\p{space}+type|module|baremodule|where)\b/dgv,name:"keyword.other.julia"},{match:/\b(?<![\:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\b/dgv,name:"keyword.control.julia"},{match:/\b(?<![\:_])end\b/dgv,name:"keyword.control.end.julia"},{match:/\b(?<![\:_])(?:global|local|const)\b/dgv,name:"keyword.storage.modifier.julia"},{match:/\b(?<![\:_])export\b/dgv,name:"keyword.control.export.julia"},{match:/^public\b/dgv,name:"keyword.control.public.julia"},{match:/\b(?<![\:_])import\b/dgv,name:"keyword.control.import.julia"},{match:/\b(?<![\:_])using\b/dgv,name:"keyword.control.using.julia"},{match:/(?<=\P{space}\p{space}+)\b(as)\b(?=\p{space}+\P{space})/dgv,name:"keyword.control.as.julia"},{match:/(@((?:\.|[[\p{S}\p{P}]&&[^\@\p{space}]]+)|[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*))/dgv,name:"support.function.macro.julia"}]},number:{patterns:[{captures:{"1":{name:"constant.numeric.julia"},"2":{name:"keyword.operator.conjugate-number.julia"}},match:/((?<![\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]])\b(?:0[Xx]\p{AHex}(?:_?\p{AHex})*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:[0-9](?:_?[0-9])*\.?(?!\.)[0-9_]*|\.[0-9](?:_?[0-9])*)(?:[Eef][\-\+]?[0-9](?:_?[0-9])*)?(?:(?:im|Inf(?:16|32|64)?|NaN(?:16|32|64)?|π|pi|ℯ)\b)?|[0-9]+|Inf(?:16|32|64)?\b|NaN(?:16|32|64)?\b|π\b|pi\b|ℯ\b))('*)/dgv},{match:/\b(?:ARGS|C_NULL|DEPOT_PATH|ENDIAN_BOM|ENV|LOAD_PATH|PROGRAM_FILE|stdin|stdout|stderr|VERSION|devnull)\b/dgv,name:"constant.global.julia"},{match:/\b(?:true|false|nothing|missing)\b/dgv,name:"constant.language.julia"}]},operator:{patterns:[{match:/\.?(?:<-->|->|-->|<--|[←→↔↚-↞↠↢↣↤↦↩-↬↮↶↷↺-↽⇀⇁⇄⇆⇇⇉⇋-⇐⇒⇔⇚-⇝⇠⇢⇴⇶-⇿⟵⟶⟷⟹-⟿⤀-⤇⤌-⤑⤔-⤘⤝-⤠⥄-⥈⥊⥋⥎⥐⥒⥓⥖⥗⥚⥛⥞⥟⥢⥤⥦-⥭⥰⥷⥺⧴⬰-⭄⭇-⭌←→]|=>)/dgv,name:"keyword.operator.arrow.julia"},{match:/:=|\+=|-=|\*=|\/\/=|\/=|\.\/\/=|\.\/=|\.\*=|\\=|\.\\=|\^=|\.\^=|%=|\.%=|÷=|\.÷=|\|=|&=|\.&=|⊻=|\.⊻=|\$=|<<=|>>=|>>>=|=(?!=)/dgv,name:"keyword.operator.update.julia"},{match:/<<|>>>?|\.>>>?|\.<</dgv,name:"keyword.operator.shift.julia"},{captures:{"1":{name:"keyword.operator.relation.types.julia"},"2":{name:"support.type.julia"},"3":{name:"keyword.operator.transpose.julia"}},match:/\p{space}*([\:\<\>]:)\p{space}*((?:Union)?\([^\)]*\)|[\$_∇\p{Alpha}][\!\.′⁺-ₜ\p{Alpha}\p{M}\p{Nd}\p{Pc}]*(?:\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\}|"[^\n]+?(?<!\\)")?)(?:\.\.\.)?(\.?'*)/dgv},{match:/(\.?((?<!<)<=|(?<!>)>=|[\<\>≤≥]|===?|≡|!=|≠|!==|[∈-∍∝∥∦∷∺∻∽∾≁-≎≐-≓≖-≟≢≣≦-⊋⊏-⊒⊜⊢⊣⊩⊬⊮⊰-⊷⋍⋐⋑⋕-⋭⋲-⋿⟂⟈⟉⟒⦷⧀⧁⧡⧣⧤⧥⩦⩧⩪-⩳⩵-⫙⫪⫫⫷-⫺]|<:|>:))/dgv,name:"keyword.operator.relation.julia"},{match:/(?<=\p{space})\?(?=\p{space})/dgv,name:"keyword.operator.ternary.julia"},{match:/(?<=\p{space}):(?=\p{space})/dgv,name:"keyword.operator.ternary.julia"},{match:/\|\||&&|(?<![\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]])!/dgv,name:"keyword.operator.boolean.julia"},{match:/(?<=[\]\!\)\}′⁺-ₜ∇\p{Alpha}\p{M}\p{Nd}\p{Pc}]):/dgv,name:"keyword.operator.range.julia"},{match:/\|>/dgv,name:"keyword.operator.applies.julia"},{match:/\||\.\||&|\.&|[\~¬]|\.~|⊻|\.⊻/dgv,name:"keyword.operator.bitwise.julia"},{match:/\.?(?:\+\+|--|[\-\*\+\|¦±−∓∔∨∪∸≏⊎⊔⊕⊖⊞⊟⊻⊽⋎⋓⟇⧺⧻⨈⨢-⨮⨹⨺⩁⩂⩅⩊⩌⩏⩐⩒⩔⩖⩗⩛⩝⩡⩢⩣]|\/\/?|[\%\&\\\^±·×÷·⅋↑↓⇵∓∗-∜∤∧∩≀⊍⊓⊗-⊛⊠⊡⊼⋄-⋇⋉-⋌⋏⋒⌿▷⟑⟕⟖⟗⟰⟱⤈-⤋⤒⤓⥉⥌⥍⥏⥑⥔⥕⥘⥙⥜⥝⥠⥡⥣⥥⥮⥯⦸⦼⦾⦿⧶⧷⨇⨝⨟⨰-⨸⨻⨼⨽⩀⩃⩄⩋⩍⩎⩑⩓⩕⩘⩚⩜⩞⩟⩠⫛↑↓])/dgv,name:"keyword.operator.arithmetic.julia"},{match:/∘/dgv,name:"keyword.operator.compose.julia"},{match:/::|(?<=\p{space})isa(?=\p{space})/dgv,name:"keyword.operator.isa.julia"},{match:/(?<=\p{space})in(?=\p{space})/dgv,name:"keyword.operator.relation.in.julia"},{match:/\.(?=[\@_\p{L}])|\.\.+|[…⁝⋮-⋱]/dgv,name:"keyword.operator.dots.julia"},{match:/\$(?=[^\n]+)/dgv,name:"keyword.operator.interpolation.julia"},{captures:{"2":{name:"keyword.operator.transposed-variable.julia"}},match:/([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(('|(\.'))*\.?')/dgv},{captures:{"1":{name:"bracket.end.julia"},"2":{name:"keyword.operator.transposed-matrix.julia"}},match:/(\])((?:\.??')*\.?')/dgv},{captures:{"1":{name:"bracket.end.julia"},"2":{name:"keyword.operator.transposed-parens.julia"}},match:/(\))((?:\.??')*\.?')/dgv}]},parentheses:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"meta.bracket.julia"}},end:/(\))(\.?'*)/dgv,endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},patterns:[{include:"#self_no_for_block"}]}]},punctuation:{patterns:[{match:/,/dgv,name:"punctuation.separator.comma.julia"},{match:/;/dgv,name:"punctuation.separator.semicolon.julia"}]},self_no_for_block:{patterns:[{include:"#operator"},{include:"#array"},{include:"#string"},{include:"#parentheses"},{include:"#bracket"},{include:"#function_decl"},{include:"#function_call"},{include:"#keyword"},{include:"#number"},{include:"#comment"},{include:"#type_decl"},{include:"#symbol"},{include:"#punctuation"}]},string:{patterns:[{begin:/(@doc)\p{space}((?:doc)?""")|(doc""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/(""") ?(->)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"keyword.operator.arrow.julia"}},name:"string.docstring.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(i?cxx)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.cpp",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.cxx.julia",patterns:[{include:"source.cpp#root_context"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(py)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.python",end:/([\p{space}\p{L}\p{M}\p{N}\p{Pc}]*)(""")/dgv,endCaptures:{"2":{name:"punctuation.definition.string.end.julia"}},name:"embed.python.julia",patterns:[{include:"source.python"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(js)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.javascript",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.js.julia",patterns:[{include:"source.js"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(R)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.r",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.R.julia",patterns:[{include:"source.r"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(raw)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(raw)(")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(sql)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.sql",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.sql.julia",patterns:[{include:"source.sql"},{include:"#string_dollar_sign_interpolate"}]},{begin:/var"""/dgv,end:/"""/dgv,name:"constant.other.symbol.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/var"/dgv,end:/"/dgv,name:"constant.other.symbol.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/^\p{space}?(doc)?(""")\p{space}?(?=\n?$)/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/(""")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"}},name:"string.docstring.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"}},end:/'(?!')/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.single.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.multiline.begin.julia"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.multiline.end.julia"}},name:"string.quoted.triple.double.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/"(?!"")/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.double.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/r"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.regexp.begin.julia"}},end:/(""")([imsx]{0,4})?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.regexp.end.julia"},"2":{name:"keyword.other.option-toggle.regexp.julia"}},name:"string.regexp.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/r"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.regexp.begin.julia"}},end:/(")([imsx]{0,4})?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.regexp.end.julia"},"2":{name:"keyword.other.option-toggle.regexp.julia"}},name:"string.regexp.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(?<!")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(""")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(?<!")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(?<![^\\]\\)(")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(?<!`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?```/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(```)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.interpolated.backtick.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(?<!`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?`/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(?<![^\\]\\)(`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.interpolated.backtick.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]}]},string_dollar_sign_interpolate:{patterns:[{match:/\$[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}[^←-⇿\P{So}][^\$\P{Sc}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}][^\$\P{Sc}]]*/dgv,name:"variable.interpolation.julia"},{begin:/\$(\()/dgv,beginCaptures:{"1":{name:"meta.bracket.julia"}},end:/\)/dgv,endCaptures:{"0":{name:"meta.bracket.julia"}},name:"variable.interpolation.julia",patterns:[{include:"#self_no_for_block"}]}]},string_escaped_char:{patterns:[{match:/\\(\\|[0-3]\p{Nd}{0,2}|[4-7]\p{Nd}?|x\p{AHex}{0,2}|u\p{AHex}{0,4}|U\p{AHex}{0,8}|[^\n])/dgv,name:"constant.character.escape.julia"}]},symbol:{patterns:[{match:/(?<![\]\!\)\}′⁺-ₜ∇\p{Alpha}\p{M}\p{Nd}\p{Pc}]):[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*(?![\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]])(?!["\`])/dgv,name:"constant.other.symbol.julia"}]},type_decl:{patterns:[{captures:{"1":{name:"entity.name.type.julia"},"2":{name:"entity.other.inherited-class.julia"},"3":{name:"punctuation.separator.inheritance.julia"}},match:/!:_(?:struct|mutable\p{space}+struct|abstract\p{space}+type|primitive\p{space}+type)\p{space}+([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\p{space}*(<:)\p{space}*[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*(?:\{[^\n]*\})?)?/dgv,name:"meta.type.julia"}]}},scopeName:"source.julia",embeddedLangs:["cpp","python","javascript","r","sql"],aliases:["jl"]})
|
|
7
|
+
const lang = Object.freeze({displayName:"Julia",name:"julia",patterns:[{include:"#operator"},{include:"#array"},{include:"#string"},{include:"#parentheses"},{include:"#bracket"},{include:"#function_decl"},{include:"#function_call"},{include:"#for_block"},{include:"#keyword"},{include:"#number"},{include:"#comment"},{include:"#type_decl"},{include:"#symbol"},{include:"#punctuation"}],repository:{array:{patterns:[{begin:/\[/dgv,beginCaptures:{"0":{name:"meta.bracket.julia"}},end:/(\])(\.?'*)/dgv,endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},name:"meta.array.julia",patterns:[{match:/\bbegin\b/dgv,name:"constant.numeric.julia"},{match:/\bend\b/dgv,name:"constant.numeric.julia"},{include:"#self_no_for_block"}]}]},bracket:{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"meta.bracket.julia"}},end:/(\})(\.?'*)/dgv,endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},patterns:[{include:"#self_no_for_block"}]}]},comment:{patterns:[{include:"#comment_block"},{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.julia"}},end:/\n/dgv,name:"comment.line.number-sign.julia",patterns:[{include:"#comment_tags"}]}]},comment_block:{patterns:[{begin:/#=/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.julia"}},end:/=#/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.julia"}},name:"comment.block.number-sign-equals.julia",patterns:[{include:"#comment_tags"},{include:"#comment_block"}]}]},comment_tags:{patterns:[{match:/\bTODO\b/dgv,name:"keyword.other.comment-annotation.julia"},{match:/\bFIXME\b/dgv,name:"keyword.other.comment-annotation.julia"},{match:/\bCHANGED\b/dgv,name:"keyword.other.comment-annotation.julia"},{match:/\bXXX\b/dgv,name:"keyword.other.comment-annotation.julia"}]},for_block:{patterns:[{begin:/\b(for)\b/dgv,beginCaptures:{"0":{name:"keyword.control.julia"}},end:/(?<![\,\p{space}])(\p{space}*\n)/dgv,patterns:[{match:/\bouter\b/dgv,name:"keyword.other.julia"},{include:"$self"}]}]},function_call:{patterns:[{begin:/([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\})?\.?(\()/dgv,beginCaptures:{"1":{name:"support.function.julia"},"2":{name:"support.type.julia"},"3":{name:"meta.bracket.julia"}},end:/\)(('|(\.'))*\.?')?/dgv,endCaptures:{"0":{name:"meta.bracket.julia"},"1":{name:"keyword.operator.transposed-func.julia"}},patterns:[{include:"#self_no_for_block"}]}]},function_decl:{patterns:[{captures:{"1":{name:"entity.name.function.julia"},"2":{name:"support.type.julia"}},match:/([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\})?(?=\([^\#]*\)(::\P{space}+)?(\p{space}*\bwhere\b\p{space}+[^\n]+?)?\p{space}*?=(?![\=\>]))/dgv},{captures:{"1":{name:"keyword.other.julia"},"2":{name:"keyword.operator.dots.julia"},"3":{name:"entity.name.function.julia"},"4":{name:"support.type.julia"}},match:/\b(function|macro)(?:\p{space}+(?:[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*(\.))?([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\})?|\p{space}*)(?=\()/dgv}]},keyword:{patterns:[{match:/\b(?<![\.\:_])(?:function|mutable\p{space}+struct|struct|macro|quote|abstract\p{space}+type|primitive\p{space}+type|module|baremodule|where)\b/dgv,name:"keyword.other.julia"},{match:/\b(?<![\:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\b/dgv,name:"keyword.control.julia"},{match:/\b(?<![\:_])end\b/dgv,name:"keyword.control.end.julia"},{match:/\b(?<![\:_])(?:global|local|const)\b/dgv,name:"keyword.storage.modifier.julia"},{match:/\b(?<![\:_])export\b/dgv,name:"keyword.control.export.julia"},{match:/^public\b/dgv,name:"keyword.control.public.julia"},{match:/\b(?<![\:_])import\b/dgv,name:"keyword.control.import.julia"},{match:/\b(?<![\:_])using\b/dgv,name:"keyword.control.using.julia"},{match:/(?<=\P{space}\p{space}+)\b(as)\b(?=\p{space}+\P{space})/dgv,name:"keyword.control.as.julia"},{match:/@(\.|[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*|[[\p{S}\p{P}]&&[^\@\p{space}]]+)/dgv,name:"support.function.macro.julia"}]},number:{patterns:[{captures:{"1":{name:"constant.numeric.julia"},"2":{name:"keyword.operator.conjugate-number.julia"}},match:/((?<![\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]])\b(?:0[Xx]\p{AHex}(?:_?\p{AHex})*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:[0-9](?:_?[0-9])*\.?(?!\.)[0-9_]*|\.[0-9](?:_?[0-9])*)(?:[Eef][\-\+]?[0-9](?:_?[0-9])*)?(?:(?:im|Inf(?:16|32|64)?|NaN(?:16|32|64)?|π|pi|ℯ)\b)?|[0-9]+|Inf(?:16|32|64)?\b|NaN(?:16|32|64)?\b|π\b|pi\b|ℯ\b))('*)/dgv},{match:/\b(?:ARGS|C_NULL|DEPOT_PATH|ENDIAN_BOM|ENV|LOAD_PATH|PROGRAM_FILE|stdin|stdout|stderr|VERSION|devnull)\b/dgv,name:"constant.global.julia"},{match:/\b(?:true|false|nothing|missing)\b/dgv,name:"constant.language.julia"}]},operator:{patterns:[{match:/\.?(?:<-->|->|-->|<--|[←→↔↚-↞↠↢↣↤↦↩-↬↮↶↷↺-↽⇀⇁⇄⇆⇇⇉⇋-⇐⇒⇔⇚-⇝⇠⇢⇴⇶-⇿⟵⟶⟷⟹-⟿⤀-⤇⤌-⤑⤔-⤘⤝-⤠⥄-⥈⥊⥋⥎⥐⥒⥓⥖⥗⥚⥛⥞⥟⥢⥤⥦-⥭⥰⥷⥺⧴⬰-⭄⭇-⭌←→]|=>)/dgv,name:"keyword.operator.arrow.julia"},{match:/:=|\+=|-=|\*=|\/\/=|\/=|\.\/\/=|\.\/=|\.\*=|\\=|\.\\=|\^=|\.\^=|%=|\.%=|÷=|\.÷=|\|=|&=|\.&=|⊻=|\.⊻=|\$=|<<=|>>=|>>>=|=(?!=)/dgv,name:"keyword.operator.update.julia"},{match:/<<|>>>?|\.>>>?|\.<</dgv,name:"keyword.operator.shift.julia"},{captures:{"1":{name:"keyword.operator.relation.types.julia"},"2":{name:"support.type.julia"},"3":{name:"keyword.operator.transpose.julia"}},match:/\p{space}*([\:\<\>]:)\p{space}*((?:Union)?\([^\)]*\)|[\$_∇\p{Alpha}][\!\.′⁺-ₜ\p{Alpha}\p{M}\p{Nd}\p{Pc}]*(?:\{(?:[^\{\}]|\{(?:[^\{\}]|\{[^\{\}]*\})*\})*\}|"[^\n]+?(?<!\\)")?)(?:\.\.\.)?(\.?'*)/dgv},{match:/(\.?((?<!<)<=|(?<!>)>=|[\<\>≤≥]|===?|≡|!=|≠|!==|[∈-∍∝∥∦∷∺∻∽∾≁-≎≐-≓≖-≟≢≣≦-⊋⊏-⊒⊜⊢⊣⊩⊬⊮⊰-⊷⋍⋐⋑⋕-⋭⋲-⋿⟂⟈⟉⟒⦷⧀⧁⧡⧣⧤⧥⩦⩧⩪-⩳⩵-⫙⫪⫫⫷-⫺]|<:|>:))/dgv,name:"keyword.operator.relation.julia"},{match:/(?<=\p{space})\?(?=\p{space})/dgv,name:"keyword.operator.ternary.julia"},{match:/(?<=\p{space}):(?=\p{space})/dgv,name:"keyword.operator.ternary.julia"},{match:/\|\||&&|(?<![\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]])!/dgv,name:"keyword.operator.boolean.julia"},{match:/(?<=[\]\!\)\}′⁺-ₜ∇\p{Alpha}\p{M}\p{Nd}\p{Pc}]):/dgv,name:"keyword.operator.range.julia"},{match:/\|>/dgv,name:"keyword.operator.applies.julia"},{match:/\||\.\||&|\.&|[\~¬]|\.~|⊻|\.⊻/dgv,name:"keyword.operator.bitwise.julia"},{match:/\.?(?:\+\+|--|[\-\*\+\|¦±−∓∔∨∪∸≏⊎⊔⊕⊖⊞⊟⊻⊽⋎⋓⟇⧺⧻⨈⨢-⨮⨹⨺⩁⩂⩅⩊⩌⩏⩐⩒⩔⩖⩗⩛⩝⩡⩢⩣]|\/\/?|[\%\&\\\^±·×÷·⅋↑↓⇵∓∗-∜∤∧∩≀⊍⊓⊗-⊛⊠⊡⊼⋄-⋇⋉-⋌⋏⋒⌿▷⟑⟕⟖⟗⟰⟱⤈-⤋⤒⤓⥉⥌⥍⥏⥑⥔⥕⥘⥙⥜⥝⥠⥡⥣⥥⥮⥯⦸⦼⦾⦿⧶⧷⨇⨝⨟⨰-⨸⨻⨼⨽⩀⩃⩄⩋⩍⩎⩑⩓⩕⩘⩚⩜⩞⩟⩠⫛↑↓])/dgv,name:"keyword.operator.arithmetic.julia"},{match:/∘/dgv,name:"keyword.operator.compose.julia"},{match:/::|(?<=\p{space})isa(?=\p{space})/dgv,name:"keyword.operator.isa.julia"},{match:/(?<=\p{space})in(?=\p{space})/dgv,name:"keyword.operator.relation.in.julia"},{match:/\.(?=[\@_\p{L}])|\.\.+|[…⁝⋮-⋱]/dgv,name:"keyword.operator.dots.julia"},{match:/\$(?=[^\n]+)/dgv,name:"keyword.operator.interpolation.julia"},{captures:{"2":{name:"keyword.operator.transposed-variable.julia"}},match:/([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(('|(\.'))*\.?')/dgv},{captures:{"1":{name:"bracket.end.julia"},"2":{name:"keyword.operator.transposed-matrix.julia"}},match:/(\])((?:\.??')*\.?')/dgv},{captures:{"1":{name:"bracket.end.julia"},"2":{name:"keyword.operator.transposed-parens.julia"}},match:/(\))((?:\.??')*\.?')/dgv}]},parentheses:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"meta.bracket.julia"}},end:/(\))(\.?'*)/dgv,endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},patterns:[{include:"#self_no_for_block"}]}]},punctuation:{patterns:[{match:/,/dgv,name:"punctuation.separator.comma.julia"},{match:/;/dgv,name:"punctuation.separator.semicolon.julia"}]},self_no_for_block:{patterns:[{include:"#operator"},{include:"#array"},{include:"#string"},{include:"#parentheses"},{include:"#bracket"},{include:"#function_decl"},{include:"#function_call"},{include:"#keyword"},{include:"#number"},{include:"#comment"},{include:"#type_decl"},{include:"#symbol"},{include:"#punctuation"}]},string:{patterns:[{begin:/(@doc)\p{space}((?:doc)?""")|(doc""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/(""") ?(->)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"keyword.operator.arrow.julia"}},name:"string.docstring.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(i?cxx)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.cpp",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.cxx.julia",patterns:[{include:"source.cpp#root_context"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(py)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.python",end:/([\p{space}\p{L}\p{M}\p{N}\p{Pc}]*)(""")/dgv,endCaptures:{"2":{name:"punctuation.definition.string.end.julia"}},name:"embed.python.julia",patterns:[{include:"source.python"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(js)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.javascript",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.js.julia",patterns:[{include:"source.js"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(R)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.r",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.R.julia",patterns:[{include:"source.r"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(raw)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(raw)(")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(sql)(""")/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},contentName:"meta.embedded.inline.sql",end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"embed.sql.julia",patterns:[{include:"source.sql"},{include:"#string_dollar_sign_interpolate"}]},{begin:/var"""/dgv,end:/"""/dgv,name:"constant.other.symbol.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/var"/dgv,end:/"/dgv,name:"constant.other.symbol.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/^\p{space}?(doc)?(""")\p{space}?(?=\n?$)/dgv,beginCaptures:{"1":{name:"support.function.macro.julia"},"2":{name:"punctuation.definition.string.begin.julia"}},end:/(""")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"}},name:"string.docstring.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"}},end:/'(?!')/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.single.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.multiline.begin.julia"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.multiline.end.julia"}},name:"string.quoted.triple.double.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/"(?!"")/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.julia"}},name:"string.quoted.double.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/r"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.regexp.begin.julia"}},end:/(""")([imsx]{0,4})?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.regexp.end.julia"},"2":{name:"keyword.other.option-toggle.regexp.julia"}},name:"string.regexp.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/r"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.regexp.begin.julia"}},end:/(")([imsx]{0,4})?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.regexp.end.julia"},"2":{name:"keyword.other.option-toggle.regexp.julia"}},name:"string.regexp.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(?<!")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(""")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(?<!")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(?<![^\\]\\)(")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.quoted.other.julia",patterns:[{include:"#string_escaped_char"}]},{begin:/(?<!`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?```/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(```)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.interpolated.backtick.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]},{begin:/(?<!`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?`/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.julia"},"1":{name:"support.function.macro.julia"}},end:/(?<![^\\]\\)(`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)?/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.julia"},"2":{name:"support.function.macro.julia"}},name:"string.interpolated.backtick.julia",patterns:[{include:"#string_escaped_char"},{include:"#string_dollar_sign_interpolate"}]}]},string_dollar_sign_interpolate:{patterns:[{match:/\$[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}[^←-⇿\P{So}][^\$\P{Sc}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}][^\$\P{Sc}]]*/dgv,name:"variable.interpolation.julia"},{begin:/\$(\()/dgv,beginCaptures:{"1":{name:"meta.bracket.julia"}},end:/\)/dgv,endCaptures:{"0":{name:"meta.bracket.julia"}},name:"variable.interpolation.julia",patterns:[{include:"#self_no_for_block"}]}]},string_escaped_char:{patterns:[{match:/\\(\\|[0-3]\p{Nd}{0,2}|[4-7]\p{Nd}?|x\p{AHex}{0,2}|u\p{AHex}{0,4}|U\p{AHex}{0,8}|[^\n])/dgv,name:"constant.character.escape.julia"}]},symbol:{patterns:[{match:/(?<![\]\!\)\}′⁺-ₜ∇\p{Alpha}\p{M}\p{Nd}\p{Pc}]):[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*(?![\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]])(?!["\`])/dgv,name:"constant.other.symbol.julia"}]},type_decl:{patterns:[{captures:{"1":{name:"entity.name.type.julia"},"2":{name:"entity.other.inherited-class.julia"},"3":{name:"punctuation.separator.inheritance.julia"}},match:/!:_(?:struct|mutable\p{space}+struct|abstract\p{space}+type|primitive\p{space}+type)\p{space}+([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*)(\p{space}*(<:)\p{space}*[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^←-⇿\P{So}]][\!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡\p{Alpha}\p{M}\p{Nd}\p{Pc}\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Sc}[^\x01-¡\P{Mn}][^\x01-¡\P{Mc}][^\x01-¡\P{Nd}][^\x01-¡\P{Pc}][^\x01-¡\P{Sk}][^\x01-¡\P{Me}][^\x01-¡\P{No}][^←-⇿\P{So}]]*(?:\{[^\n]*\})?)?/dgv,name:"meta.type.julia"}]}},scopeName:"source.julia",embeddedLangs:["cpp","python","javascript","r","sql"],aliases:["jl"]})
|
|
8
8
|
|
|
9
9
|
export default [
|
|
10
10
|
...cpp,
|
package/dist/lean.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"Lean 4",fileTypes:[],name:"lean",patterns:[{include:"#comments"},{match:/\b(Prop|Type|Sort)\b/dgv,name:"storage.type.lean4"},{match:/\battribute\b\p{space}*\[[^\]]*\]/dgv,name:"storage.modifier.lean4"},{match:/@\[[^\]]*\]/dgv,name:"storage.modifier.lean4"},{match:/\b(?<!\.)(global|local|scoped|partial|unsafe|private|protected|noncomputable)(?!\.)\b/dgv,name:"storage.modifier.lean4"},{match:/\b(sorry|admit|stop)\b/dgv,name:"invalid.illegal.lean4"},{match:/#(print|eval|reduce|check|check_failure)\b/dgv,name:"keyword.other.lean4"},{match:/\bderiving\p{space}+instance\b/dgv,name:"keyword.other.command.lean4"},{begin:/\b(?<!\.)(inductive|coinductive|structure|theorem|axiom|abbrev|lemma|def|instance|class|constant)\b\p{space}+(\{[^\}]*\})?/dgv,beginCaptures:{"1":{name:"keyword.other.definitioncommand.lean4"}},end:/(?=\bwith\b|\bextends\b|\bwhere\b|[\(\:\<\>\[\{\|⦃])/dgv,name:"meta.definitioncommand.lean4",patterns:[{include:"#comments"},{include:"#definitionName"},{match:/,/dgv}]},{match:/\b(?<!\.)(theorem|show|have|from|suffices|nomatch|def|class|structure|instance|set_option|initialize|builtin_initialize|example|inductive|coinductive|axiom|constant|universes??|variables??|import|open|export|theory|prelude|renaming|hiding|exposing|do|by|let|extends|mutual|mut|where|rec|syntax|macro_rules|macro|deriving|fun|section|namespace|end|infixl??|infixr|postfix|prefix|notation|abbrev|if|then|else|calc|match|with|for|in|unless|try|catch|finally|return|continue|break)(?!\.)\b/dgv,name:"keyword.other.lean4"},{begin:/«/dgv,contentName:"entity.name.lean4",end:/»/dgv},{begin:/(s!)"/dgv,beginCaptures:{"1":{name:"keyword.other.lean4"}},end:/"/dgv,name:"string.interpolated.lean4",patterns:[{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.other.lean4"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.other.lean4"}},patterns:[{include:"$self"}]},{match:/\\["'\\nrt]/dgv,name:"constant.character.escape.lean4"},{match:/\\x\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"},{match:/\\u\p{AHex}\p{AHex}\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"}]},{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.lean4",patterns:[{match:/\\["'\\nrt]/dgv,name:"constant.character.escape.lean4"},{match:/\\x\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"},{match:/\\u\p{AHex}\p{AHex}\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"}]},{match:/\b(true|false)\b/dgv,name:"constant.language.lean4"},{match:/'[^'\\]'/dgv,name:"string.quoted.single.lean4"},{captures:{"1":{name:"constant.character.escape.lean4"}},match:/'(\\(x\p{AHex}\p{AHex}|u\p{AHex}\p{AHex}\p{AHex}\p{AHex}|[^\n]))'/dgv,name:"string.quoted.single.lean4"},{match:/`+[^\(\[]\P{space}+/dgv,name:"entity.name.lean4"},{match:/\b([0-9]+|0([Xx]\p{AHex}+)|-?(0|[1-9][0-9]*)(\.[0-9]+)?([Ee][\-\+]?[0-9]+)?)\b/dgv,name:"constant.numeric.lean4"}],repository:{blockComment:{begin:/\/-/dgv,end:/-\//dgv,name:"comment.block.lean4",patterns:[{include:"source.lean4.markdown"},{include:"#blockComment"}]},comments:{patterns:[{include:"#dashComment"},{include:"#docComment"},{include:"#
|
|
1
|
+
const lang = Object.freeze({displayName:"Lean 4",fileTypes:[],name:"lean",patterns:[{include:"#comments"},{match:/\b(Prop|Type|Sort)\b/dgv,name:"storage.type.lean4"},{match:/\battribute\b\p{space}*\[[^\]]*\]/dgv,name:"storage.modifier.lean4"},{match:/@\[[^\]]*\]/dgv,name:"storage.modifier.lean4"},{match:/\b(?<!\.)(global|local|scoped|partial|unsafe|private|protected|noncomputable)(?!\.)\b/dgv,name:"storage.modifier.lean4"},{match:/\b(sorry|admit|stop)\b/dgv,name:"invalid.illegal.lean4"},{match:/#(print|eval|reduce|check|check_failure)\b/dgv,name:"keyword.other.lean4"},{match:/\bderiving\p{space}+instance\b/dgv,name:"keyword.other.command.lean4"},{begin:/\b(?<!\.)(inductive|coinductive|structure|theorem|axiom|abbrev|lemma|def|instance|class|constant)\b\p{space}+(\{[^\}]*\})?/dgv,beginCaptures:{"1":{name:"keyword.other.definitioncommand.lean4"}},end:/(?=\bwith\b|\bextends\b|\bwhere\b|[\(\:\<\>\[\{\|⦃])/dgv,name:"meta.definitioncommand.lean4",patterns:[{include:"#comments"},{include:"#definitionName"},{match:/,/dgv}]},{match:/\b(?<!\.)(theorem|show|have|from|suffices|nomatch|def|class|structure|instance|set_option|initialize|builtin_initialize|example|inductive|coinductive|axiom|constant|universes??|variables??|import|open|export|theory|prelude|renaming|hiding|exposing|do|by|let|extends|mutual|mut|where|rec|syntax|macro_rules|macro|deriving|fun|section|namespace|end|infixl??|infixr|postfix|prefix|notation|abbrev|if|then|else|calc|match|with|for|in|unless|try|catch|finally|return|continue|break)(?!\.)\b/dgv,name:"keyword.other.lean4"},{begin:/«/dgv,contentName:"entity.name.lean4",end:/»/dgv},{begin:/(s!)"/dgv,beginCaptures:{"1":{name:"keyword.other.lean4"}},end:/"/dgv,name:"string.interpolated.lean4",patterns:[{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.other.lean4"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.other.lean4"}},patterns:[{include:"$self"}]},{match:/\\["'\\nrt]/dgv,name:"constant.character.escape.lean4"},{match:/\\x\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"},{match:/\\u\p{AHex}\p{AHex}\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"}]},{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.lean4",patterns:[{match:/\\["'\\nrt]/dgv,name:"constant.character.escape.lean4"},{match:/\\x\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"},{match:/\\u\p{AHex}\p{AHex}\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.lean4"}]},{match:/\b(true|false)\b/dgv,name:"constant.language.lean4"},{match:/'[^'\\]'/dgv,name:"string.quoted.single.lean4"},{captures:{"1":{name:"constant.character.escape.lean4"}},match:/'(\\(x\p{AHex}\p{AHex}|u\p{AHex}\p{AHex}\p{AHex}\p{AHex}|[^\n]))'/dgv,name:"string.quoted.single.lean4"},{match:/`+[^\(\[]\P{space}+/dgv,name:"entity.name.lean4"},{match:/\b([0-9]+|0([Xx]\p{AHex}+)|-?(0|[1-9][0-9]*)(\.[0-9]+)?([Ee][\-\+]?[0-9]+)?)\b/dgv,name:"constant.numeric.lean4"}],repository:{blockComment:{begin:/\/-/dgv,end:/-\//dgv,name:"comment.block.lean4",patterns:[{include:"source.lean4.markdown"},{include:"#blockComment"}]},comments:{patterns:[{include:"#dashComment"},{include:"#docComment"},{include:"#modDocComment"},{include:"#blockComment"}]},dashComment:{begin:/--/dgv,end:/(?=\n?$)/dgv,name:"comment.line.double-dash.lean4",patterns:[{include:"source.lean4.markdown"}]},definitionName:{patterns:[{match:/\b[^\(\)\:\=\?\{\}«»λ→∀\p{space}][^\(\)\:\{\}«»\p{space}]*/dgv,name:"entity.name.function.lean4"},{begin:/«/dgv,contentName:"entity.name.function.lean4",end:/»/dgv}]},docComment:{begin:/\/--/dgv,end:/-\//dgv,name:"comment.block.documentation.lean4",patterns:[{include:"source.lean4.markdown"},{include:"#blockComment"}]},modDocComment:{begin:/\/-!/dgv,end:/-\//dgv,name:"comment.block.documentation.lean4",patterns:[{include:"source.lean4.markdown"},{include:"#blockComment"}]}},scopeName:"source.lean4",embeddedLangs:undefined,aliases:["lean4"]})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|