github-linguist 9.6.0 → 9.7.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.
- checksums.yaml +4 -4
- data/grammars/gno.mod.json +1 -0
- data/grammars/source.abl.json +1 -1
- data/grammars/source.aleo.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.baml.json +1 -1
- data/grammars/source.bird2.json +1 -0
- data/grammars/source.blueprint.json +1 -0
- data/grammars/source.bnd.json +1 -1
- data/grammars/source.bsl.json +1 -1
- data/grammars/source.carbon.json +1 -0
- data/grammars/source.cl.json +1 -1
- data/grammars/source.clar.json +1 -1
- data/grammars/source.clarion.json +1 -1
- data/grammars/source.cmd.json +1 -1
- data/grammars/source.comment-string.wesl.json +1 -1
- data/grammars/source.comment-string.wgsl.json +1 -1
- data/grammars/source.cs.json +1 -1
- data/grammars/source.csswg.json +1 -1
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.dart.json +1 -1
- data/grammars/source.dds.dspf.json +1 -1
- data/grammars/source.dds.icff.json +1 -1
- data/grammars/source.dds.lf.json +1 -1
- data/grammars/source.dds.pf.json +1 -1
- data/grammars/source.dds.prtf.json +1 -1
- data/grammars/source.deq.json +1 -0
- data/grammars/source.fift.json +1 -0
- data/grammars/source.flix.json +1 -1
- data/grammars/source.fpp.json +1 -0
- data/grammars/source.func.json +1 -0
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gedcom.json +1 -1
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.gno.json +1 -0
- data/grammars/source.graphql.json +1 -1
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.hxml.json +1 -1
- data/grammars/source.ink.json +1 -1
- data/grammars/source.jac.json +1 -1
- data/grammars/source.jass.json +1 -0
- data/grammars/source.julia.json +1 -1
- data/grammars/source.kcl.json +1 -1
- data/grammars/source.koka.json +1 -1
- data/grammars/source.leo.json +1 -1
- data/grammars/source.lobster.json +1 -0
- data/grammars/source.logos.json +1 -1
- data/grammars/source.luau.json +1 -1
- data/grammars/source.m2.json +1 -1
- data/grammars/source.mi.json +1 -1
- data/grammars/source.mojo.json +1 -1
- data/grammars/source.ms.json +1 -0
- data/grammars/source.nim.json +1 -1
- data/grammars/source.openqasm.json +1 -1
- data/grammars/source.opy.json +1 -1
- data/grammars/source.paperspecs.json +1 -0
- data/grammars/source.pl.json +1 -0
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.qsharp.json +1 -1
- data/grammars/source.rarlist.json +1 -0
- data/grammars/source.rascal.json +1 -1
- data/grammars/source.rego.json +1 -1
- data/grammars/source.rhai.json +1 -0
- data/grammars/source.rpg.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rust.json +1 -1
- data/grammars/source.scala.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.spicedb.json +1 -1
- data/grammars/source.stim.json +1 -0
- data/grammars/source.surrealql.json +1 -1
- data/grammars/source.swift.json +1 -1
- data/grammars/source.tasm.json +1 -0
- data/grammars/source.tlb.json +1 -0
- data/grammars/source.tolk.json +1 -0
- data/grammars/source.ucode-template.json +1 -0
- data/grammars/source.ucode.json +1 -0
- data/grammars/source.vento.json +1 -1
- data/grammars/source.verse.json +1 -0
- data/grammars/source.vespaSchema.json +1 -0
- data/grammars/source.vhs.json +1 -0
- data/grammars/source.wgsl.json +1 -1
- data/grammars/source.yaml.salt.json +1 -1
- data/grammars/text.bbcode.json +1 -0
- data/grammars/text.html.handlebars.json +1 -1
- data/grammars/text.recfile.json +1 -0
- data/grammars/text.roff.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +19 -0
- data/lib/linguist/generated.rb +24 -0
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +80 -5
- data/lib/linguist/language.rb +5 -9
- data/lib/linguist/languages.yml +231 -27
- data/lib/linguist/languages_data.rb +7663 -0
- data/lib/linguist/lazy_blob.rb +6 -1
- data/lib/linguist/samples.rb +4 -10
- data/lib/linguist/samples_data.rb +196100 -0
- metadata +31 -19
- data/grammars/markdown.bicep.codeblock.json +0 -1
- data/grammars/source.baml-jinja.json +0 -1
- data/lib/linguist/languages.json +0 -1
- data/lib/linguist/samples.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"JASS","scopeName":"source.jass","patterns":[{"include":"#type-declaration"},{"include":"#globals-block"},{"include":"#function-declaration"},{"include":"#local-declaration"},{"include":"#set-statement"},{"include":"#call-statement"},{"include":"#expression"}],"repository":{"call-statement":{"name":"meta.statement.call.jass","match":"^[ \\t]*(?:(debug)(?![0-9A-Za-z_])[ \\t]+)?(call)(?![0-9A-Za-z_])(?:[ \\t]+([A-Za-z_][0-9A-Za-z_]*))?","captures":{"1":{"name":"keyword.control.debug.jass"},"2":{"name":"keyword.control.jass"},"3":{"patterns":[{"include":"#keywords"},{"name":"variable.function.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},"character-literal":{"patterns":[{"name":"constant.numeric.integer.other.fourcc.jass","match":"(')((?:(?:[^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}]){4}|(?:[^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}]){2}\\\\?[\\x{80}-\\x{7FF}]|(?:[^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}])\\\\?[\\x{80}-\\x{7FF}](?:[^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}])|\\\\?[\\x{80}-\\x{7FF}](?:[^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}]){2}|(?:\\\\?[\\x{80}-\\x{7FF}]){2}|(?:[^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}])\\\\?[\\x{800}-\\x{FFFF}]|\\\\?[\\x{800}-\\x{FFFF}](?:[^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}])|\\\\?[\\x{10000}-\\x{10FFFF}]))(')","captures":{"1":{"name":"punctuation.definition.constant.begin.jass"},"2":{"patterns":[{"include":"#escape-sequence"}]},"3":{"name":"punctuation.definition.constant.end.jass"}}},{"name":"constant.character.jass","match":"(')([^'\\\\\\r\\n\\x{80}-\\x{10FFFF}]|\\\\[^\\r\\n\\x{80}-\\x{10FFFF}])(')","captures":{"1":{"name":"punctuation.definition.constant.begin.jass"},"2":{"patterns":[{"include":"#escape-sequence"}]},"3":{"name":"punctuation.definition.constant.end.jass"}}},{"name":"invalid.illegal.character-literal-length.jass","match":"'(?:[^'\\\\\\r\\n]|\\\\.)*'"},{"name":"constant.character.jass","begin":"'","end":"'","patterns":[{"include":"#escape-sequence"}],"beginCaptures":{"0":{"name":"punctuation.definition.constant.begin.jass"}},"endCaptures":{"0":{"name":"punctuation.definition.constant.end.jass"}}}]},"comment":{"name":"comment.line.double-slash.jass","match":"(//)[^\\r\\n]*","captures":{"1":{"name":"punctuation.definition.comment.jass"}}},"escape-sequence":{"patterns":[{"name":"constant.character.escape.jass","match":"\\\\[\\\\\"'nrtbf]"},{"name":"invalid.illegal.unknown-escape.jass","match":"\\\\[^\\r\\n]"},{"name":"invalid.illegal.unknown-escape.jass","match":"\\\\"}]},"expression":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#character-literal"},{"include":"#function-reference"},{"include":"#keywords"},{"include":"#numbers"},{"include":"#function-call"},{"include":"#identifier"},{"include":"#operators"},{"include":"#punctuation"},{"include":"#illegal"}]},"function-call":{"name":"variable.function.jass","match":"[A-Za-z_][0-9A-Za-z_]*(?=[ \\t]*\\()"},"function-declaration":{"begin":"^[ \\t]*((?:(constant)(?![0-9A-Za-z_])[ \\t]+)?(function|native)(?![0-9A-Za-z_])(?:[ \\t]+(?!(?:takes|returns)(?![0-9A-Za-z_]))([A-Za-z_][0-9A-Za-z_]*))?[ \\t]*)","end":"(?=$)","patterns":[{"include":"#comment"},{"include":"#function-parameters"},{"include":"#function-return-type"},{"include":"#keywords"},{"name":"support.type.jass","match":"[A-Za-z_][0-9A-Za-z_]*"},{"include":"#illegal"}],"beginCaptures":{"1":{"name":"meta.function.jass"},"2":{"name":"storage.modifier.constant.jass"},"3":{"name":"storage.type.function.jass keyword.declaration.function.jass"},"4":{"name":"meta.function.jass","patterns":[{"include":"#keywords"},{"name":"entity.name.function.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},"function-parameters":{"name":"meta.function.parameters.jass","begin":"(takes)(?![0-9A-Za-z_])","end":"(?=returns(?![0-9A-Za-z_])|[ \\t]*(?://|$))","patterns":[{"include":"#parameter"},{"name":"punctuation.separator.comma.jass","match":","},{"include":"#keywords"},{"name":"support.type.jass","match":"[A-Za-z_][0-9A-Za-z_]*"},{"include":"#illegal"}],"beginCaptures":{"1":{"name":"keyword.other.jass"}}},"function-reference":{"match":"(function)(?![0-9A-Za-z_])[ \\t]+([A-Za-z_][0-9A-Za-z_]*)","captures":{"1":{"name":"storage.type.function.jass"},"2":{"patterns":[{"include":"#keywords"},{"name":"variable.function.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},"function-return-type":{"name":"meta.function.return-type.jass","begin":"(returns)(?![0-9A-Za-z_])","end":"(?=[ \\t]*(?://|$))","patterns":[{"include":"#keywords"},{"name":"support.type.jass","match":"[A-Za-z_][0-9A-Za-z_]*"},{"include":"#illegal"}],"beginCaptures":{"1":{"name":"keyword.other.jass"}}},"global-declaration":{"patterns":[{"name":"meta.declaration.global.jass","match":"^[ \\t]*(constant)(?![0-9A-Za-z_])[ \\t]+([A-Za-z_][0-9A-Za-z_]*)[ \\t]+(?:(array)(?![0-9A-Za-z_])[ \\t]+)?([A-Za-z_][0-9A-Za-z_]*)","captures":{"1":{"name":"storage.modifier.constant.jass"},"2":{"patterns":[{"include":"#type-slot"}]},"3":{"name":"storage.modifier.array.jass"},"4":{"patterns":[{"include":"#keywords"},{"name":"variable.other.constant.global.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},{"name":"meta.declaration.global.jass","match":"^[ \\t]*([A-Za-z_][0-9A-Za-z_]*)[ \\t]+(?:(array)(?![0-9A-Za-z_])[ \\t]+)?([A-Za-z_][0-9A-Za-z_]*)","captures":{"1":{"patterns":[{"include":"#type-slot"}]},"2":{"name":"storage.modifier.array.jass"},"3":{"patterns":[{"include":"#keywords"},{"name":"variable.other.global.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}}]},"globals-block":{"name":"meta.block.globals.jass","begin":"^[ \\t]*(globals)(?![0-9A-Za-z_])","end":"^[ \\t]*(endglobals)(?![0-9A-Za-z_])|(?=^[ \\t]*(?:globals|type|(?:constant[ \\t]+)?(?:function|native)|local|set|call|return|exitwhen|if|elseif|else|endif|loop|endloop|endfunction|debug)(?![0-9A-Za-z_]))","patterns":[{"include":"#global-declaration"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"storage.type.globals.jass"}},"endCaptures":{"1":{"name":"storage.type.globals.jass"}}},"identifier":{"name":"variable.other.jass","match":"[A-Za-z_][0-9A-Za-z_]*"},"illegal":{"name":"invalid.illegal.character.jass","match":"[^ \\t\\r\\n]"},"keywords":{"patterns":[{"name":"keyword.control.conditional.jass","match":"(?:elseif|endif|else|then|if)(?![0-9A-Za-z_])"},{"name":"keyword.control.loop.jass","match":"(?:endloop|exitwhen|loop)(?![0-9A-Za-z_])"},{"name":"keyword.control.flow.jass","match":"return(?![0-9A-Za-z_])"},{"name":"keyword.control.jass","match":"(?:call|set)(?![0-9A-Za-z_])"},{"name":"keyword.control.debug.jass","match":"debug(?![0-9A-Za-z_])"},{"name":"keyword.operator.word.jass keyword.operator.logical.jass","match":"(?:and|not|or)(?![0-9A-Za-z_])"},{"name":"constant.language.boolean.jass","match":"(?:true|false)(?![0-9A-Za-z_])"},{"name":"constant.language.null.jass","match":"null(?![0-9A-Za-z_])"},{"name":"storage.type.primitive.jass","match":"(?:boolean|integer|nothing|handle|string|code|real)(?![0-9A-Za-z_])"},{"name":"storage.type.function.jass","match":"(?:endfunction|function|native)(?![0-9A-Za-z_])"},{"name":"storage.type.globals.jass","match":"(?:endglobals|globals)(?![0-9A-Za-z_])"},{"name":"storage.type.jass","match":"type(?![0-9A-Za-z_])"},{"name":"storage.modifier.constant.jass","match":"constant(?![0-9A-Za-z_])"},{"name":"storage.modifier.array.jass","match":"array(?![0-9A-Za-z_])"},{"name":"storage.modifier.local.jass","match":"local(?![0-9A-Za-z_])"},{"name":"keyword.other.jass","match":"(?:extends|returns|takes|alias)(?![0-9A-Za-z_])"}]},"local-declaration":{"name":"meta.declaration.local.jass","match":"^[ \\t]*(local)(?![0-9A-Za-z_])(?:[ \\t]+([A-Za-z_][0-9A-Za-z_]*))?(?:[ \\t]+(array)(?![0-9A-Za-z_]))?(?:[ \\t]+([A-Za-z_][0-9A-Za-z_]*))?","captures":{"1":{"name":"storage.modifier.local.jass"},"2":{"patterns":[{"include":"#type-slot"}]},"3":{"name":"storage.modifier.array.jass"},"4":{"patterns":[{"include":"#keywords"},{"name":"variable.other.local.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},"numbers":{"patterns":[{"name":"constant.numeric.integer.hexadecimal.jass","match":"(?:\\$|0[xX])[0-9A-Fa-f]+"},{"name":"invalid.illegal.number.jass","match":"(?:\\$|0[xX])(?![0-9A-Fa-f])"},{"name":"constant.numeric.float.real.jass","match":"[0-9]+\\.[0-9]*"},{"name":"invalid.illegal.number.jass","match":"0[0-9]*[89][0-9]*"},{"name":"constant.numeric.integer.octal.jass","match":"0[0-7]+"},{"name":"constant.numeric.integer.decimal.jass","match":"[0-9]+"},{"name":"constant.numeric.float.real.jass","match":"\\.[0-9]+"},{"name":"invalid.illegal.number.jass","match":"\\.(?![0-9])"}]},"operators":{"patterns":[{"name":"keyword.operator.comparison.jass","match":"==|!=|\u003c=|\u003e=|\u003c|\u003e"},{"name":"keyword.operator.assignment.jass","match":"="},{"name":"keyword.operator.arithmetic.jass","match":"[-+*/]"}]},"parameter":{"match":"([A-Za-z_][0-9A-Za-z_]*)[ \\t]+(?!returns(?![0-9A-Za-z_]))([A-Za-z_][0-9A-Za-z_]*)","captures":{"1":{"patterns":[{"include":"#type-slot"}]},"2":{"patterns":[{"include":"#keywords"},{"name":"variable.parameter.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},"punctuation":{"patterns":[{"name":"punctuation.separator.comma.jass","match":","},{"name":"punctuation.section.parens.begin.jass","match":"\\("},{"name":"punctuation.section.parens.end.jass","match":"\\)"},{"name":"punctuation.section.brackets.begin.jass","match":"\\["},{"name":"punctuation.section.brackets.end.jass","match":"\\]"}]},"set-statement":{"name":"meta.statement.set.jass","match":"^[ \\t]*(?:(debug)(?![0-9A-Za-z_])[ \\t]+)?(set)(?![0-9A-Za-z_])(?:[ \\t]+([A-Za-z_][0-9A-Za-z_]*))?","captures":{"1":{"name":"keyword.control.debug.jass"},"2":{"name":"keyword.control.jass"},"3":{"patterns":[{"include":"#keywords"},{"name":"variable.other.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},"string":{"name":"meta.string.jass string.quoted.double.jass","begin":"\"","end":"\"","patterns":[{"include":"#escape-sequence"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.jass"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.jass"}}},"type-declaration":{"name":"meta.declaration.type.jass","match":"^[ \\t]*(type)(?![0-9A-Za-z_])(?:[ \\t]+([A-Za-z_][0-9A-Za-z_]*))?(?:[ \\t]+(extends)(?![0-9A-Za-z_])(?:[ \\t]+([A-Za-z_][0-9A-Za-z_]*))?)?","captures":{"1":{"name":"storage.type.jass keyword.declaration.type.jass"},"2":{"patterns":[{"include":"#keywords"},{"name":"entity.name.type.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]},"3":{"name":"keyword.other.jass"},"4":{"patterns":[{"include":"#keywords"},{"name":"entity.other.inherited-class.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}},"type-slot":{"patterns":[{"include":"#keywords"},{"name":"support.type.jass","match":"[A-Za-z_][0-9A-Za-z_]*"}]}}}
|
data/grammars/source.julia.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"Julia","scopeName":"source.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":[{"name":"meta.array.julia","begin":"\\[","end":"(\\])((?:\\.)?'*)","patterns":[{"name":"constant.numeric.julia","match":"\\bbegin\\b"},{"name":"constant.numeric.julia","match":"\\bend\\b"},{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"bracket":{"patterns":[{"begin":"\\{","end":"(\\})((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"comment":{"patterns":[{"include":"#comment_block"},{"name":"comment.line.number-sign.julia","begin":"#","end":"\\n","patterns":[{"include":"#comment_tags"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}}}]},"comment_block":{"patterns":[{"name":"comment.block.number-sign-equals.julia","begin":"#=","end":"=#","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}}}]},"comment_tags":{"patterns":[{"name":"keyword.other.comment-annotation.julia","match":"\\bTODO\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bFIXME\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bCHANGED\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bXXX\\b"}]},"for_block":{"patterns":[{"begin":"\\b(for)\\b","end":"(?\u003c!,|\\s)(\\s*\\n)","patterns":[{"name":"keyword.other.julia","match":"\\bouter\\b"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.control.julia"}}}]},"function_call":{"patterns":[{"begin":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()","end":"\\)(('|(\\.'))*\\.?')?","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}}}]},"function_decl":{"patterns":[{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=\u003e]))","captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}}},{"match":"\\b(function|macro)(?:\\s+(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(\\.))?((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?|\\s*)(?=\\()","captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}}}]},"keyword":{"patterns":[{"name":"keyword.other.julia","match":"\\b(?\u003c![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|typegroup|module|baremodule|where)\\b"},{"name":"keyword.control.julia","match":"\\b(?\u003c![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\b"},{"name":"keyword.control.end.julia","match":"\\b(?\u003c![:_])end\\b"},{"name":"keyword.storage.modifier.julia","match":"\\b(?\u003c![:_])(?:global|local|const)\\b"},{"name":"keyword.control.export.julia","match":"\\b(?\u003c![:_])(?:export)\\b"},{"name":"keyword.control.public.julia","match":"^(?:public)\\b"},{"name":"keyword.control.import.julia","match":"\\b(?\u003c![:_])(?:import)\\b"},{"name":"keyword.control.using.julia","match":"\\b(?\u003c![:_])(?:using)\\b"},{"name":"keyword.control.as.julia"},{"name":"support.function.macro.julia","match":"@(\\.|(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*|[\\p{S}\\p{P}\u0026\u0026[^\\s@]]+)"}]},"number":{"patterns":[{"match":"((?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b[0-9]+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)","captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}}},{"name":"constant.global.julia","match":"\\bARGS\\b|\\bC_NULL\\b|\\bDEPOT_PATH\\b|\\bENDIAN_BOM\\b|\\bENV\\b|\\bLOAD_PATH\\b|\\bPROGRAM_FILE\\b|\\bstdin\\b|\\bstdout\\b|\\bstderr\\b|\\bVERSION\\b|\\bdevnull\\b"},{"name":"constant.language.julia","match":"\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b"}]},"operator":{"patterns":[{"name":"keyword.operator.arrow.julia","match":"\\.?(?:\u003c--\u003e|-\u003e|--\u003e|\u003c--|←|→|↔|↚|↛|↞|↠|↢|↣|↦|↤|↮|⇎|⇍|⇏|⇐|⇒|⇔|⇴|⇶|⇷|⇸|⇹|⇺|⇻|⇼|⇽|⇾|⇿|⟵|⟶|⟷|⟹|⟺|⟻|⟼|⟽|⟾|⟿|⤀|⤁|⤂|⤃|⤄|⤅|⤆|⤇|⤌|⤍|⤎|⤏|⤐|⤑|⤔|⤕|⤖|⤗|⤘|⤝|⤞|⤟|⤠|⥄|⥅|⥆|⥇|⥈|⥊|⥋|⥎|⥐|⥒|⥓|⥖|⥗|⥚|⥛|⥞|⥟|⥢|⥤|⥦|⥧|⥨|⥩|⥪|⥫|⥬|⥭|⥰|⧴|⬱|⬰|⬲|⬳|⬴|⬵|⬶|⬷|⬸|⬹|⬺|⬻|⬼|⬽|⬾|⬿|⭀|⭁|⭂|⭃|⥷|⭄|⥺|⭇|⭈|⭉|⭊|⭋|⭌|←|→|⇜|⇝|↜|↝|↩|↪|↫|↬|↼|↽|⇀|⇁|⇄|⇆|⇇|⇉|⇋|⇌|⇚|⇛|⇠|⇢|↷|↶|↺|↻|=\u003e)"},{"name":"keyword.operator.update.julia","match":"(?::=|\\+=|-=|\\*=|//=|/=|\\.//=|\\./=|\\.\\*=|\\\\=|\\.\\\\=|\\^=|\\.\\^=|%=|\\.%=|÷=|\\.÷=|\\|=|\u0026=|\\.\u0026=|⊻=|\\.⊻=|\\$=|\u003c\u003c=|\u003e\u003e=|\u003e\u003e\u003e=|=(?!=))"},{"name":"keyword.operator.shift.julia","match":"(?:\u003c\u003c|\u003e\u003e\u003e|\u003e\u003e|\\.\u003e\u003e\u003e|\\.\u003e\u003e|\\.\u003c\u003c)"},{"match":"(?:\\s*(::|\u003e:|\u003c:)\\s*((?:(?:Union)?\\([^)]*\\)|[[:alpha:]_$∇][[:word:]⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:\".+?(?\u003c!\\\\)\"))?)))(?:\\.\\.\\.)?((?:\\.)?'*)","captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}}},{"name":"keyword.operator.relation.julia","match":"(\\.?((?\u003c!\u003c)\u003c=|(?\u003c!\u003e)\u003e=|\u003e|\u003c|≥|≤|===|==|≡|!=|≠|!==|≢|∈|∉|∋|∌|⊆|⊈|⊂|⊄|⊊|∝|∊|∍|∥|∦|∷|∺|∻|∽|∾|≁|≃|≂|≄|≅|≆|≇|≈|≉|≊|≋|≌|≍|≎|≐|≑|≒|≓|≖|≗|≘|≙|≚|≛|≜|≝|≞|≟|≣|≦|≧|≨|≩|≪|≫|≬|≭|≮|≯|≰|≱|≲|≳|≴|≵|≶|≷|≸|≹|≺|≻|≼|≽|≾|≿|⊀|⊁|⊃|⊅|⊇|⊉|⊋|⊏|⊐|⊑|⊒|⊜|⊩|⊬|⊮|⊰|⊱|⊲|⊳|⊴|⊵|⊶|⊷|⋍|⋐|⋑|⋕|⋖|⋗|⋘|⋙|⋚|⋛|⋜|⋝|⋞|⋟|⋠|⋡|⋢|⋣|⋤|⋥|⋦|⋧|⋨|⋩|⋪|⋫|⋬|⋭|⋲|⋳|⋴|⋵|⋶|⋷|⋸|⋹|⋺|⋻|⋼|⋽|⋾|⋿|⟈|⟉|⟒|⦷|⧀|⧁|⧡|⧣|⧤|⧥|⩦|⩧|⩪|⩫|⩬|⩭|⩮|⩯|⩰|⩱|⩲|⩳|⩵|⩶|⩷|⩸|⩹|⩺|⩻|⩼|⩽|⩾|⩿|⪀|⪁|⪂|⪃|⪄|⪅|⪆|⪇|⪈|⪉|⪊|⪋|⪌|⪍|⪎|⪏|⪐|⪑|⪒|⪓|⪔|⪕|⪖|⪗|⪘|⪙|⪚|⪛|⪜|⪝|⪞|⪟|⪠|⪡|⪢|⪣|⪤|⪥|⪦|⪧|⪨|⪩|⪪|⪫|⪬|⪭|⪮|⪯|⪰|⪱|⪲|⪳|⪴|⪵|⪶|⪷|⪸|⪹|⪺|⪻|⪼|⪽|⪾|⪿|⫀|⫁|⫂|⫃|⫄|⫅|⫆|⫇|⫈|⫉|⫊|⫋|⫌|⫍|⫎|⫏|⫐|⫑|⫒|⫓|⫔|⫕|⫖|⫗|⫘|⫙|⫷|⫸|⫹|⫺|⊢|⊣|⟂|⫪|⫫|\u003c:|\u003e:))"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\?)(?=\\s)"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\:)(?=\\s)"},{"name":"keyword.operator.boolean.julia","match":"(?:\\|\\||\u0026\u0026|(?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))!)"},{"name":"keyword.operator.range.julia","match":"(?\u003c=[[:word:]⁺-ₜ!′∇\\)\\]\\}])(?::)"},{"name":"keyword.operator.applies.julia","match":"(?:\\|\u003e)"},{"name":"keyword.operator.bitwise.julia","match":"(?:\\||\\.\\||\\\u0026|\\.\\\u0026|~|¬|\\.~|⊻|\\.⊻)"},{"name":"keyword.operator.arithmetic.julia","match":"\\.?(?:\\+\\+|\\-\\-|\\+|\\-|−|¦|\\||⊕|⊖|⊞|⊟|∪|∨|⊔|±|∓|∔|∸|≏|⊎|⊻|⊽|⋎|⋓|⟇|⧺|⧻|⨈|⨢|⨣|⨤|⨥|⨦|⨧|⨨|⨩|⨪|⨫|⨬|⨭|⨮|⨹|⨺|⩁|⩂|⩅|⩊|⩌|⩏|⩐|⩒|⩔|⩖|⩗|⩛|⩝|⩡|⩢|⩣|\\*|//?|⌿|÷|%|\u0026|·|·|⋅|∘|×|\\\\|∩|∧|⊗|⊘|⊙|⊚|⊛|⊠|⊡|⊓|∗|∙|∤|⅋|≀|⊼|⋄|⋆|⋇|⋉|⋊|⋋|⋌|⋏|⋒|⟑|⦸|⦼|⦾|⦿|⧶|⧷|⨇|⨰|⨱|⨲|⨳|⨴|⨵|⨶|⨷|⨸|⨻|⨼|⨽|⩀|⩃|⩄|⩋|⩍|⩎|⩑|⩓|⩕|⩘|⩚|⩜|⩞|⩟|⩠|⫛|⊍|▷|⨝|⟕|⟖|⟗|⨟|\\^|↑|↓|⇵|⟰|⟱|⤈|⤉|⤊|⤋|⤒|⤓|⥉|⥌|⥍|⥏|⥑|⥔|⥕|⥘|⥙|⥜|⥝|⥠|⥡|⥣|⥥|⥮|⥯|↑|↓|√|∛|∜|⋆|±|∓)"},{"name":"keyword.operator.compose.julia","match":"(?:∘)"},{"name":"keyword.operator.isa.julia","match":"(?:::|(?\u003c=\\s)isa(?=\\s))"},{"name":"keyword.operator.relation.in.julia","match":"(?:(?\u003c=\\s)in(?=\\s))"},{"name":"keyword.operator.dots.julia","match":"(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+|…|⁝|⋮|⋱|⋰|⋯)"},{"name":"keyword.operator.interpolation.julia","match":"(?:\\$)(?=.+)"},{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(('|(\\.'))*\\.?')","captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}}},{"match":"(\\])((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}}},{"match":"(\\))((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}}}]},"parentheses":{"patterns":[{"begin":"\\(","end":"(\\))((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"punctuation":{"patterns":[{"name":"punctuation.separator.comma.julia","match":","},{"name":"punctuation.separator.semicolon.julia","match":";"}]},"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":[{"name":"string.docstring.julia","begin":"(?:(@doc)\\s((?:doc)?\"\"\")|(doc\"\"\"))","end":"(\"\"\") ?(-\u003e)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}}},{"name":"embed.cxx.julia","contentName":"source.cpp","begin":"(i?cxx)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.c++"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.python.julia","contentName":"source.python","begin":"(py)(\"\"\")","end":"([\\s\\w]*)(\"\"\")","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.js.julia","contentName":"source.js","begin":"(js)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.R.julia","contentName":"source.r","begin":"(R)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\"\"\")","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\")","end":"\"","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.sql.julia","contentName":"meta.embedded.inline.sql","begin":"(sql)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"constant.other.symbol.julia","begin":"var\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"constant.other.symbol.julia","begin":"var\"","end":"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"string.docstring.julia","begin":"^\\s?(doc)?(\"\"\")\\s?$","end":"(\"\"\")","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.single.julia","begin":"'","end":"'(?!')","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.triple.double.julia","begin":"\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}}},{"name":"string.quoted.double.julia","begin":"\"(?!\"\")","end":"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.regexp.julia","begin":"r\"\"\"","end":"(\"\"\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.regexp.julia","begin":"r\"","end":"(\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"\"\"","end":"(\"\"\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"","end":"(?\u003c![^\\\\]\\\\)(\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?```","end":"(```)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?`","end":"(?\u003c![^\\\\]\\\\)(`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}}]},"string_dollar_sign_interpolate":{"patterns":[{"name":"variable.interpolation.julia","match":"\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])*"},{"name":"variable.interpolation.julia","begin":"\\$(\\()","end":"\\)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"}}}]},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.julia","match":"\\\\(\\\\|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}|.)"}]},"symbol":{"patterns":[{"name":"constant.other.symbol.julia","match":"(?\u003c![[:word:]⁺-ₜ!′∇\\)\\]\\}]):(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(?!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?![\"`])"}]},"type_decl":{"patterns":[{"name":"meta.type.julia","match":"(?\u003e!:_)(?:struct|mutable\\s+struct|abstract\\s+type|primitive\\s+type)\\s+((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(\\s*(\u003c:)\\s*(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(?:{.*})?)?","captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}}}]}}}
|
|
1
|
+
{"name":"Julia","scopeName":"source.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":[{"name":"meta.array.julia","begin":"\\[","end":"(\\])((?:\\.)?'*)","patterns":[{"name":"constant.numeric.julia","match":"\\bbegin\\b"},{"name":"constant.numeric.julia","match":"\\bend\\b"},{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"bracket":{"patterns":[{"begin":"\\{","end":"(\\})((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"comment":{"patterns":[{"include":"#comment_block"},{"name":"comment.line.number-sign.julia","begin":"#","end":"\\n","patterns":[{"include":"#comment_tags"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}}}]},"comment_block":{"patterns":[{"name":"comment.block.number-sign-equals.julia","begin":"#=","end":"=#","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}}}]},"comment_tags":{"patterns":[{"name":"keyword.other.comment-annotation.julia","match":"\\bTODO\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bFIXME\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bCHANGED\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bXXX\\b"}]},"for_block":{"patterns":[{"begin":"\\b(for)\\b","end":"(?\u003c!,|\\s)(\\s*\\n)","patterns":[{"name":"keyword.other.julia","match":"\\bouter\\b"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.control.julia"}}}]},"function_call":{"patterns":[{"begin":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()","end":"\\)(('|(\\.'))*\\.?')?","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}}}]},"function_decl":{"patterns":[{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=\u003e]))","captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}}},{"match":"\\b(function|macro)(?:\\s+(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(\\.))?((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?|\\s*)(?=\\()","captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}}}]},"keyword":{"patterns":[{"name":"keyword.other.julia","match":"\\b(?\u003c![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|typegroup|module|baremodule|where)\\b"},{"name":"keyword.control.julia","match":"\\b(?\u003c![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\b"},{"name":"keyword.control.end.julia","match":"\\b(?\u003c![:_])end\\b"},{"name":"keyword.storage.modifier.julia","match":"\\b(?\u003c![:_])(?:global|local|const)\\b"},{"name":"keyword.control.export.julia","match":"\\b(?\u003c![:_])(?:export)\\b"},{"name":"keyword.control.public.julia","match":"^(?:public)\\b"},{"name":"keyword.control.import.julia","match":"\\b(?\u003c![:_])(?:import)\\b"},{"name":"keyword.control.using.julia","match":"\\b(?\u003c![:_])(?:using)\\b"},{"name":"keyword.control.as.julia"},{"name":"support.function.macro.julia","match":"@(\\.|(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*|[\\p{S}\\p{P}\u0026\u0026[^\\s@]]+)"}]},"number":{"patterns":[{"match":"((?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b[0-9]+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)","captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}}},{"name":"constant.global.julia","match":"\\bARGS\\b|\\bC_NULL\\b|\\bDEPOT_PATH\\b|\\bENDIAN_BOM\\b|\\bENV\\b|\\bLOAD_PATH\\b|\\bPROGRAM_FILE\\b|\\bstdin\\b|\\bstdout\\b|\\bstderr\\b|\\bVERSION\\b|\\bdevnull\\b"},{"name":"constant.language.julia","match":"\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b"}]},"operator":{"patterns":[{"name":"keyword.operator.arrow.julia","match":"\\.?(?:\u003c--\u003e|-\u003e|--\u003e|\u003c--|←|→|↔|↚|↛|↞|↠|↢|↣|↦|↤|↮|⇎|⇍|⇏|⇐|⇒|⇔|⇴|⇶|⇷|⇸|⇹|⇺|⇻|⇼|⇽|⇾|⇿|⟵|⟶|⟷|⟹|⟺|⟻|⟼|⟽|⟾|⟿|⤀|⤁|⤂|⤃|⤄|⤅|⤆|⤇|⤌|⤍|⤎|⤏|⤐|⤑|⤔|⤕|⤖|⤗|⤘|⤝|⤞|⤟|⤠|⥄|⥅|⥆|⥇|⥈|⥊|⥋|⥎|⥐|⥒|⥓|⥖|⥗|⥚|⥛|⥞|⥟|⥢|⥤|⥦|⥧|⥨|⥩|⥪|⥫|⥬|⥭|⥰|⧴|⬱|⬰|⬲|⬳|⬴|⬵|⬶|⬷|⬸|⬹|⬺|⬻|⬼|⬽|⬾|⬿|⭀|⭁|⭂|⭃|⥷|⭄|⥺|⭇|⭈|⭉|⭊|⭋|⭌|←|→|⇜|⇝|↜|↝|↩|↪|↫|↬|↼|↽|⇀|⇁|⇄|⇆|⇇|⇉|⇋|⇌|⇚|⇛|⇠|⇢|↷|↶|↺|↻|=\u003e)"},{"name":"keyword.operator.update.julia","match":"(?::=|\\+=|-=|\\*=|//=|/=|\\.//=|\\./=|\\.\\*=|\\\\=|\\.\\\\=|\\^=|\\.\\^=|%=|\\.%=|÷=|\\.÷=|\\|=|\u0026=|\\.\u0026=|⊻=|\\.⊻=|\\$=|\u003c\u003c=|\u003e\u003e=|\u003e\u003e\u003e=|=(?!=))"},{"name":"keyword.operator.shift.julia","match":"(?:\u003c\u003c|\u003e\u003e\u003e|\u003e\u003e|\\.\u003e\u003e\u003e|\\.\u003e\u003e|\\.\u003c\u003c)"},{"match":"(?:\\s*(::|\u003e:|\u003c:)\\s*((?:(?:Union)?\\([^)]*\\)|[[:alpha:]_$∇][[:word:]⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:\".+?(?\u003c!\\\\)\"))?)))(?:\\.\\.\\.)?((?:\\.)?'*)","captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}}},{"name":"keyword.operator.relation.julia","match":"(\\.?((?\u003c!\u003c)\u003c=|(?\u003c!\u003e)\u003e=|\u003e|\u003c|≥|≤|===|==|≡|!=|≠|!==|≢|∈|∉|∋|∌|⊆|⊈|⊂|⊄|⊊|∝|∊|∍|∥|∦|∷|∺|∻|∽|∾|≁|≃|≂|≄|≅|≆|≇|≈|≉|≊|≋|≌|≍|≎|≐|≑|≒|≓|≖|≗|≘|≙|≚|≛|≜|≝|≞|≟|≣|≦|≧|≨|≩|≪|≫|≬|≭|≮|≯|≰|≱|≲|≳|≴|≵|≶|≷|≸|≹|≺|≻|≼|≽|≾|≿|⊀|⊁|⊃|⊅|⊇|⊉|⊋|⊏|⊐|⊑|⊒|⊜|⊩|⊬|⊮|⊰|⊱|⊲|⊳|⊴|⊵|⊶|⊷|⋍|⋐|⋑|⋕|⋖|⋗|⋘|⋙|⋚|⋛|⋜|⋝|⋞|⋟|⋠|⋡|⋢|⋣|⋤|⋥|⋦|⋧|⋨|⋩|⋪|⋫|⋬|⋭|⋲|⋳|⋴|⋵|⋶|⋷|⋸|⋹|⋺|⋻|⋼|⋽|⋾|⋿|⟈|⟉|⟒|⦷|⧀|⧁|⧡|⧣|⧤|⧥|⩦|⩧|⩪|⩫|⩬|⩭|⩮|⩯|⩰|⩱|⩲|⩳|⩵|⩶|⩷|⩸|⩹|⩺|⩻|⩼|⩽|⩾|⩿|⪀|⪁|⪂|⪃|⪄|⪅|⪆|⪇|⪈|⪉|⪊|⪋|⪌|⪍|⪎|⪏|⪐|⪑|⪒|⪓|⪔|⪕|⪖|⪗|⪘|⪙|⪚|⪛|⪜|⪝|⪞|⪟|⪠|⪡|⪢|⪣|⪤|⪥|⪦|⪧|⪨|⪩|⪪|⪫|⪬|⪭|⪮|⪯|⪰|⪱|⪲|⪳|⪴|⪵|⪶|⪷|⪸|⪹|⪺|⪻|⪼|⪽|⪾|⪿|⫀|⫁|⫂|⫃|⫄|⫅|⫆|⫇|⫈|⫉|⫊|⫋|⫌|⫍|⫎|⫏|⫐|⫑|⫒|⫓|⫔|⫕|⫖|⫗|⫘|⫙|⫷|⫸|⫹|⫺|⊢|⊣|⟂|⫪|⫫|\u003c:|\u003e:))"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\?)(?=\\s)"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\:)(?=\\s)"},{"name":"keyword.operator.boolean.julia","match":"(?:\\|\\||\u0026\u0026|(?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))!)"},{"name":"keyword.operator.range.julia","match":"(?\u003c=[[:word:]⁺-ₜ!′∇\\)\\]\\}])(?::)"},{"name":"keyword.operator.applies.julia","match":"(?:\\|\u003e)"},{"name":"keyword.operator.bitwise.julia","match":"(?:\\||\\.\\||\\\u0026|\\.\\\u0026|~|¬|\\.~|⊻|\\.⊻)"},{"name":"keyword.operator.arithmetic.julia","match":"\\.?(?:\\+\\+|\\-\\-|\\+|\\-|−|¦|\\||⊕|⊖|⊞|⊟|∪|∨|⊔|±|∓|∔|∸|≏|⊎|⊻|⊽|⋎|⋓|⟇|⧺|⧻|⨈|⨢|⨣|⨤|⨥|⨦|⨧|⨨|⨩|⨪|⨫|⨬|⨭|⨮|⨹|⨺|⩁|⩂|⩅|⩊|⩌|⩏|⩐|⩒|⩔|⩖|⩗|⩛|⩝|⩡|⩢|⩣|\\*|//?|⌿|÷|%|\u0026|·|·|⋅|∘|×|\\\\|∩|∧|⊗|⊘|⊙|⊚|⊛|⊠|⊡|⊓|∗|∙|∤|⅋|≀|⊼|⋄|⋆|⋇|⋉|⋊|⋋|⋌|⋏|⋒|⟑|⦸|⦼|⦾|⦿|⧶|⧷|⨇|⨰|⨱|⨲|⨳|⨴|⨵|⨶|⨷|⨸|⨻|⨼|⨽|⩀|⩃|⩄|⩋|⩍|⩎|⩑|⩓|⩕|⩘|⩚|⩜|⩞|⩟|⩠|⫛|⊍|▷|⨝|⟕|⟖|⟗|⨟|\\^|↑|↓|⇵|⟰|⟱|⤈|⤉|⤊|⤋|⤒|⤓|⥉|⥌|⥍|⥏|⥑|⥔|⥕|⥘|⥙|⥜|⥝|⥠|⥡|⥣|⥥|⥮|⥯|↑|↓|√|∛|∜|⋆|±|∓)"},{"name":"keyword.operator.compose.julia","match":"(?:∘)"},{"name":"keyword.operator.isa.julia","match":"(?:::|(?\u003c=\\s)isa(?=\\s))"},{"name":"keyword.operator.relation.in.julia","match":"(?:(?\u003c=\\s)in(?=\\s))"},{"name":"keyword.operator.dots.julia","match":"(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+|…|⁝|⋮|⋱|⋰|⋯)"},{"name":"keyword.operator.interpolation.julia","match":"(?:\\$)(?=.+)"},{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(('|(\\.'))*\\.?')","captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}}},{"match":"(\\])((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}}},{"match":"(\\))((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}}}]},"parentheses":{"patterns":[{"begin":"\\(","end":"(\\))((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"punctuation":{"patterns":[{"name":"punctuation.separator.comma.julia","match":","},{"name":"punctuation.separator.semicolon.julia","match":";"}]},"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":[{"name":"string.docstring.julia","begin":"(?:(@doc)\\s((?:doc)?\"\"\")|(doc\"\"\"))","end":"(\"\"\") ?(-\u003e)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}}},{"name":"embed.cxx.julia","contentName":"source.cpp","begin":"(i?cxx)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.c++"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.python.julia","contentName":"source.python","begin":"(py)(\"\"\")","end":"([\\s\\w]*)(\"\"\")","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.js.julia","contentName":"source.js","begin":"(js)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.R.julia","contentName":"source.r","begin":"(R)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\"\"\")","end":"\"\"\"","patterns":[{"include":"#string_escaped_char_raw"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\")","end":"\"","patterns":[{"include":"#string_escaped_char_raw"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.sql.julia","contentName":"meta.embedded.inline.sql","begin":"(sql)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"constant.other.symbol.julia","begin":"var\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"constant.other.symbol.julia","begin":"var\"","end":"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"string.docstring.julia","begin":"^\\s?(doc)?(\"\"\")\\s?$","end":"(\"\"\")","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.single.julia","begin":"'","end":"'(?!')","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.triple.double.julia","begin":"\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}}},{"name":"string.quoted.double.julia","begin":"\"(?!\"\")","end":"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.regexp.julia","begin":"r\"\"\"","end":"(\"\"\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.regexp.julia","begin":"r\"","end":"(\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"\"\"","end":"(\"\"\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"","end":"(?\u003c![^\\\\]\\\\)(\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?```","end":"(```)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?`","end":"(?\u003c![^\\\\]\\\\)(`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}}]},"string_dollar_sign_interpolate":{"patterns":[{"name":"variable.interpolation.julia","match":"\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])*"},{"name":"variable.interpolation.julia","begin":"\\$(\\()","end":"\\)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"}}}]},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.julia","match":"\\\\(\\\\|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}|.)"}]},"string_escaped_char_raw":{"patterns":[{"name":"constant.character.escape.julia","match":"(\\\\\\\\)*\\\\\""},{"name":"constant.character.escape.julia","match":"(\\\\\\\\)+(?=\")"}]},"symbol":{"patterns":[{"name":"constant.other.symbol.julia","match":"(?\u003c![[:word:]⁺-ₜ!′∇\\)\\]\\}]):(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(?!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?![\"`])"}]},"type_decl":{"patterns":[{"name":"meta.type.julia","match":"(?\u003e!:_)(?:struct|mutable\\s+struct|abstract\\s+type|primitive\\s+type)\\s+((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(\\s*(\u003c:)\\s*(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(?:{.*})?)?","captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}}}]}}}
|
data/grammars/source.kcl.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"KCL","scopeName":"source.kcl","patterns":[{"include":"#keywords"},{"include":"#types"},{"include":"#builtin-literals"},{"include":"#triple-double-quoted-strings"},{"include":"#triple-single-quoted-strings"},{"include":"#single-quoted-strings"},{"include":"#double-quoted-strings"},{"include":"#comment"},{"include":"#number"}],"repository":{"builtin-literals":{"patterns":[{"name":"constant.language.KCL","match":"\\b(True|False|None|Undefined)\\b"}]},"comment":{"name":"comment.line.number-sign.KCL","patterns":[{"name":"comment.line.number-sign.KCL","match":"#.*"}]},"double-quoted-strings":{"name":"string.quoted.double.KCL","begin":"\"","end":"\""},"keywords":{"patterns":[{"name":"keyword.control.KCL","match":"\\b(as|assert|if|elif|else|lambda|for|import|schema|protocol|rule|mixin|check|and|in|is|not|or|all|any|map|filter|type)\\b"}]},"number":{"name":"constant.numeric.KCL","patterns":[{"name":"constant.numeric.list.number.KCL","match":"\\-?[1-9]\\d*"},{"name":"constant.numeric.list.number.KCL","match":"\\-?0[xX][0-9a-fA-F]
|
|
1
|
+
{"name":"KCL","scopeName":"source.kcl","patterns":[{"include":"#keywords"},{"include":"#types"},{"include":"#builtin-literals"},{"include":"#triple-double-quoted-strings"},{"include":"#triple-single-quoted-strings"},{"include":"#single-quoted-strings"},{"include":"#double-quoted-strings"},{"include":"#comment"},{"include":"#number"}],"repository":{"builtin-literals":{"patterns":[{"name":"constant.language.KCL","match":"\\b(True|False|None|Undefined)\\b"}]},"comment":{"name":"comment.line.number-sign.KCL","patterns":[{"name":"comment.line.number-sign.KCL","match":"#.*"}]},"double-quoted-strings":{"name":"string.quoted.double.KCL","begin":"\"","end":"\""},"keywords":{"patterns":[{"name":"keyword.control.KCL","match":"\\b(as|assert|if|elif|else|lambda|for|import|schema|protocol|rule|mixin|check|and|in|is|not|or|all|any|map|filter|type)\\b"}]},"number":{"name":"constant.numeric.KCL","patterns":[{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?(?:[1-9]\\d*|0)\\.\\d*([eE][-+]?\\d+)?"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?\\.\\d+([eE][-+]?\\d+)?"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?(?:[1-9]\\d*|0)[eE][-+]?\\d+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?0[xX][0-9a-fA-F]+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?0[oO][0-7]+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?0[bB][0-1]+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?(?:[1-9]\\d*|0)\\b"}]},"single-quoted-strings":{"name":"string.quoted.single.KCL","begin":"'","end":"'"},"triple-double-quoted-strings":{"name":"string.quoted.double.triple.KCL","begin":"\"\"\"","end":"\"\"\""},"triple-single-quoted-strings":{"name":"string.quoted.single.triple.KCL","begin":"'''","end":"'''"},"types":{"patterns":[{"name":"entity.name.type.KCL","match":"\\b(str|int|float|bool)\\b"}]}}}
|
data/grammars/source.koka.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"koka","scopeName":"source.koka","patterns":[{"include":"#line_comment"},{"include":"#line_directive"},{"include":"#block_comment"},{"include":"#string"},{"include":"#rawstring"},{"include":"#rawstring1"},{"include":"#rawstring2"},{"include":"#character"},{"include":"#characteresc"},{"include":"#type_app"},{"include":"#top_type"},{"include":"#top_type_type"},{"include":"#top_type_alias"},{"include":"#top_type_struct_args"},{"include":"#top_type_struct"},{"include":"#top_type_quantifier"},{"include":"#decl_function"},{"include":"#decl_external_import"},{"include":"#decl_external"},{"include":"#decl_toplevel_val"},{"include":"#decl_val"},{"include":"#decl_var"},{"include":"#decl_hover_expr"},{"include":"#decl_hover_implicit"},{"include":"#decl_param"},{"include":"#module_id"},{"include":"#import_id"},{"include":"#import_id2"},{"include":"#branch"},{"include":"#dot"},{"include":"#reservedid"},{"include":"#reservedcontrol"},{"include":"#reservedop"},{"include":"#libraryid"},{"include":"#externid"},{"include":"#qconstructor"},{"include":"#qoperator"},{"include":"#qidentifier"},{"include":"#identifier"},{"include":"#constructor"},{"include":"#special"},{"include":"#minus"},{"include":"#operator"},{"include":"#wildcard"},{"include":"#number"},{"include":"#inv_character"},{"include":"#whitespace"}],"repository":{"block_comment":{"name":"comment.block koka.comment.block","begin":"/\\*","end":"\\*/","patterns":[{"include":"#block_comment"},{"name":"koka.comment.doc.pre.block","begin":"^```+.*$","end":"^```+\\s*$"},{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}},"endCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}}},"branch":{"name":"keyword.other koka.id.library.$1","match":"(finally|initially)\\s*(?=-\u003e|[\\{\\(])"},"character":{"name":"string.quoted.single koka.char","match":"'[^\\'\\\\$]'","beginCaptures":{"0":{"name":"punctuation.definition.character koka.char"}},"endCaptures":{"0":{"name":"punctuation.definition.character koka.char"}}},"characteresc":{"match":"(')(\\\\([abfnrtv0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6}))(')","captures":{"1":{"name":"string.quoted.single koka.char"},"2":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"3":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"4":{"name":"string.quoted.single koka.char"}}},"constructor":{"name":"entity.name.tag.css.constant.other.constructor koka.conid","match":"[@A-Z][\\w\\-@]*[\\']*"},"decl_external":{"match":"((?:(?:inline|noinline)\\s+)?(?:(?:fip|fbip)\\s+)?extern)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")?","captures":{"1":{"name":"keyword.declaration.function koka.keyword.extern"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_external_import":{"name":"keyword.declaration.import koka.keyword.extern","match":"(extern\\s+import)"},"decl_function":{"match":"((?:(?:inline|noinline)\\s+)?(?:tail\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?(?:fun|fn|ctl|ret))\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")","captures":{"1":{"name":"keyword.declaration.function koka.keyword.fun"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_hover_expr":{"name":"keyword.declaration koka.keyword.expr","match":"^expr"},"decl_hover_implicit":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))(?=\\s*[=])","captures":{"1":{"name":"entity.name.label source.typeparam koka.param.implicit"},"2":{"name":"entity.name.label source.typeparam koka.param.implicit"}}},"decl_param":{"name":"entity.name koka.id.param","match":"([a-z][\\w\\-]*[\\']*)\\s*(?=:)"},"decl_toplevel_val":{"match":"(^(?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.val"}}},"decl_val":{"match":"((?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name koka.id.decl.val"}}},"decl_var":{"match":"(var)\\s+([a-z][\\w\\-]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))","captures":{"1":{"name":"keyword.declaration koka.keyword.var"},"2":{"name":"entity.name koka.id.decl.var"}}},"dot":{"name":"source.dot koka.special.dot","match":"\\."},"externid":{"name":"keyword.control koka.id.extern.$1","match":"(?:c|cs|js|inline)\\s+(?:inline\\s+)?(?:(?:file|header-file|header-end-file)\\s+)?(?=[\\\"\\{]|r#*\")"},"identifier":{"name":"source koka.id","match":"@?[a-z][\\w\\-@]*[\\']*"},"import_id":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)(\\s+(=)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))?))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"},"6":{"name":"keyword koka.keyword.op"},"8":{"name":"entity.name.variable koka.moduleid"}}},"import_id2":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"}}},"inv_character":{"name":"invalid.string.quoted.single koka.char.invalid","match":"'([^'\\\\\\n]|\\\\(.|x..|u....|U......))'|'$|''?"},"libraryid":{"name":"keyword.control koka.id.library.$1","match":"(resume|resume-shallow|rcontext)(?![\\w\\-?'])"},"libraryop":{"name":"keyword.control koka.op.library","match":"(!)(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"line_comment":{"name":"comment.line.double-slash koka.comment.line","begin":"//","end":"$","patterns":[{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.line"}}},"line_directive":{"name":"meta.preprocessor koka.preprocessor","match":"^\\s*#.*$"},"minus":{"name":"source.operator.minus koka.op.minus","match":"-(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"module_id":{"match":"(module)\\s*((interface)?)\\s*(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)","captures":{"1":{"name":"keyword.other koka.keyword.module"},"3":{"name":"keyword.other koka.keyword.interface"},"4":{"name":"entity.name.variable koka.moduleid"}}},"number":{"name":"constant.numeric koka.number","match":"-?(?:0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*(\\.[\\da-fA-F]+(?:_[\\da-fA-F]+)*)?([pP][\\-+]?\\d+)?|0[bB][01][01_]*|(?:0|[1-9]\\d*)(?:_\\d+)*(\\.\\d+(?:_\\d+)*([eE][\\-+]?\\d+)?)?)"},"operator":{"name":"source.operator koka.op","match":"[$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+"},"param_identifier":{"match":"([^]\\s+)?(\\?[\\?]?\\s*)?([@a-z][\\w\\-@]*[\\']*)\\s*(?=[:,\\)])","captures":{"1":{"name":"koka.keyword.borrow"},"2":{"name":"koka.keyword.implicit"},"3":{"name":"source koka.id.param"}}},"qconstructor":{"match":"((?:[@a-z][\\w\\-@]*/#?)+)(@?[A-Z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"entity.name.tag.css.constant.other.constructor koka.conid"}}},"qidentifier":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source koka.id"}}},"qoperator":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(\\([^\\n\\r\\)]+\\))","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source.operator koka.op"}}},"rawstring":{"name":"string.quoted.double koka.string.raw","begin":"r\"","end":"\"","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring1":{"name":"string.quoted.double koka.string.raw","begin":"r#\"","end":"\"#","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!#)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring2":{"name":"string.quoted.double koka.string.raw","begin":"r##\"","end":"\"##","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!##)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"reservedcontrol":{"name":"keyword.control koka.keyword.control.$1","match":"(if|then|else|elif|match|return)(?![\\w\\-'])"},"reservedid":{"name":"keyword.other koka.keyword","match":"(return(?=(?:\\(|\\s+\\(?)\\w[\\w\\-]*\\s*(?:\\)\\s*(?:[^;])))|infix|infixr|infixl|type|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?|rec|struct|alias|forall|exists|some|extern|fun|fn|val|var|con|with(?:\\s+override)?|module|import|as|in|ctx|hole|pub|abstract|effect|named|(?:raw\\s+|final\\s+)ctl|break|continue|unsafe|mask(?:\\s+behind)?|handle|handler)(?![\\w\\-'])"},"reservedop":{"name":"keyword koka.keyword.op","match":"(=|=\u003e|\\-\u003e|\u003c\\-|\\||\\.|:|:=)(?![$%\u0026\\*\\+!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"special":{"name":"punctuation.separator koka.special","match":"[{}\\(\\)\\[\\];,]"},"string":{"name":"string.quoted.double koka.string","begin":"\"","end":"\"|$","patterns":[{"name":"invalid.string.quoted.double koka.string.invalid","match":"([^\"\\\\]|\\\\.)+$"},{"name":"string.quoted.double.regular koka.string","match":"[^\"\\\\]+"},{"name":"string.quoted.double constant.character.escape koka.string.escape","match":"\\\\([abfnrtvz0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6})"},{"name":"invalid.string.quoted.double koka.string","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"top_type":{"begin":"(:(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\|\u003c\u003e]))|(where|iff|when)(?![\\w\\-])","end":"(?=[,\\)\\{\\}\\[\\]=;\"`A-Z]| |(infix|infixr|infixl|inline|noinline|fip|fbip|tail|value|reference|open|extend|rec|co|lazy|type|linear|effect|ambient|alias|extern|fn|fun|function|val|raw|final|ctl|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"constant.numeric.type support.type koka.type"},"2":{"name":"keyword koka.keyword.$2"}},"endCaptures":{"0":{"name":"invalid.keyword koka.invalid"}}},"top_type_alias":{"begin":"(alias)\\s+([a-z][\\w\\-]+)","end":"(?=[,\\)\\{\\}\\[\\];\"`A-Z]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|linear|alias|effect|ambient|extern|fn|fun|function|val|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"name":"keyword.other koka.keyword.op","match":"="},{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_quantifier":{"begin":"(exists|forall|some)(\\s*)(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword koka.keyword"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_struct":{"match":"((?:(?:value|ref)\\s*)?struct)\\s+((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}}},"top_type_struct_args":{"begin":"((?:(?:value|ref)\\s*)?struct)\\s+([a-z][\\w\\-]*|\\(,*\\))\\s*(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_type":{"begin":"((?:(?:value|reference|open|extend|rec|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?)?\\s*type)|(?:named\\s+)?(?:scoped\\s+)?(?:linear\\s+)?(?:rec\\s+)?(?:effect|ambient))\\s+(?!fn|fun|val|raw|final|ctl|ret)((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","end":"(?=[\\)\\{\\}\\[\\]=;\"`A-Z]| [\\r\\n]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|raw|final|ctl|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract|value|reference|open|extend)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration.type koka.keyword"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"punctuation.separator koka.special"}}},"type_app":{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\\s\\d])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},"type_content":{"patterns":[{"include":"#type_implicit_parameter"},{"include":"#type_parameter"},{"include":"#type_content_top"}]},"type_content_top":{"patterns":[{"name":"keyword.other koka.keyword.$1","match":"(forall|exists|some|with|in|iff|when|is|if)(?![\\w\\-])"},{"name":"constant.numeric.type support.type koka.type.special","match":"(\\-\u003e|::?|\\.)(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},{"include":"#type_qidentifier"},{"include":"#type_variable"},{"include":"#type_identifier"},{"include":"#type_kind"},{"name":"constant.numeric.type support.type koka.type.parens","begin":"\\(","end":"\\)","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\\[","end":"\\]","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"include":"#line_comment"},{"include":"#block_comment"},{"name":"constant.numeric.type support.type koka.type.special","match":"[;,]|:"}]},"type_identifier":{"name":"constant.numeric.type support.type koka.type.typecon","match":"[\\$]?[@a-z][\\w\\-@]*[\\']*"},"type_implicit_parameter":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))\\s*(?=:(?!:))","captures":{"1":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"}}},"type_kind":{"name":"constant.numeric.type support.type koka.type.kind","match":"[A-Z](?![\\w\\-])"},"type_parameter":{"match":"([\\^]\\s+)?((?:[\\?][\\?]?\\s*)?[@a-z][\\w\\-@]*[\\']*)\\s*(?=:(?!:))","captures":{"1":{"name":"keyword.other koka.keyword.borrow"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam"}}},"type_qidentifier":{"name":"entity.name.variable koka.moduleid","match":"([@a-z][\\w\\-@]*[\\']*/#?)+"},"type_variable":{"name":"markup.italic constant.numeric.type support.type koka.type.typevar","match":"([_]?[a-z][0-9]*|_[\\w\\-]*[\\']*|self)(?!\\w)"},"whitespace":{"name":"source koka.white","match":"[ \\t]+"},"wildcard":{"name":"source.wildcard koka.id.wildcard","match":"@?_[\\w\\-@]*[\\']*"}}}
|
|
1
|
+
{"name":"koka","scopeName":"source.koka","patterns":[{"include":"#line_comment"},{"include":"#line_directive"},{"include":"#block_comment"},{"include":"#string"},{"include":"#rawstring"},{"include":"#rawstring1"},{"include":"#rawstring2"},{"include":"#character"},{"include":"#characteresc"},{"include":"#type_app"},{"include":"#top_type"},{"include":"#top_type_type"},{"include":"#top_type_alias"},{"include":"#top_type_struct_args"},{"include":"#top_type_struct"},{"include":"#top_type_quantifier"},{"include":"#decl_wrong_function"},{"include":"#decl_function"},{"include":"#decl_external_import"},{"include":"#decl_external"},{"include":"#decl_toplevel_val"},{"include":"#decl_val"},{"include":"#decl_var"},{"include":"#decl_hover_expr"},{"include":"#decl_hover_implicit"},{"include":"#decl_param"},{"include":"#module_id"},{"include":"#import_id"},{"include":"#import_id2"},{"include":"#branch"},{"include":"#dot"},{"include":"#reservedid"},{"include":"#reservedcontrol"},{"include":"#reservedop"},{"include":"#libraryid"},{"include":"#externid"},{"include":"#qconstructor"},{"include":"#qoperator"},{"include":"#qidentifier"},{"include":"#identifier"},{"include":"#constructor"},{"include":"#special"},{"include":"#minus"},{"include":"#operator"},{"include":"#wildcard"},{"include":"#number"},{"include":"#inv_character"},{"include":"#whitespace"}],"repository":{"block_comment":{"name":"comment.block koka.comment.block","begin":"/\\*","end":"\\*/","patterns":[{"include":"#block_comment"},{"name":"koka.comment.doc.pre.block","begin":"^```+.*$","end":"^```+\\s*$"},{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}},"endCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}}},"branch":{"name":"keyword.other koka.id.library.$1","match":"(finally|initially)\\s*(?=-\u003e|[\\{\\(])"},"character":{"name":"string.quoted.single koka.char","match":"'[^\\'\\\\$]'","beginCaptures":{"0":{"name":"punctuation.definition.character koka.char"}},"endCaptures":{"0":{"name":"punctuation.definition.character koka.char"}}},"characteresc":{"match":"(')(\\\\([abfnrtv0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6}))(')","captures":{"1":{"name":"string.quoted.single koka.char"},"2":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"3":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"4":{"name":"string.quoted.single koka.char"}}},"constructor":{"name":"entity.name.tag.css.constant.other.constructor koka.conid","match":"[@A-Z][\\w\\-@]*[\\']*"},"decl_external":{"match":"((?:(?:inline|noinline)\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?extern)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")?","captures":{"1":{"name":"keyword.declaration.function koka.keyword.extern"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_external_import":{"name":"keyword.declaration.import koka.keyword.extern","match":"(extern\\s+import)"},"decl_function":{"match":"((?:(?:inline|noinline)\\s+)?(?:tail\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?(?:fun|fn|ctl|ret))\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")","captures":{"1":{"name":"keyword.declaration.function koka.keyword.fun"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_hover_expr":{"name":"keyword.declaration koka.keyword.expr","match":"^expr"},"decl_hover_implicit":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))(?=\\s*[=])","captures":{"1":{"name":"entity.name.label source.typeparam koka.param.implicit"},"2":{"name":"entity.name.label source.typeparam koka.param.implicit"}}},"decl_param":{"name":"entity.name koka.id.param","match":"([a-z][\\w\\-]*[\\']*)\\s*(?=:)"},"decl_toplevel_val":{"match":"(^(?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.val"}}},"decl_val":{"match":"((?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name koka.id.decl.val"}}},"decl_var":{"match":"(var)\\s+([a-z][\\w\\-]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))","captures":{"1":{"name":"keyword.declaration koka.keyword.var"},"2":{"name":"entity.name koka.id.decl.var"}}},"decl_wrong_function":{"match":"((?:(?:inline|noinline)\\s+)?(?:tail\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?(?:fun))\\s+((?:wrong/|default/)(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"keyword.declaration.function"},"2":{"name":"keyword.declaration.function koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"dot":{"name":"source.dot koka.special.dot","match":"\\."},"externid":{"name":"keyword.control koka.id.extern.$1","match":"(?:c|cs|js|inline)\\s+(?:inline\\s+)?(?:(?:file|header-file|header-end-file)\\s+)?(?=[\\\"\\{]|r#*\")"},"identifier":{"name":"source koka.id","match":"@?[a-z][\\w\\-@]*[\\']*"},"import_id":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)(\\s+(=)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))?))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"},"6":{"name":"keyword koka.keyword.op"},"8":{"name":"entity.name.variable koka.moduleid"}}},"import_id2":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"}}},"inv_character":{"name":"invalid.string.quoted.single koka.char.invalid","match":"'([^'\\\\\\n]|\\\\(.|x..|u....|U......))'|'$|''?"},"libraryid":{"name":"keyword.control koka.id.library.$1","match":"(resume|resume-shallow|rcontext)(?![\\w\\-?'])"},"libraryop":{"name":"keyword.control koka.op.library","match":"(!)(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"line_comment":{"name":"comment.line.double-slash koka.comment.line","begin":"//","end":"$","patterns":[{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.line"}}},"line_directive":{"name":"meta.preprocessor koka.preprocessor","match":"^\\s*#.*$"},"minus":{"name":"source.operator.minus koka.op.minus","match":"-(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"module_id":{"match":"(module)\\s*((interface)?)\\s*(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)","captures":{"1":{"name":"keyword.other koka.keyword.module"},"3":{"name":"keyword.other koka.keyword.interface"},"4":{"name":"entity.name.variable koka.moduleid"}}},"number":{"name":"constant.numeric koka.number","match":"-?(?:0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*(\\.[\\da-fA-F]+(?:_[\\da-fA-F]+)*)?([pP][\\-+]?\\d+)?|0[bB][01][01_]*|(?:0|[1-9]\\d*)(?:_\\d+)*(\\.\\d+(?:_\\d+)*([eE][\\-+]?\\d+)?)?)"},"operator":{"name":"source.operator koka.op","match":"[$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+"},"param_identifier":{"match":"([^]\\s+)?(\\?[\\?]?\\s*)?([@a-z][\\w\\-@]*[\\']*)\\s*(?=[:,\\)])","captures":{"1":{"name":"koka.keyword.borrow"},"2":{"name":"koka.keyword.implicit"},"3":{"name":"source koka.id.param"}}},"qconstructor":{"match":"((?:[@a-z][\\w\\-@]*/#?)+)(@?[A-Z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"entity.name.tag.css.constant.other.constructor koka.conid"}}},"qidentifier":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source koka.id"}}},"qoperator":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(\\([^\\n\\r\\)]+\\))","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source.operator koka.op"}}},"rawstring":{"name":"string.quoted.double koka.string.raw","begin":"r\"","end":"\"","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring1":{"name":"string.quoted.double koka.string.raw","begin":"r#\"","end":"\"#","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!#)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring2":{"name":"string.quoted.double koka.string.raw","begin":"r##\"","end":"\"##","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!##)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"reservedcontrol":{"name":"keyword.control koka.keyword.control.$1","match":"(if|then|else|elif|match|return)(?![\\w\\-'])"},"reservedid":{"name":"keyword.other koka.keyword","match":"(return(?=(?:\\(|\\s+\\(?)\\w[\\w\\-]*\\s*(?:\\)\\s*(?:[^;])))|infix|infixr|infixl|type|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?|rec|struct|alias|forall|exists|some|extern|fun|fn|val|var|con|with(?:\\s+override)?|module|import|as|in|ctx|hole|pub|abstract|effect|named|(?:raw\\s+|final\\s+)ctl|break|continue|unsafe|mask(?:\\s+behind)?|handle|handler)(?![\\w\\-'])"},"reservedop":{"name":"keyword koka.keyword.op","match":"(=|=\u003e|\\-\u003e|\u003c\\-|\\||\\.|:|:=)(?![$%\u0026\\*\\+!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"special":{"name":"punctuation.separator koka.special","match":"[{}\\(\\)\\[\\];,]"},"string":{"name":"string.quoted.double koka.string","begin":"\"","end":"\"|$","patterns":[{"name":"invalid.string.quoted.double koka.string.invalid","match":"([^\"\\\\]|\\\\.)+$"},{"name":"string.quoted.double.regular koka.string","match":"[^\"\\\\]+"},{"name":"string.quoted.double constant.character.escape koka.string.escape","match":"\\\\([abfnrtvz0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6})"},{"name":"invalid.string.quoted.double koka.string","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"top_type":{"begin":"(:(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\|\u003c\u003e]))|(where|iff|when)(?![\\w\\-])","end":"(?=[,\\)\\{\\}\\[\\]=;\"`A-Z]| |(infix|infixr|infixl|inline|noinline|fip|fbip|tail|value|reference|open|extend|rec|co|lazy|type|linear|effect|ambient|alias|extern|fn|fun|function|val|raw|final|ctl|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"constant.numeric.type support.type koka.type"},"2":{"name":"keyword koka.keyword.$2"}},"endCaptures":{"0":{"name":"invalid.keyword koka.invalid"}}},"top_type_alias":{"begin":"(alias)\\s+([a-z][\\w\\-]+)","end":"(?=[,\\)\\{\\}\\[\\];\"`A-Z]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|linear|alias|effect|ambient|extern|fn|fun|function|val|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"name":"keyword.other koka.keyword.op","match":"="},{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_quantifier":{"begin":"(exists|forall|some)(\\s*)(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword koka.keyword"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_struct":{"match":"((?:(?:value|ref)\\s*)?struct)\\s+((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}}},"top_type_struct_args":{"begin":"((?:(?:value|ref)\\s*)?struct)\\s+([a-z][\\w\\-]*|\\(,*\\))\\s*(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_type":{"begin":"((?:(?:value|reference|open|extend|rec|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?)?\\s*type)|(?:named\\s+)?(?:scoped\\s+)?(?:linear\\s+)?(?:rec\\s+)?(?:effect|ambient))\\s+(?!fn|fun|val|raw|final|ctl|ret)((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","end":"(?=[\\)\\{\\}\\[\\]=;\"`A-Z]| [\\r\\n]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|raw|final|ctl|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract|value|reference|open|extend)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration.type koka.keyword"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"punctuation.separator koka.special"}}},"type_app":{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\\s\\d])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},"type_content":{"patterns":[{"include":"#type_implicit_parameter"},{"include":"#type_parameter"},{"include":"#type_content_top"}]},"type_content_top":{"patterns":[{"name":"keyword.other koka.keyword.$1","match":"(forall|exists|some|with|in|iff|when|is|if)(?![\\w\\-])"},{"name":"constant.numeric.type support.type koka.type.special","match":"(\\-\u003e|::?|\\.)(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},{"include":"#type_qidentifier"},{"include":"#type_variable"},{"include":"#type_identifier"},{"include":"#type_kind"},{"name":"constant.numeric.type support.type koka.type.parens","begin":"\\(","end":"\\)","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\\[","end":"\\]","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"include":"#line_comment"},{"include":"#block_comment"},{"name":"constant.numeric.type support.type koka.type.special","match":"[;,]|:"}]},"type_identifier":{"name":"constant.numeric.type support.type koka.type.typecon","match":"[\\$]?[@a-z][\\w\\-@]*[\\']*"},"type_implicit_parameter":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))\\s*(?=:(?!:))","captures":{"1":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"}}},"type_kind":{"name":"constant.numeric.type support.type koka.type.kind","match":"[A-Z](?![\\w\\-])"},"type_parameter":{"match":"([\\^]\\s+)?((?:[\\?][\\?]?\\s*)?[@a-z][\\w\\-@]*[\\']*)\\s*(?=:(?!:))","captures":{"1":{"name":"keyword.other koka.keyword.borrow"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam"}}},"type_qidentifier":{"name":"entity.name.variable koka.moduleid","match":"([@a-z][\\w\\-@]*[\\']*/#?)+"},"type_variable":{"name":"markup.italic constant.numeric.type support.type koka.type.typevar","match":"([_]?[a-z][0-9]*|_[\\w\\-]*[\\']*|self)(?!\\w)"},"whitespace":{"name":"source koka.white","match":"[ \\t]+"},"wildcard":{"name":"source.wildcard koka.id.wildcard","match":"@?_[\\w\\-@]*[\\']*"}}}
|
data/grammars/source.leo.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"leo","scopeName":"source.leo","patterns":[{"include":"#function_declaration"},{"include":"#import_file"},{"include":"#program_file"},{"include":"#program_keyword"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#string_literal"},{"include":"#integer_literal"},{"include":"#built-in_core_assign"},{"include":"#boolean_constant"},{"include":"#import_keyword"},{"include":"#control_keyword"},{"include":"#storage_type_public"},{"include":"#storage_type_private"},{"include":"#storage_type_constant"},{"include":"#storage_type_const"},{"include":"#storage_type_record"},{"include":"#storage_type_let"},{"include":"#storage_type_mapping"},{"include":"#inside_braces"},{"include":"#type_params"},{"include":"#function_parameters"},{"include":"#console_methods"},{"include":"#script_keyword"}],"repository":{"address_literal":{"name":"constant.other.address.leo","match":"\\baleo1[A-z0-9]*"},"async_keyword":{"match":"\\b(async)\\s+((\\btransition\\b)|(\\bfunction\\b)|(\\binline\\b))\\b\\s+\\w+\\s*\\(","captures":{"1":{"name":"storage.type.async.leo"},"3":{"name":"storage.type.transition.leo"},"4":{"name":"storage.type.function.leo"},"5":{"name":"storage.type.inline.leo"}}},"block_comment":{"name":"comment.block.leo","begin":"/\\*","end":"\\*/"},"boolean_constant":{"name":"constant.language.boolean.leo","match":"\\b(true|false)\\b"},"built-in_core_assign":{"name":"storage.type.assign.leo","match":"\\b(([0-9][0-9_]*)(group|field|scalar))"},"circuit_attribute":{"match":"\\b([a-zA-Z_]\\w*)\\s*:(?!:)","captures":{"1":{"name":"entity.other.attribute.name"}}},"circuit_call":{"begin":"(?\u003c=^|\\s)([a-zA-Z_]\\w*)\\s*\\{","end":"\\}","patterns":[{"include":"#circuit_attribute"},{"include":"#inside_braces"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#core_types"},{"include":"#integer_literal"},{"include":"#address_literal"},{"include":"#built-in_core_assign"},{"include":"#boolean_constant"},{"include":"#control_keyword"},{"include":"#storage_type_public"},{"include":"#storage_type_private"},{"include":"#storage_type_constant"},{"include":"#storage_type_record"},{"include":"#storage_type_let"},{"include":"#string_literal"},{"include":"#invoking_attribute"},{"include":"#console_methods"},{"include":"#future_type"},{"include":"#future_type_parameters"}],"beginCaptures":{"1":{"name":"entity.name.struct.leo"}}},"circuit_static_call":{"match":"(\\w+)\\s*::\\s*(\\w+)","captures":{"1":{"name":"entity.name.struct.leo"},"2":{"name":"entity.name.function.static.leo"}}},"conditional_statement":{"begin":"(?\u003c=^|\\s)(if|else\\s*if)\\s+\\w+","end":"\\}","patterns":[{"include":"#conditional_statement"},{"include":"#statement_return"},{"include":"#variable_declaration"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#core_types"},{"include":"#integer_literal"},{"include":"#address_literal"},{"include":"#built-in_core_assign"},{"include":"#boolean_constant"},{"include":"#control_keyword"},{"include":"#storage_type_public"},{"include":"#storage_type_private"},{"include":"#storage_type_constant"},{"include":"#storage_type_record"},{"include":"#storage_type_let"}],"beginCaptures":{"1":{"name":"keyword.control.leo"}}},"console_methods":{"match":"\\b(assert|assert_eq|assert_neq)\\b","captures":{"1":{"name":"support.function.console.leo"}}},"control_keyword":{"name":"keyword.control.leo","match":"\\b(else|if|in|for|as)\\b"},"core_types":{"name":"storage.type.core.leo","match":"\\b(bool|field|scalar|u8|u16|u32|u64|u128|i8|i16|i32|i64|i128|string|address|signature|group|integer)\\b"},"custom_type_identifier":{"match":"\\b([a-zA-Z_]\\w*)(?=\\s*[\\],;)=\\{])","captures":{"1":{"name":"entity.name.type.custom.leo"}}},"function_attribute":{"match":"\\b(\\w*)\\b\\s*:","captures":{"1":{"name":"variable.parameter.leo"}}},"function_call":{"match":"\\b([a-zA-Z_]\\w*)\\s*(?=\\()","captures":{"1":{"name":"entity.name.function.call.leo"}}},"function_declaration":{"name":"function.declaration.leo","match":"(?:(?\u003c=\\btransition\\b)|(?\u003c=\\bfunction\\b)|(?\u003c=\\binline\\b))\\s+(\\w+)\\s*\\(","captures":{"1":{"name":"entity.name.function.leo"},"2":{"name":"entity.name.function.leo"}}},"function_keyword":{"name":"storage.type.function.leo","match":"\\b(function)\\b"},"function_parameters":{"begin":"(?:(async)\\s*(function|transition|inline))\\s+(\\w+)\\s*\\(|(?:(function|transition|inline))\\s+(\\w+)\\s*\\(","end":"\\)","patterns":[{"include":"#function_attribute"},{"include":"#integer_literal"},{"include":"#boolean_constant"},{"include":"#core_types"},{"include":"#storage_type_public"},{"include":"#storage_type_private"},{"include":"#storage_type_constant"},{"include":"#storage_type_record"},{"include":"#line_comment"},{"include":"#block_comment"},{"include":"#future_type"},{"include":"#future_type_parameters"},{"include":"#custom_type_identifier"}],"beginCaptures":{"1":{"name":"storage.type.async.leo"},"2":{"name":"storage.type.function.leo"},"3":{"name":"entity.name.function.leo"},"4":{"name":"storage.type.function.leo"},"5":{"name":"entity.name.function.leo"}}},"future_type":{"match":"\\b(Future)\\b","captures":{"1":{"name":"storage.type.future.leo"}}},"future_type_parameters":{"begin":"(?\u003c=Future)\\s*(\\\u003c)","end":"(\\\u003e)","patterns":[{"begin":"(Fn)","end":"(\\))","patterns":[{"begin":"(\\()","end":"(?=\\))","patterns":[{"include":"#core_types"},{"include":"#integer_literal"},{"include":"#future_type"},{"include":"#future_type_parameters"}],"beginCaptures":{"1":{"name":"storage.type.future.parantesis.leo"}}}],"beginCaptures":{"1":{"name":"storage.type.future.leo"}},"endCaptures":{"1":{"name":"storage.type.future.parantesis.leo"}}}],"beginCaptures":{"1":{"name":"storage.type.future.angle.brackets.leo"}},"endCaptures":{"1":{"name":"storage.type.future.angle.brackets.leo"}}},"import_file":{"name":"entity.name.type.import.leo","match":"(?\u003c=\\bimport\\b)\\s+\\b\\w+\\b\\s*\\.\\s*\\b\\w+\\b\\s*(?=;)"},"import_keyword":{"name":"keyword.control.import.leo","match":"\\b(import)\\b"},"inline_keyword":{"name":"storage.type.inline.leo","match":"\\b(inline)\\b"},"inside_braces":{"name":"punctuation.braces.leo","begin":"\\{","end":"\\}","patterns":[{"include":"#conditional_statement"},{"include":"#control_keyword"},{"include":"#variable_declaration"},{"include":"#statement_for_iterator_type"},{"include":"#return_type"},{"include":"#statement_return"},{"include":"#function_call"},{"include":"#mapping_declaration"},{"include":"#function_parameters"},{"include":"#function_declaration"},{"include":"#async_keyword"},{"include":"#function_keyword"},{"include":"#struct_keyword"},{"include":"#program_keyword"},{"include":"#transition_keyword"},{"include":"#script_keyword"},{"include":"#inline_keyword"},{"include":"#record_strucut_definition"},{"include":"#storage_type_mapping"},{"include":"#import_file"},{"include":"#program_file"},{"include":"#inside_braces"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#integer_literal"},{"include":"#circuit_static_call"},{"include":"#circuit_call"},{"include":"#core_types"},{"include":"#address_literal"},{"include":"#built-in_core_assign"},{"include":"#boolean_constant"},{"include":"#storage_type_public"},{"include":"#storage_type_private"},{"include":"#storage_type_constant"},{"include":"#storage_type_const"},{"include":"#storage_type_record"},{"include":"#storage_type_let"},{"include":"#string_literal"},{"include":"#invoking_attribute"},{"include":"#console_methods"},{"include":"#type_params"},{"include":"#method_name_call"},{"include":"#console_methods"},{"include":"#future_type"},{"include":"#future_type_parameters"},{"name":"support.other.annotation.leo","match":"@[a-zA-Z][a-zA-Z0-9_]*"}]},"integer_literal":{"name":"constant.numeric.decimal.leo","match":"\\b([0-9][0-9_]*|0b[0-1_]+|0o[0-7_]+|0x[0-9A-F_]+)([ui](8|16|32|64|128))?\\b"},"invoking_attribute":{"match":"(?\u003c=\\.)(?\u003c!\\.\\.)(\\w+(?=\\.)|\\b\\w+\\b(?!\\())","captures":{"1":{"name":"entity.other.attribute.name"}}},"line_comment":{"name":"comment.line.double-slash.leo","begin":"//","end":"$"},"mapping_declaration":{"begin":"(?\u003c=\\bmapping\\b)\\s+\\w+\\:s*","end":"$","patterns":[{"include":"#core_types"},{"include":"#integer_literal"},{"include":"#future_type"},{"include":"#future_type_parameters"},{"include":"#block_comment"},{"include":"#line_comment"}]},"method_name_call":{"match":"\\w+\\s*\\.\\s*([a-zA-Z][a-zA-Z0-9_]*)\\s*","captures":{"1":{"name":"entity.name.struct.attribute.leo"}}},"program_file":{"name":"entity.name.type.program.leo","match":"(?\u003c=\\bprogram\\b)\\s+\\b\\w+\\b\\s*\\.\\s*\\baleo\\b\\s*(?={)"},"program_keyword":{"name":"storage.type.program.leo","match":"\\b(program)\\b"},"record_strucut_definition":{"begin":"(?:(?\u003c=\\brecord\\b)|(?\u003c=\\bstruct\\b))\\s+\\b\\w+\\b\\s*\\{","end":"\\}","patterns":[{"include":"#circuit_attribute"},{"include":"#inside_braces"},{"include":"#core_types"},{"include":"#integer_literal"},{"include":"#built-in_core_assign"},{"include":"#boolean_constant"},{"include":"#control_keyword"},{"include":"#storage_type_public"},{"include":"#storage_type_private"},{"include":"#storage_type_constant"},{"include":"#storage_type_let"},{"include":"#string_literal"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#invoking_attribute"},{"include":"#type_params"},{"include":"#circuit_static_call"},{"include":"#circuit_call"},{"include":"#function_parameters"},{"include":"#console_methods"},{"include":"#future_type"},{"include":"#future_type_parameters"}]},"return_type":{"begin":"-\u003e","end":"(?={)","patterns":[{"include":"#core_types"},{"include":"#storage_type_public"},{"include":"#storage_type_private"},{"include":"#storage_type_constant"},{"include":"#integer_literal"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#future_type"},{"include":"#future_type_parameters"},{"include":"#custom_type_identifier"}]},"script_keyword":{"name":"storage.type.script.leo","match":"\\b(script)\\b"},"statement_for_iterator_type":{"begin":"(?\u003c=for)\\s*\\w+:\\s*","end":"(?=in)","patterns":[{"include":"#core_types"},{"include":"#future_type"},{"include":"#future_type_parameters"}]},"statement_return":{"begin":"\\b(return)\\b","end":";","patterns":[{"include":"#integer_literal"},{"include":"#address_literal"},{"include":"#built-in_core_assign"},{"include":"#boolean_constant"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#method_name_call"},{"include":"#invoking_attribute"},{"include":"#circuit_call"},{"include":"#function_call"}],"beginCaptures":{"1":{"name":"keyword.control.leo"}}},"storage_type_const":{"name":"storage.type.const.leo","match":"\\b(const)\\b"},"storage_type_constant":{"name":"storage.type.constant.leo","match":"\\b(constant)\\b"},"storage_type_let":{"name":"storage.type.let.leo","match":"\\b(let)\\b"},"storage_type_mapping":{"name":"storage.type.mapping.leo","match":"\\b(mapping)\\b"},"storage_type_private":{"name":"storage.type.private.leo","match":"\\b(private)\\b"},"storage_type_public":{"name":"storage.type.public.leo","match":"\\b(public)\\b"},"storage_type_record":{"name":"storage.type.record.leo","match":"\\b(record)\\b"},"string_literal":{"name":"string.quoted.double.leo","begin":"\"","end":"\""},"struct_keyword":{"name":"storage.type.struct.leo","match":"\\b(struct)\\b"},"transition_keyword":{"name":"storage.type.transition.leo","match":"\\b(transition)\\b"},"variable_declaration":{"begin":"(?:(?\u003c=\\blet|const\\b))\\s*\\w+\\s*\\:\\s*","end":"\\=","patterns":[{"include":"#core_types"},{"include":"#integer_literal"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#future_type"},{"include":"#future_type_parameters"},{"include":"#custom_type_identifier"}]}}}
|
|
1
|
+
{"name":"leo","scopeName":"source.leo","patterns":[{"include":"#comments"},{"include":"#annotations"},{"include":"#program_declaration"},{"include":"#import_declaration"},{"include":"#function_declaration"},{"include":"#type_declaration"},{"include":"#address_literal"},{"include":"#suffix_literal"},{"include":"#numeric_literal"},{"include":"#string_literal"},{"include":"#identifier_literal"},{"include":"#language_constants"},{"include":"#language_variables"},{"include":"#assertions"},{"include":"#declaration_keywords"},{"include":"#modifier_keywords"},{"include":"#control_keywords"},{"include":"#special_types"},{"include":"#primitive_types"},{"include":"#program_id"},{"include":"#function_call"},{"include":"#operators"}],"repository":{"address_literal":{"name":"constant.other.address.leo","match":"\\baleo1[a-z0-9]+\\b"},"annotations":{"match":"(@)\\s*([A-Za-z_][A-Za-z0-9_]*)","captures":{"1":{"name":"punctuation.definition.annotation.leo"},"2":{"name":"entity.name.decorator.leo"}}},"assertions":{"name":"support.function.builtin.leo","match":"(?\u003c!\\.)\\b(assert_eq|assert_neq|assert)\\b"},"comments":{"patterns":[{"name":"comment.line.double-slash.leo","match":"//.*$"},{"name":"comment.block.leo","begin":"/\\*","end":"\\*/"}]},"control_keywords":{"patterns":[{"name":"keyword.control.leo","match":"(?\u003c!\\.)\\b(if|else|for|in|return)\\b"},{"name":"keyword.operator.cast.leo","match":"(?\u003c!\\.)\\b(as)\\b"}]},"declaration_keywords":{"name":"storage.type.leo","match":"(?\u003c!\\.)\\b(fn|struct|record|interface|mapping|storage|const|let|constructor)\\b"},"function_call":{"match":"\\b([A-Za-z_][A-Za-z0-9_]*)\\s*(?=\\()","captures":{"1":{"name":"entity.name.function.call.leo"}}},"function_declaration":{"match":"\\b(fn)\\s+([A-Za-z][A-Za-z0-9_]*)","captures":{"1":{"name":"storage.type.function.leo"},"2":{"name":"entity.name.function.leo"}}},"identifier_literal":{"name":"string.quoted.single.leo","match":"'[A-Za-z][A-Za-z0-9_]*'"},"import_declaration":{"match":"\\b(import)\\s+([A-Za-z][A-Za-z0-9_]*)\\s*(\\.)\\s*(aleo)\\b","captures":{"1":{"name":"keyword.control.import.leo"},"2":{"name":"entity.name.namespace.leo"},"3":{"name":"punctuation.accessor.leo"},"4":{"name":"keyword.other.network.leo"}}},"language_constants":{"name":"constant.language.leo","match":"(?\u003c!\\.)\\b(true|false|none)\\b"},"language_variables":{"name":"variable.language.leo","match":"(?\u003c!\\.)\\b(self|block|network)\\b"},"modifier_keywords":{"name":"storage.modifier.leo","match":"(?\u003c!\\.)\\b(export|final|view|public|private|constant|dyn)\\b"},"numeric_literal":{"name":"constant.numeric.leo","match":"\\b(0x[0-9a-fA-F_]+|0o[0-7_]+|0b[01_]+|[0-9][0-9_]*)(u8|u16|u32|u64|u128|i8|i16|i32|i64|i128)?\\b"},"operators":{"name":"keyword.operator.leo","match":"-\u003e|=\u003e|::|\\.\\.=?|\\*\\*=?|\u003c\u003c=?|\u003e\u003e=?|\u0026\u0026=?|\\|\\|=?|==|!=|\u003c=|\u003e=|[+\\-*/%\u0026|^]=?|[\u003c\u003e!?=]"},"primitive_types":{"name":"support.type.leo","match":"(?\u003c!\\.)\\b(address|bool|field|group|scalar|signature|string|identifier|i8|i16|i32|i64|i128|u8|u16|u32|u64|u128)\\b"},"program_declaration":{"match":"\\b(program)\\s+([A-Za-z][A-Za-z0-9_]*)\\s*(\\.)\\s*(aleo)\\b","captures":{"1":{"name":"keyword.other.program.leo"},"2":{"name":"entity.name.namespace.leo"},"3":{"name":"punctuation.accessor.leo"},"4":{"name":"keyword.other.network.leo"}}},"program_id":{"match":"\\b([A-Za-z][A-Za-z0-9_]*)\\s*(\\.)\\s*(aleo)\\b","captures":{"1":{"name":"entity.name.namespace.leo"},"2":{"name":"punctuation.accessor.leo"},"3":{"name":"keyword.other.network.leo"}}},"special_types":{"name":"support.type.leo","match":"(?\u003c!\\.)\\b(Final|Fn|Future)\\b"},"string_literal":{"name":"string.quoted.double.leo","begin":"\"","end":"\""},"suffix_literal":{"name":"constant.numeric.leo","match":"\\b(0x[0-9a-fA-F_]+|0o[0-7_]+|0b[01_]+|[0-9][0-9_]*)(field|group|scalar)\\b"},"type_declaration":{"match":"\\b(struct|record|interface)\\s+([A-Za-z][A-Za-z0-9_]*)","captures":{"1":{"name":"storage.type.leo"},"2":{"name":"entity.name.type.leo"}}}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"Lobster","scopeName":"source.lobster","patterns":[{"include":"#comments"},{"include":"#statements"},{"include":"#keywords"},{"include":"#strings"},{"include":"#digits"},{"include":"#ident"}],"repository":{"comments":{"patterns":[{"name":"comment.block.source.lobster","begin":"/\\*","end":"\\*/"},{"name":"comment.line.double-slash.lobster","match":"//.*$"}]},"digits":{"patterns":[{"name":"constant.numeric.hex.lobster","match":"(?\u003c![\\w\\d.])0x[[:xdigit:]]+"},{"name":"constant.numeric.integer.lobster","match":"(?\u003c![\\w\\d.])\\d+(?![.])"},{"name":"constant.numeric.float.lobster","match":"(\\d+)?\\.(\\d+)?"}]},"ident":{"patterns":[{"name":"variable.source.lobster","match":"[A-Za-z_][A-Za-z0-9_]*"}]},"keywords":{"patterns":[{"name":"keyword.source.lobster","match":"\\b(constructor|abstract|member|member_frame|static|static_frame|attribute|break|return|struct|class|import|namespace|pakfile|def|is|from|program|private|enum|enum_flags|typeof|var|let|not|and|or)\\b"},{"name":"storage.type.source.lobster","match":"\\b(int|float|string|bool|void|resource)\\b"},{"name":"constant.language.source.lobster","match":"\\b(nil|true|false)\\b"},{"name":"keyword.control.source.lobster","match":"\\b(break|return|from)\\b"},{"name":"keyword.control.source.lobster","match":"\\b(else|elif)\\b"},{"name":"keyword.control.source.lobster","match":"\\b(guard|if|while|switch|case|default|collectwhile|for|filter|exists|map)\\b"},{"name":"support.function.source.lobster","match":"\\b(abs|acos|all|any|append|append_into|asin|assert|atan|atan2|binary_search|binary_search_first_field_object|binary_search_first_field_string|binary_search_object|breakpoint|call_function_value|cardinal_spline|ceiling|cg.average_face_colors|cg.average_surface_color|cg.bounding_box|cg.chunks_skipped|cg.clone|cg.color_to_palette|cg.copy|cg.create_3d_texture|cg.create_mesh|cg.erode|cg.get|cg.get_buf|cg.get_palette|cg.get_palette_storage_buf|cg.get_palette_storage_len|cg.init|cg.load_image|cg.load_palette|cg.load_vox|cg.load_vox_names|cg.name|cg.normal_indices|cg.num_solid|cg.offset|cg.palette_storage_index|cg.palette_to_color|cg.randomize|cg.rotate|cg.sample_down|cg.save_vox|cg.scale_up|cg.set|cg.set_palette|cg.simplex|cg.size|cg.stretch|circles_within_range|clamp|command_line_arguments|compare_substring|compile_run_code|compile_run_file|concat_string|copy|cos|crash_test_cpp_nullptr_exception|cross|date_time|date_time_build_info|date_time_string|date_time_string_format|deepcopy|degrees|delete_file|div|dot|ensure_size|equal|escape_string|exists_file|find_string|find_string_reverse|flatbuffers.binary_to_json|flatbuffers.field_float32|flatbuffers.field_float64|flatbuffers.field_int16|flatbuffers.field_int32|flatbuffers.field_int64|flatbuffers.field_int8|flatbuffers.field_present|flatbuffers.field_string|flatbuffers.field_struct|flatbuffers.field_table|flatbuffers.field_uint16|flatbuffers.field_uint32|flatbuffers.field_uint64|flatbuffers.field_uint8|flatbuffers.field_vector|flatbuffers.field_vector_len|flatbuffers.indirect|flatbuffers.json_to_binary|flatbuffers.string|flexbuffers_binary_to_json|flexbuffers_binary_to_value|flexbuffers_json_to_binary|flexbuffers_value_to_binary|float|floor|fraction|get_line|get_memory_usage|get_stack_trace|gl.animate_mesh|gl.animate_mesh_blend|gl.bind_buffer_object|gl.bind_mesh_to_compute|gl.blend|gl.button|gl.circle|gl.clear|gl.color|gl.controller_axis|gl.copy_buffer_object|gl.create_blank_texture|gl.create_colored_texture|gl.create_texture|gl.create_texture_single_channel|gl.create_time_query|gl.cull_front|gl.cursor|gl.debug_grid|gl.delta_time|gl.delta_time_rolling|gl.dispatch_compute|gl.dpi|gl.dropped_file|gl.dump_shader|gl.end_text_input|gl.frame|gl.framebuffer_size|gl.fullscreen|gl.generate_texture_mipmap|gl.get_char_code|gl.get_font_size|gl.get_glyph_name|gl.get_outline_size|gl.get_shader|gl.grab|gl.hit|gl.init_controller_database|gl.joy_axis|gl.key_repeat|gl.last_pos|gl.last_time|gl.light|gl.line|gl.line_mode|gl.load_materials|gl.load_texture|gl.local_last_pos|gl.local_mouse_pos|gl.mesh_animation_frames|gl.mesh_animations|gl.mesh_parts|gl.mesh_pointsize|gl.mesh_size|gl.model_view|gl.model_view_projection|gl.mouse_delta|gl.mouse_pos|gl.mousewheel_delta|gl.new_mesh|gl.new_mesh_iqm|gl.new_poly|gl.open_circle|gl.open_url|gl.origin|gl.ortho|gl.ortho3d|gl.perspective|gl.point_scale|gl.polygon|gl.pop_model_view|gl.projection|gl.push_model_view|gl.read_texture|gl.rect|gl.rect_tc_col|gl.render_mesh|gl.render_tiles|gl.require_version|gl.rotate_x|gl.rotate_y|gl.rotate_z|gl.rounded_rectangle|gl.save_mesh|gl.save_texture|gl.scale|gl.scaling|gl.scissor|gl.screenshot|gl.set_font_name|gl.set_font_size|gl.set_image_texture|gl.set_max_font_size|gl.set_mesh_texture|gl.set_primitive_texture|gl.set_shader|gl.set_text_input|gl.set_texture_flags|gl.set_uniform|gl.set_uniform_array|gl.set_uniform_matrix|gl.shutdown|gl.start_text_input|gl.start_time_query|gl.stop_time_query|gl.switch_to_framebuffer|gl.text|gl.text_input_state|gl.text_size|gl.texture_size|gl.time|gl.touchscreen|gl.translate|gl.unbind_all_textures|gl.unit_cube|gl.unit_square|gl.update_buffer_object|gl.visible|gl.window|gl.window_min_max|gl.window_size|gl.window_title|hash|im.accept_drag_drop_payload|im.add_font|im.button|im.button_repeat_end|im.button_repeat_start|im.calc_text_size|im.checkbox|im.child_end|im.child_start|im.close_current_popup|im.coloredit|im.color_end|im.color_start|im.combo|im.disabled_end|im.disabled_start|im.dockspace_over_viewport|im.drag_drop_source_end|im.drag_drop_source_start|im.drag_drop_target_end|im.drag_drop_target_start|im.edit_anything|im.font_end|im.font_start|im.frame_end|im.frame_start|im.get_content_region_avail|im.get_layout_pos|im.graph|im.group_end|im.group_start|im.id_end|im.id_start|im.image|im.image_button|im.image_mouseclick|im.init|im.input_float|im.input_int|im.input_text|im.input_text_multi_line|im.is_item_deactivated_after_edit|im.listbox|im.menu_bar_end|im.menu_bar_start|im.menu_end|im.menu_item|im.menu_item_toggle|im.menu_start|im.mouse_clicked|im.new_line|im.next_window_pos|im.next_window_size|im.popup_end|im.popup_open|im.popup_start|im.progress_bar|im.radio|im.same_line|im.selectable|im.separator|im.set_drag_drop_payload|im.set_layout_pos|im.set_style_color|im.set_style_frame_padding|im.set_style_inner_spacing|im.set_style_spacing|im.set_style_window_padding|im.show_debug_metrics_window|im.show_engine_stats|im.show_flexbuffer|im.show_vars|im.sliderfloat|im.sliderfloat2|im.sliderfloat3|im.sliderfloat4|im.sliderint|im.sliderint2|im.sliderint3|im.sliderint4|im.tab_bar_end|im.tab_bar_start|im.tab_end|im.table_end|im.table_headers_row|im.table_next_column|im.table_next_row|im.table_setup_column|im.table_start|im.tab_start|im.text|im.text_table|im.text_wrapped|im.tooltip|im.tooltip_multi_end|im.tooltip_multi_start|im.treenode_end|im.treenode_start|im.width_end|im.width_start|im.window_demo|im.window_end|im.window_start|in_range|insert|int|is_worker_thread|launch_subprocess|length|lerp|line_intersect|load_ogg|load_sfxr|load_wav|lobster_binary_to_value|lobster_value_to_binary|log|log2|lowercase|magnitude|magnitude_squared|manhattan|matrix.multiply|matrix.rotate_x|matrix.rotate_y|matrix.rotate_z|matrix.translation|max|mg.color|mg.convert_to_cubes|mg.cube|mg.cylinder|mg.landscape|mg.polygonize|mg.pop_transform|mg.push_transform|mg.rotate|mg.scale|mg.scale_vec|mg.set_color_noise|mg.set_point_mode|mg.set_polygon_reduction|mg.set_vertex_randomize|mg.smooth|mg.sphere|mg.superquadric|mg.superquadric_non_uniform|mg.supertoroid|mg.tapered_cylinder|mg.translate|min|music_fade_out|music_halt|music_is_playing|music_pause|music_resume|music_set_general_volume|music_volume|normalize|number_to_string|parse_data|pass|ph.apply_linear_impulse_to_center|ph.create_box|ph.create_circle|ph.create_particle|ph.create_particle_circle|ph.create_polygon|ph.delete_particle|ph.dynamic|ph.get_mass|ph.getparticle_position|ph.get_position|ph.initialize|ph.initialize_particles|ph.particle_contacts|ph.raycast|ph.render|ph.render_particles|ph.set_color|ph.set_linear_velocity|ph.set_shader|ph.set_texture|ph.step|play_music|play_music_cross_fade|play_music_fade_in|play_ogg|play_sfxr|play_wav|pop|popcount|pow|print|program_name|push|radians|read_file|read_float32_le|read_float32_le_back|read_float64_le|read_float64_le_back|read_int16_le|read_int16_le_back|read_int32_le|read_int32_le_back|read_int64_le|read_int64_le_back|read_int8_le|read_int8_le_back|read_uint16_le|read_uint16_le_back|read_uint32_le|read_uint32_le_back|read_uint64_le|read_uint64_le_back|read_uint8_le|read_uint8_le_back|reference_count|remove|remove_obj|remove_range|rename_file|repeat_string|replace_string|rnd|rnd_float|rnd_gaussian|rndm|rndm_seed|rnd_seed|round|scan_folder|seconds_elapsed|set_console|set_exit_code|set_output_level|set_print_decimals|set_print_depth|set_print_indent|set_print_length|set_print_quoted|sign|simplex|simplex_raw|sin|sincos|slice|smootherstep|smoothmin|smoothstep|sound_halt|sound_pause|sound_position|sound_resume|sound_status|sound_time_length|sound_volume|spherical_lerp|sqrt|start_worker_threads|steam.friend_get_username|steam.get_steam_id|steam.init|steam.lobby_create|steam.lobby_delete_data|steam.lobby_get_all_data|steam.lobby_get_all_joined|steam.lobby_get_created|steam.lobby_get_data|steam.lobby_get_game_server|steam.lobby_get_joined|steam.lobby_get_members|steam.lobby_get_num_members|steam.lobby_join|steam.lobby_leave|steam.lobby_request_add_numerical_filter|steam.lobby_request_add_result_count_filter|steam.lobby_request_add_string_filter|steam.lobby_request_data|steam.lobby_request_get_lobbies|steam.lobby_request_is_ready|steam.lobby_request_list|steam.lobby_request_list_reset|steam.lobby_set_data|steam.lobby_set_game_server|steam.lobby_set_joinable|steam.net_identity|steam.net_identity_from_steam_id|steam.overlay|steam.p2p_broadcast_message|steam.p2p_close_connection|steam.p2p_close_listen|steam.p2p_connect|steam.p2p_get_connections|steam.p2p_get_connection_status|steam.p2p_listen|steam.p2p_receive_messages|steam.p2p_send_message|steam.p2p_set_recv_buffer_size|steam.p2p_set_send_buffer_size|steam.read_file|steam.shutdown|steam.unlock_achievement|steam.update|steam.username|steam.write_file|stop_worker_threads|string|string_to_float|string_to_int|string_to_unicode|substring|tan|text_to_speech|text_to_speech_stop|thread_check|thread_information|thread_read|thread_write|tokenize|top|trace_bytecode|type_element_string|type_field_count|type_field_name|type_field_string|type_field_value|type_id|type_string|unicode_to_string|uppercase|vector_capacity|vector_to_buffer|vm_compiled_mode|volume|vr.create_motion_controller_mesh|vr.finish|vr.hmd_vec|vr.init|vr.motion_controller|vr.motion_controller_button|vr.motioncontrollerstracking|vr.motion_controller_vec|vr.num_motion_controllers|vr.set_eye_texture|vr.start|vr.start_eye|wave_function_collapse|workers_alive|write_file|write_float32_le|write_float32_le_back|write_float64_le|write_float64_le_back|write_int16_le|write_int16_le_back|write_int32_le|write_int32_le_back|write_int64_le|write_int64_le_back|write_int8_le|write_int8_le_back|write_substring|write_substring_back)\\b"},{"name":"keyword.control.source.lobster","match":"\\b(forever|fold|reduce|connect|reducerev|filterindices|find|reverse|split|qsort|qsort_in_place|insertion_sort|nest_if|return_after|forbias|forscale|forrange|forrangeincl|try|catch|throw|protect|forxy|mapxy)\\b"},{"name":"support.function.source.lobster","match":"\\b(sum|product|zip|reverselist|in_range|collect|fatal|check|allint|vecfromyawpitch|inrange2d|rotate2D|camera_FPS_update|camera_FPS_view|camera_direction|camera_2d_worldspace)\\b"},{"name":"support.type.source.lobster","match":"\\b(xy|xy_i|xy_f|xyz|xyz_i|xyz_f|xyzw|xyzw_i|xyzw_f|color)\\b"},{"name":"support.constant.source.lobster","match":"\\b(xy_0|xy_1|xy_h|xy_x|xy_y|xy_z|xy_w|xy_xy|xy_0i|xy_1i|xy_xi|xy_yi|xy_zi|xy_wi|color_black|color_white|color_red|color_green|color_blue|color_yellow|color_cyan|color_pink|color_grey|color_dark_grey|color_light_grey|color_lightest_grey|color_darkest_grey|color_dark_red|color_dark_green|color_dark_blue|color_light_red|color_light_green|color_light_blue|color_olive|color_teal|color_purple|color_orange|color_chartreuse|color_springgreen|color_dodgerblue|color_pink_violet|color_blue_violet)\\b"},{"name":"keyword.operator.lobster","match":"(?\u003c![+])\\+{1,2}|(?\u003c![-])\\-{1,2}|\\+=|-=|%|%\\=|\\*|\\*\\=|\\/|\\/\\=|\\^|==?|\\!=|\u003c=?|\u003e=?|(?\u003c!\\.)\\.{2}(?!\\.)"}]},"statements":{"patterns":[{"name":"variable.assignment.lobster","begin":"\\b(let|var)\\s+","end":"=","patterns":[{"name":"variable.name.lobster","match":"[a-zA-Z_][a-zA-Z0-9_]*"},{"name":"punctuation.separator.arguments.lobster","match":","}],"beginCaptures":{"1":{"name":"storage.type.lobster"}},"endCaptures":{"0":{"name":"punctuation.definition.lobster"}}},{"name":"support.function.definition.lobster","begin":"\\b(def|constructor)\\s+([A-Za-z_][A-Za-z0-9_]*)(\\()","end":"\\)(?:\\s*-\u003e\\s*)?((\\[?[A-Za-z_][A-Za-z0-9_]*[A-Za-z_]*\\]?\\??(, ?)?)*?):","patterns":[{"name":"variable.parameter.function.lobster","match":"[A-Za-z_][A-Za-z0-9_]*"},{"match":"(?\u003c![:]):{,2}(int|float|string|resource|any|void|[A-Za-z_][A-Za-z0-9_]*)","captures":{"1":{"name":"storage.type.source.lobster"}}},{"name":"punctuation.separator.arguments.lobster","match":","}],"beginCaptures":{"1":{"name":"keyword.control.lobster"},"2":{"name":"entity.name.function.lobster"},"3":{"name":"punctuation.definition.parameters.begin.lobster"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.lobster"},"1":{"name":"storage.type.source.lobster"}}},{"name":"support.class.definition.lobster","begin":"\\b(class|struct)\\s+([A-Za-z_][A-Za-z0-9_]*)","end":":","beginCaptures":{"1":{"name":"support.class.lobster"},"2":{"name":"entity.name.class.lobster"}}},{"name":"meta.enum.definition.lobster","begin":"\\b(enum|enum_flags)\\s+(\\w+)","end":":","beginCaptures":{"1":{"name":"support.modifier.lobster"},"2":{"name":"entity.name.type.enum.lobster"}},"endCaptures":{"0":{"name":"punctuation.section.enum.end.lobster"}}}]},"strings":{"patterns":[{"name":"string.quoted.triple.lobster","begin":"\"{3}","end":"\"{3}"},{"name":"string.quoted.double.lobster","begin":"\"","end":"\""},{"name":"constant.character.escape.lobster","match":"'(\\\\n|\\\\t|\\\\r|\\\\\"|\\\\'|\\\\x[[:xdigit:]]{2}|\\w|\\\\|)'"}]}}}
|
data/grammars/source.logos.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"Logos","scopeName":"source.logos","patterns":[{"name":"keyword.source.logos","match":"%(init|hook|subclass|group|class|new|ctor|end|config|orig|log|
|
|
1
|
+
{"name":"Logos","scopeName":"source.logos","patterns":[{"name":"keyword.source.logos","match":"%(init|hookf|hook|subclass|group|class|new|ctor|end|config|orig|log|dtor|property|c)"},{"match":"%c\\(([A-Za-z$_]+)\\)","captures":{"1":{"name":"keyword.source.logos"}}},{"include":"source.objc"},{"include":"source.c++"}]}
|