github-linguist 9.6.0 → 9.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/documentation.markdown.injection.haxe.json +1 -1
  3. data/grammars/gno.mod.json +1 -0
  4. data/grammars/inline.hbs.json +1 -1
  5. data/grammars/inline.template.json +1 -1
  6. data/grammars/markdown.glimmer.codeblock.json +1 -1
  7. data/grammars/markdown.goose.codeblock.json +1 -0
  8. data/grammars/markdown.nextflow.codeblock.json +1 -0
  9. data/grammars/markdown.ocaml.codeblock.json +1 -0
  10. data/grammars/markdown.reason.codeblock.json +1 -0
  11. data/grammars/markdown.roc.codeblock.json +1 -0
  12. data/grammars/nextflow.interpolation.injection.json +1 -0
  13. data/grammars/nextflow.script.injection.json +1 -0
  14. data/grammars/source.abl.json +1 -1
  15. data/grammars/source.abnf.json +1 -1
  16. data/grammars/source.action.menhir.json +1 -0
  17. data/grammars/source.aleo.json +1 -0
  18. data/grammars/source.ampl.dat.json +1 -0
  19. data/grammars/source.ampl.json +1 -1
  20. data/grammars/source.apl.json +1 -1
  21. data/grammars/source.armasm.json +1 -0
  22. data/grammars/source.astro.json +1 -1
  23. data/grammars/source.astylerc.json +1 -0
  24. data/grammars/source.atd.json +1 -0
  25. data/grammars/source.avisynth.json +1 -0
  26. data/grammars/source.baml.json +1 -1
  27. data/grammars/source.bbcbasic.json +1 -0
  28. data/grammars/source.bend.json +1 -0
  29. data/grammars/source.bird2.json +1 -0
  30. data/grammars/source.blueprint.json +1 -0
  31. data/grammars/source.bnd.json +1 -1
  32. data/grammars/source.bsl.json +1 -1
  33. data/grammars/source.c++.json +1 -1
  34. data/grammars/source.c.json +1 -1
  35. data/grammars/source.c3.json +1 -1
  36. data/grammars/source.carbon.json +1 -0
  37. data/grammars/source.cedar.json +1 -0
  38. data/grammars/source.cj.json +1 -1
  39. data/grammars/source.cl.json +1 -1
  40. data/grammars/source.clar.json +1 -1
  41. data/grammars/source.cmake.json +1 -1
  42. data/grammars/source.cmd.json +1 -1
  43. data/grammars/source.cmhg.json +1 -0
  44. data/grammars/source.comment-string.wesl.json +1 -1
  45. data/grammars/source.comment-string.wgsl.json +1 -1
  46. data/grammars/source.compact.json +1 -0
  47. data/grammars/source.cram.json +1 -0
  48. data/grammars/source.cs.json +1 -1
  49. data/grammars/source.csswg.json +1 -1
  50. data/grammars/source.cue.json +1 -1
  51. data/grammars/source.curlrc.json +1 -1
  52. data/grammars/source.dart.json +1 -1
  53. data/grammars/source.dataflex.json +1 -0
  54. data/grammars/source.dax.json +1 -0
  55. data/grammars/source.dds.dspf.json +1 -1
  56. data/grammars/source.dds.icff.json +1 -1
  57. data/grammars/source.dds.lf.json +1 -1
  58. data/grammars/source.dds.pf.json +1 -1
  59. data/grammars/source.dds.prtf.json +1 -1
  60. data/grammars/source.deq.json +1 -0
  61. data/grammars/source.ditroff.desc.json +1 -1
  62. data/grammars/source.dm.json +1 -1
  63. data/grammars/source.dml.json +1 -0
  64. data/grammars/source.dune-project.json +1 -0
  65. data/grammars/source.dune-workspace.json +1 -0
  66. data/grammars/source.dune.json +1 -1
  67. data/grammars/source.easycrypt.json +1 -0
  68. data/grammars/source.emacs.lisp.json +1 -1
  69. data/grammars/source.env-spec.json +1 -0
  70. data/grammars/source.erlang.json +1 -1
  71. data/grammars/source.ets.json +1 -0
  72. data/grammars/source.fift.json +1 -0
  73. data/grammars/source.flix.json +1 -1
  74. data/grammars/source.fpp.json +1 -0
  75. data/grammars/source.func.json +1 -0
  76. data/grammars/source.gdscript.json +1 -1
  77. data/grammars/source.gedcom.json +1 -1
  78. data/grammars/source.gitconfig.json +1 -1
  79. data/grammars/source.gjs.json +1 -1
  80. data/grammars/source.gno.json +1 -0
  81. data/grammars/source.goose.json +1 -0
  82. data/grammars/source.graphql.json +1 -1
  83. data/grammars/source.gts.json +1 -1
  84. data/grammars/source.hack.json +1 -1
  85. data/grammars/source.hx.json +1 -1
  86. data/grammars/source.hxml.json +1 -1
  87. data/grammars/source.ice.json +1 -1
  88. data/grammars/source.ifc.json +1 -0
  89. data/grammars/source.indent-profile.json +1 -0
  90. data/grammars/source.ink.json +1 -1
  91. data/grammars/source.jac.json +1 -1
  92. data/grammars/source.jass.json +1 -0
  93. data/grammars/source.julia.console.json +1 -1
  94. data/grammars/source.julia.json +1 -1
  95. data/grammars/source.kcl.json +1 -1
  96. data/grammars/source.kerml.json +1 -0
  97. data/grammars/source.koka.json +1 -1
  98. data/grammars/source.leo.json +1 -1
  99. data/grammars/source.liquidsoap.json +1 -1
  100. data/grammars/source.lobster.json +1 -0
  101. data/grammars/source.logos.json +1 -1
  102. data/grammars/source.lsf.json +1 -0
  103. data/grammars/source.luau.json +1 -1
  104. data/grammars/source.lumscript.json +1 -0
  105. data/grammars/source.m2.json +1 -1
  106. data/grammars/source.maple.json +1 -0
  107. data/grammars/source.metafont.json +1 -0
  108. data/grammars/source.metapost.json +1 -0
  109. data/grammars/source.mi.json +1 -1
  110. data/grammars/source.mo.json +1 -1
  111. data/grammars/source.mojo.json +1 -1
  112. data/grammars/source.moonbit.config.json +1 -1
  113. data/grammars/source.moonbit.json +1 -1
  114. data/grammars/source.ms.json +1 -0
  115. data/grammars/source.nextflow-config.json +1 -0
  116. data/grammars/source.nextflow-groovy.json +1 -1
  117. data/grammars/source.nextflow-log.json +1 -0
  118. data/grammars/source.nextflow.json +1 -1
  119. data/grammars/source.nim.json +1 -1
  120. data/grammars/source.nushell.json +1 -1
  121. data/grammars/source.ocaml.META.json +1 -0
  122. data/grammars/source.ocaml.interface.json +1 -0
  123. data/grammars/source.ocaml.json +1 -1
  124. data/grammars/source.ocaml.menhir.json +1 -0
  125. data/grammars/source.ocaml.merlin.json +1 -0
  126. data/grammars/source.ocaml.mlx.json +1 -0
  127. data/grammars/source.ocaml.oasis.json +1 -0
  128. data/grammars/source.ocaml.ocamlbuild.json +1 -0
  129. data/grammars/source.ocaml.ocamldoc.json +1 -0
  130. data/grammars/source.ocaml.ocamlformat.json +1 -0
  131. data/grammars/source.ocaml.ocamllex.json +1 -0
  132. data/grammars/source.ocaml.opam-install.json +1 -0
  133. data/grammars/source.ocaml.opam.json +1 -0
  134. data/grammars/source.openqasm.json +1 -1
  135. data/grammars/source.opy.json +1 -1
  136. data/grammars/source.paperspecs.json +1 -0
  137. data/grammars/source.pkl.json +1 -1
  138. data/grammars/source.pl.json +1 -0
  139. data/grammars/source.pnlgrp.json +1 -1
  140. data/grammars/source.prisma.json +1 -1
  141. data/grammars/source.qsharp.json +1 -1
  142. data/grammars/source.quint.json +1 -1
  143. data/grammars/source.rarlist.json +1 -0
  144. data/grammars/source.rascal.json +1 -1
  145. data/grammars/source.rascript.json +1 -1
  146. data/grammars/source.reason.json +1 -1
  147. data/grammars/source.rego.json +1 -1
  148. data/grammars/source.rhai.json +1 -0
  149. data/grammars/source.roc.json +1 -1
  150. data/grammars/source.ron.json +1 -1
  151. data/grammars/source.rpg.json +1 -1
  152. data/grammars/source.rpgle.json +1 -1
  153. data/grammars/source.rpm-spec.json +1 -1
  154. data/grammars/source.rust.json +1 -1
  155. data/grammars/source.scala.json +1 -1
  156. data/grammars/source.skip.json +1 -0
  157. data/grammars/source.skript.json +1 -0
  158. data/grammars/source.slice.json +1 -1
  159. data/grammars/source.smithy.json +1 -1
  160. data/grammars/source.spicedb.json +1 -1
  161. data/grammars/source.stim.json +1 -0
  162. data/grammars/source.surrealql.json +1 -1
  163. data/grammars/source.swift.json +1 -1
  164. data/grammars/source.sysml.json +1 -0
  165. data/grammars/source.tablegen.json +1 -0
  166. data/grammars/source.tasm.json +1 -0
  167. data/grammars/source.tlb.json +1 -0
  168. data/grammars/source.tolk.json +1 -0
  169. data/grammars/source.tsp.json +1 -1
  170. data/grammars/source.tsq.json +1 -0
  171. data/grammars/source.tsrx.json +1 -0
  172. data/grammars/source.ucode-template.json +1 -0
  173. data/grammars/source.ucode.json +1 -0
  174. data/grammars/source.uiua.json +1 -0
  175. data/grammars/source.vento.json +1 -1
  176. data/grammars/source.verse.json +1 -0
  177. data/grammars/source.veryl.json +1 -0
  178. data/grammars/source.vespaSchema.json +1 -0
  179. data/grammars/source.vespaYQL.json +1 -0
  180. data/grammars/source.vhs.json +1 -0
  181. data/grammars/source.vim9.json +1 -0
  182. data/grammars/source.wdl.json +1 -1
  183. data/grammars/source.webassembly.json +1 -1
  184. data/grammars/source.wesl.json +1 -1
  185. data/grammars/source.wgsl.json +1 -1
  186. data/grammars/source.yaml.salt.json +1 -1
  187. data/grammars/text.bbcode.json +1 -0
  188. data/grammars/text.html.cobmd.json +1 -0
  189. data/grammars/text.html.ember-handlebars.json +1 -1
  190. data/grammars/text.html.handlebars.json +1 -1
  191. data/grammars/text.html.jte.json +1 -1
  192. data/grammars/text.html.markdown.json +1 -0
  193. data/grammars/text.html.pfm.json +1 -0
  194. data/grammars/text.html.ss.json +1 -0
  195. data/grammars/text.html.statamic.json +1 -1
  196. data/grammars/text.marko.json +1 -1
  197. data/grammars/text.recfile.json +1 -0
  198. data/grammars/text.roff.json +1 -1
  199. data/grammars/text.valve-cfg.json +1 -1
  200. data/grammars/text.vtt.json +1 -1
  201. data/grammars/version +1 -1
  202. data/lib/linguist/VERSION +1 -1
  203. data/lib/linguist/blob_helper.rb +21 -2
  204. data/lib/linguist/documentation.yml +3 -0
  205. data/lib/linguist/generated.rb +99 -8
  206. data/lib/linguist/generic.yml +3 -0
  207. data/lib/linguist/heuristics.yml +239 -62
  208. data/lib/linguist/language.rb +5 -9
  209. data/lib/linguist/languages.yml +610 -30
  210. data/lib/linguist/languages_data.rb +7965 -0
  211. data/lib/linguist/lazy_blob.rb +6 -1
  212. data/lib/linguist/samples.rb +4 -10
  213. data/lib/linguist/samples_data.rb +203998 -0
  214. data/lib/linguist/strategy/modeline.rb +0 -1
  215. data/lib/linguist/vendor.yml +3 -0
  216. metadata +95 -25
  217. data/grammars/markdown.bicep.codeblock.json +0 -1
  218. data/grammars/source.baml-jinja.json +0 -1
  219. data/grammars/source.camlp4.ocaml.json +0 -1
  220. data/grammars/source.ocamllex.json +0 -1
  221. data/grammars/source.ocamlyacc.json +0 -1
  222. data/grammars/source.reason.hover.type.json +0 -1
  223. data/grammars/source.scm.json +0 -1
  224. data/grammars/text.plain.json +0 -1
  225. data/lib/linguist/languages.json +0 -1
  226. 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_]*"}]}}}
@@ -1 +1 @@
1
- {"name":"Julia Console","scopeName":"source.julia.console","patterns":[{"match":"^(julia\u003e)(\\s+.*(?:\\n\\s{6}\\s+.*)*)","captures":{"1":{"name":"punctuation.separator.prompt.julia.console"},"2":{"patterns":[{"include":"source.julia"}]}}},{"match":"^(shell\u003e) (.+)$","captures":{"1":{"name":"punctuation.separator.prompt.shell.julia.console"},"2":{"patterns":[{"include":"source.shell"}]}}},{"match":"^(help\\?\u003e) (.+)$","captures":{"1":{"name":"punctuation.separator.prompt.help.julia.console"},"2":{"patterns":[{"include":"source.julia"}]}}}]}
1
+ {"name":"Julia Console","scopeName":"source.julia.console","patterns":[{"begin":"^(julia\u003e)","end":"^(?!\\s{7})","patterns":[{"include":"source.julia"}],"beginCaptures":{"1":{"name":"entity.name.tag.prompt.julia.console"}}},{"match":"^(shell\u003e) (.+)$","captures":{"1":{"name":"punctuation.separator.prompt.shell.julia.console"},"2":{"patterns":[{"include":"source.shell"}]}}},{"match":"^(help\\?\u003e) (.+)$","captures":{"1":{"name":"punctuation.separator.prompt.help.julia.console"},"2":{"patterns":[{"include":"source.julia"}]}}}]}
@@ -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"}}}]}}}
@@ -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]+"},{"name":"constant.numeric.list.number.KCL","match":"\\-?0[oO][0-7]+"},{"name":"constant.numeric.list.number.KCL","match":"\\-?0[bB][0-1]+"},{"name":"constant.numeric.list.number.KCL","match":"([-+]?\\d+\\.\\d*|\\.\\d+)([eE][-+]?\\d+)?|\\d+([eE][-+]?\\d+)"}]},"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"}]}}}
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"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"KerML","scopeName":"source.kerml","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#quoted-names"},{"include":"#declaration-names"},{"include":"#type-references"},{"include":"#constants"},{"include":"#keywords-declaration"},{"include":"#keywords-control"},{"include":"#keywords-modifier"},{"include":"#keywords-relationship"},{"include":"#keywords-operator"},{"include":"#keywords-other"},{"include":"#keywords-contextual"},{"include":"#qualified-names"},{"include":"#numbers"},{"include":"#operators"}],"repository":{"comments":{"patterns":[{"name":"comment.block.note.source.kerml","begin":"//\\*","end":"\\*/"},{"name":"comment.line.double-slash.source.kerml","match":"//.*$"},{"name":"comment.block.source.kerml","begin":"/\\*","end":"\\*/"}]},"constants":{"name":"constant.language.source.kerml","match":"\\b(?:false|null|true)\\b"},"declaration-names":{"match":"\\b(alias|def|namespace|package)\\s+([A-Za-z_][A-Za-z0-9_]*|'[^']*')","captures":{"1":{"name":"keyword.declaration.source.kerml"},"2":{"name":"entity.name.type.source.kerml"}}},"keywords-contextual":{"name":"keyword.other.contextual.source.kerml","match":"\\b(?:junction|history|shallow|choice|chain|deep|done|var)\\b"},"keywords-control":{"name":"keyword.control.source.kerml","match":"\\b(?:succession|transition|terminate|parallel|exhibit|include|perform|require|satisfy|accept|assert|assign|decide|render|return|after|entry|first|merge|until|while|else|exit|fork|join|loop|send|then|when|for|via|at|do|if|to)\\b"},"keywords-declaration":{"name":"keyword.declaration.source.kerml","match":"\\b(?:multiplicity|verification|interaction|requirement|allocation|classifier|connection|constraint|dependency|occurrence|attribute|connector|interface|metaclass|namespace|predicate|rendering|viewpoint|analysis|behavior|datatype|function|language|metadata|binding|comment|concern|feature|package|action|struct|assoc|class|event|state|calc|case|enum|expr|flow|item|part|port|step|type|view|def|doc|rep)\\b"},"keywords-modifier":{"name":"storage.modifier.source.kerml","match":"\\b(?:individual|composite|nonunique|protected|timeslice|variation|abstract|constant|snapshot|standard|default|derived|library|ordered|portion|private|variant|member|public|const|inout|all|end|new|out|ref|in)\\b"},"keywords-operator":{"name":"keyword.operator.word.source.kerml","match":"\\b(?:defined|hastype|implies|chains|istype|meta|and|not|xor|as|or)\\b"},"keywords-other":{"name":"keyword.other.source.kerml","match":"\\b(?:stakeholder|objective|allocate|connect|message|subject|assume|expose|filter|locale|verify|about|actor|frame|bind|bool|from|inv|use|by|of)\\b"},"keywords-relationship":{"name":"keyword.other.relationship.source.kerml","match":"\\b(?:specialization|subclassifier|redefinition|conjugation|differences|specializes|conjugates|disjoining|intersects|references|conjugate|featuring|inverting|redefines|disjoint|featured|crosses|inverse|subsets|subtype|import|subset|typing|unions|alias|typed)\\b"},"numbers":{"name":"constant.numeric.source.kerml","match":"\\b\\d+(\\.\\d+)?([eE][+-]?\\d+)?\\b"},"operators":{"name":"keyword.operator.source.kerml","match":":\u003e\u003e|::\u003e|:\u003e|=\u003e|-\u003e|\\.\\.|\\*\\*|[=+\\-*/\u003c\u003e!\u0026|^~?@]"},"qualified-names":{"name":"entity.name.namespace.source.kerml","match":"\\b[A-Za-z_][A-Za-z0-9_]*(?=\\s*::)"},"quoted-names":{"name":"entity.name.quoted.source.kerml","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.source.kerml","match":"\\\\."}]},"strings":{"name":"string.quoted.double.source.kerml","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.source.kerml","match":"\\\\."}]},"type-references":{"match":"(:\u003e\u003e|::\u003e|:\u003e|:)\\s*((?:[A-Za-z_][A-Za-z0-9_]*::)*(?:[A-Za-z_][A-Za-z0-9_]*|'[^']*'))","captures":{"1":{"name":"keyword.operator.source.kerml"},"2":{"name":"entity.name.type.source.kerml"}}}}}
@@ -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\\-@]*[\\']*"}}}
@@ -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"}}}}}
@@ -1 +1 @@
1
- {"name":"liquidsoap","scopeName":"source.liquidsoap","patterns":[{"include":"#comments"},{"include":"#bindings"},{"include":"#expressions"}],"repository":{"bindings":{"patterns":[{"match":"\\b(for)[[:space:]]+(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)","captures":{"1":{"name":"keyword.liquidsoap"},"2":{"name":"entity.name.function.binding.liquidsoap"}}},{"match":"\\b(let)[[:space:]]+(eval[[:space:]]+|replaces[[:space:]]+|json\\.parse(?:\\[[^\\]]*\\])?[[:space:]]+|yaml\\.parse(?:\\[[^\\]]*\\])?[[:space:]]+)?(?\u003c!eval|replaces|json\\.parse|yaml\\.parse)(__*|_*[[:alpha:]][[[:alpha:]]0-9_'.]*)[[:space:]]*(?!,|::|[[:space:]])","captures":{"1":{"name":"keyword.other.function.declaration.liquidsoap"},"2":{"name":"storage.modifier.liquidsoap"},"3":{"name":"entity.name.function.binding.liquidsoap"}}},{"begin":"\\b(let)[[:space:]]+\\[","end":"\\]","patterns":[{"include":"#pattern-assignments"}],"beginCaptures":{"1":{"name":"keyword.other.function.declaration.pattern.liquidsoap"}}},{"begin":"\\b(let)[[:space:]]+\\{","end":"\\}","patterns":[{"include":"#pattern-assignments"}],"beginCaptures":{"1":{"name":"keyword.other.function.declaration.pattern.liquidsoap"}}},{"begin":"\\b(let)[[:space:]]+\\(","end":"\\)","patterns":[{"include":"#pattern-assignments"}],"beginCaptures":{"1":{"name":"keyword.other.function.declaration.pattern.liquidsoap"}}},{"begin":"\\b(def)[[:space:]]+(rec[[:space:]]+|replaces[[:space:]]+)?(?\u003c!rec|replaces)(__*|_*[[:alpha:]][[[:alpha:]]0-9_'.]*)","end":"(?\u003c=end)\\b","patterns":[{"include":"#def-params"},{"include":"#function-body"}],"beginCaptures":{"1":{"name":"keyword.other.function.definition.liquidsoap"},"2":{"name":"storage.modifier.liquidsoap"},"3":{"name":"entity.name.function.binding.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.other.function.end.liquidsoap"}}},{"match":"\\b(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*=(?!=)","captures":{"1":{"name":"entity.name.function.binding.liquidsoap"}}}]},"comments":{"patterns":[{"name":"comment.block.liquidsoap","begin":"#\u003c","end":"\u003e#","patterns":[{"include":"#comments-doc"}]},{"name":"comment.line.number-sign.liquidsoap","begin":"#","end":"\\n","patterns":[{"include":"#comments-doc"}]}]},"comments-doc":{"patterns":[{"name":"comment.doc.param.liquidsoap","match":"@param"},{"name":"comment.doc.category.liquidsoap","match":"@category"},{"name":"comment.doc.argsof.liquidsoap","match":"@argsof"}]},"constants":{"patterns":[{"name":"constant.language.boolean.liquidsoap","match":"\\b(true|false)\\b"},{"name":"constant.numeric.decimal.float.liquidsoap","match":"\\b([0-9][0-9_]*?)\\.[0-9][0-9_]*(?!\\})\\b"},{"name":"constant.numeric.hexadecimal.integer.liquidsoap","match":"\\b0(x|X)[0-9][0-9a-fA-F_]+\\b"},{"name":"constant.numeric.octal.integer.liquidsoap","match":"\\b0(o|O)[0-9][0-9_]+\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)[0-9]+h[0-9]+\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b[0-9]+w([0-9]+h?)([0-9]+m?)([0-9]+s?)\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)[0-9]+h([0-9]+m?)([0-9]+s?)\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)([0-9]+h?)[0-9]+m([0-9]+s?)\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)([0-9]+h?)([0-9]+m?)[0-9]+s\\b"},{"name":"constant.numeric.decimal.integer.liquidsoap","match":"\\b[0-9][0-9_]*\\b"}]},"def-param":{"patterns":[{"match":"~(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)","captures":{"1":{"name":"variable.parameter.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"include":"#expressions"}]},"def-params":{"patterns":[{"begin":"[[:space:]]*\\(","end":"\\)","patterns":[{"include":"#def-param"}]}]},"expressions":{"patterns":[{"begin":"(\\?)(?![\\?\\.])","end":"(:)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(if)\\b","end":"\\b(end)\\b","patterns":[{"name":"keyword.control.liquidsoap","match":"\\b(then|else|elsif)\\b"},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(for)\\b","end":"\\b(end)\\b","patterns":[{"name":"keyword.control.liquidsoap","match":"\\b(to|do)\\b"},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(while)\\b","end":"\\b(end)\\b","patterns":[{"name":"keyword.control.liquidsoap","match":"\\b(do)\\b"},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(try)\\b","end":"\\b(end)\\b","patterns":[{"match":"\\b(catch)[[:space:]]+(__*|[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]+(do)\\b","captures":{"1":{"name":"keyword.control.liquidsoap"},"2":{"name":"entity.name.function.binding.liquidsoap"},"3":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(catch)[[:space:]]+(__*|[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]+(:)","end":"(do)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"},"2":{"name":"entity.name.function.binding.liquidsoap"},"3":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(begin)\\b","end":"\\b(end)\\b","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\.?\\{","end":"\\}","patterns":[{"include":"#records"},{"include":"#expressions"}]},{"begin":"\\b(fun)[[:space:]]*\\(","end":"\\)","patterns":[{"include":"#def-param"}],"captures":{"1":{"name":"keyword.other.function.definition.anonymous.liquidsoap"}}},{"name":"meta.function-call.liquidsoap","begin":"\\??\\.?%?(__*|[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*\\(","end":"\\)","patterns":[{"include":"#function-call-arguments"}],"beginCaptures":{"1":{"name":"entity.name.function.liquidsoap"}}},{"match":"(\\??\\.)(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)","captures":{"1":{"name":"keyword.other.liquidsoap"},"2":{"name":"variable.method.liquidsoap"}}},{"name":"meta.type-annotation.liquidsoap","begin":"(:)(?![=:])","end":"\\)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.other.cast.liquidsoap"}}},{"include":"#keywords"},{"include":"#constants"},{"include":"#identifiers"},{"include":"#strings"}]},"function-body":{"patterns":[{"begin":"[[:space:]]*(?:=|\\n)","end":"\\b(end)\\b","patterns":[{"include":"$self"}],"endCaptures":{"1":{"name":"keyword.other.function.end.liquidsoap"}}}]},"function-call-arguments":{"patterns":[{"match":"(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)=","captures":{"1":{"name":"variable.language.arguments.named.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"include":"#expressions"}]},"identifiers":{"patterns":[{"name":"variable.encoder.liquidsoap","match":"%[[:alpha:]][[[:alpha:]]0-9_']*"},{"name":"variable.liquidsoap","match":"\\b(?!r/)(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)"}]},"keywords":{"patterns":[{"name":"keyword.other.liquidsoap","match":"(%ifdef|%ifndef|%ifversion|%ifnversion|%ifencoder|%ifnencoder|%else|%endif)\\b"},{"name":"keyword.control.function.declaration.liquidsoap","match":"-\u003e"},{"name":"keyword.operator.boolean.liquidsoap","match":"\\b(and|or|not)\\b"},{"name":"keyword.operator.spread.liquidsoap","match":"\\.\\.\\."},{"name":"keyword.operator.append.liquidsoap","match":"::"},{"name":"keyword.operator.arithmetic.liquidsoap","match":"[+\\-/*]\\.?"},{"name":"keyword.operator.compare.liquidsoap","match":"(\u003e=|\u003c=|\u003e|\u003c|==|!=)"},{"name":"keyword.operator.set.liquidsoap","match":":="},{"name":"keyword.operator.coalesce.liquidsoap","match":"\\?\\?"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}]},"pattern-assignments":{"patterns":[{"name":"entity.name.function.binding.liquidsoap","match":"\\b(?!r/)(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)"},{"begin":"\\[","end":"\\]","patterns":[{"include":"#pattern-assignments"}]},{"begin":"\\(","end":"\\)","patterns":[{"include":"#pattern-assignments"}]},{"begin":"\\{","end":"\\}","patterns":[{"include":"#pattern-assignments"}]},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"name":"keyword.operator.spread.liquidsoap","match":"\\.\\.\\."}]},"records":{"patterns":[{"match":"\\b(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*=(?!=)","captures":{"1":{"name":"entity.name.method.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"include":"#expressions"}]},"source-type-arguments":{"patterns":[{"match":"\\b([[[:alpha:]]]+)(\\??)[[:space:]]*=[[:space:]]*([[[:alpha:]].]+)(\\([[[:alpha:]]0-9.]+\\))?","captures":{"1":{"name":"storage.type.source.track.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"},"3":{"name":"storage.type.source.format.liquidsoap"},"4":{"name":"storage.type.source.format.params.liquidsoap"}}},{"match":"\\b([[[:alpha:]]]+)(\\??)\\b","captures":{"1":{"name":"storage.type.source.track.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}]},"string-escapes":{"patterns":[{"name":"constant.character.escape.liquidsoap","match":"\\\\."},{"name":"string.interpolation.liquidsoap","begin":"#\\{","end":"\\}","patterns":[{"name":"string.interpolation.escape.liquidsoap","match":"\\\\}"},{"include":"#expressions"}]}]},"strings":{"patterns":[{"name":"string.quoted.double.liquidsoap","begin":"\"","end":"\"","patterns":[{"include":"#string-escapes"}]},{"name":"string.quoted.single.liquidsoap","begin":"'","end":"'","patterns":[{"include":"#string-escapes"}]},{"name":"string.regexp.liquidsoap","begin":"r/","end":"/[gismu]*","patterns":[{"name":"constant.character.escape.liquidsoap","match":"\\\\/"}]},{"name":"string.unquoted.raw.liquidsoap","begin":"\\{([a-z_]*)\\|","end":"\\|\\1\\}"}]},"types":{"patterns":[{"match":"\\b(int|float|unit|bool)(?:(\\?)|\\b)","captures":{"1":{"name":"storage.type.ground.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\b(source)\\(","end":"\\)(\\??)","patterns":[{"include":"#source-type-arguments"}],"beginCaptures":{"1":{"name":"storage.type.source.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"match":"source(\\??)","captures":{"1":{"name":"storage.type.source.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\(","end":"\\)(\\??)","patterns":[{"include":"#types"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}],"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\[","end":"\\](\\??)","patterns":[{"include":"#types"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}],"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\{","end":"\\}(\\??)","patterns":[{"match":"\\b(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*:(?!:)","captures":{"1":{"name":"entity.name.method.liquidsoap"}}},{"include":"#types"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}],"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}}]}}}
1
+ {"name":"liquidsoap","scopeName":"source.liquidsoap","patterns":[{"include":"#comments"},{"include":"#bindings"},{"include":"#expressions"}],"repository":{"bindings":{"patterns":[{"match":"\\b(for)[[:space:]]+(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)","captures":{"1":{"name":"keyword.liquidsoap"},"2":{"name":"entity.name.function.binding.liquidsoap"}}},{"match":"\\b(let)[[:space:]]+(eval[[:space:]]+|replaces[[:space:]]+|json\\.parse(?:\\[[^\\]]*\\])?[[:space:]]+|yaml\\.parse(?:\\[[^\\]]*\\])?[[:space:]]+)?(?\u003c!eval|replaces|json\\.parse|yaml\\.parse)(__*|_*[[:alpha:]][[[:alpha:]]0-9_'.]*)[[:space:]]*(?!,|::|[[:space:]])","captures":{"1":{"name":"keyword.other.function.declaration.liquidsoap"},"2":{"name":"storage.modifier.liquidsoap"},"3":{"name":"entity.name.function.binding.liquidsoap"}}},{"begin":"\\b(let)[[:space:]]+\\[","end":"\\]","patterns":[{"include":"#pattern-assignments"}],"beginCaptures":{"1":{"name":"keyword.other.function.declaration.pattern.liquidsoap"}}},{"begin":"\\b(let)[[:space:]]+\\{","end":"\\}","patterns":[{"include":"#pattern-assignments"}],"beginCaptures":{"1":{"name":"keyword.other.function.declaration.pattern.liquidsoap"}}},{"begin":"\\b(let)[[:space:]]+\\(","end":"\\)","patterns":[{"include":"#pattern-assignments"}],"beginCaptures":{"1":{"name":"keyword.other.function.declaration.pattern.liquidsoap"}}},{"begin":"\\b(def)[[:space:]]+(rec[[:space:]]+|replaces[[:space:]]+)?(?\u003c!rec|replaces)(__*|_*[[:alpha:]][[[:alpha:]]0-9_'.]*)","end":"(?\u003c=end)\\b","patterns":[{"include":"#def-params"},{"include":"#function-body"}],"beginCaptures":{"1":{"name":"keyword.other.function.definition.liquidsoap"},"2":{"name":"storage.modifier.liquidsoap"},"3":{"name":"entity.name.function.binding.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.other.function.end.liquidsoap"}}},{"match":"\\b(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*=(?!=)","captures":{"1":{"name":"entity.name.function.binding.liquidsoap"}}}]},"comments":{"patterns":[{"name":"comment.block.liquidsoap","begin":"#\u003c","end":"\u003e#","patterns":[{"include":"#comments-doc"}]},{"name":"comment.line.number-sign.liquidsoap","begin":"#","end":"\\n","patterns":[{"include":"#comments-doc"}]}]},"comments-doc":{"patterns":[{"name":"comment.doc.param.liquidsoap","match":"@param"},{"name":"comment.doc.category.liquidsoap","match":"@category"},{"name":"comment.doc.argsof.liquidsoap","match":"@argsof"}]},"constants":{"patterns":[{"name":"constant.language.boolean.liquidsoap","match":"\\b(true|false)\\b"},{"name":"constant.numeric.decimal.float.liquidsoap","match":"\\b([0-9][0-9_]*?)\\.[0-9][0-9_]*(?!\\})\\b"},{"name":"constant.numeric.hexadecimal.integer.liquidsoap","match":"\\b0(x|X)[0-9][0-9a-fA-F_]+\\b"},{"name":"constant.numeric.octal.integer.liquidsoap","match":"\\b0(o|O)[0-9][0-9_]+\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)[0-9]+h[0-9]+\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b[0-9]+w([0-9]+h?)([0-9]+m?)([0-9]+s?)\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)[0-9]+h([0-9]+m?)([0-9]+s?)\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)([0-9]+h?)[0-9]+m([0-9]+s?)\\b"},{"name":"constant.time.predicate.liquidsoap","match":"\\b([0-9]+w?)([0-9]+h?)([0-9]+m?)[0-9]+s\\b"},{"name":"constant.numeric.decimal.integer.liquidsoap","match":"\\b[0-9][0-9_]*\\b"}]},"def-param":{"patterns":[{"match":"~(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)","captures":{"1":{"name":"variable.parameter.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"include":"#expressions"}]},"def-params":{"patterns":[{"begin":"[[:space:]]*\\(","end":"\\)","patterns":[{"include":"#def-param"}]}]},"expressions":{"patterns":[{"begin":"(\\?)(?![\\?\\.])","end":"(:)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(if)\\b","end":"\\b(end)\\b","patterns":[{"name":"keyword.control.liquidsoap","match":"\\b(then|else|elsif)\\b"},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(for)\\b","end":"\\b(end)\\b","patterns":[{"name":"keyword.control.liquidsoap","match":"\\b(to|do)\\b"},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(while)\\b","end":"\\b(end)\\b","patterns":[{"name":"keyword.control.liquidsoap","match":"\\b(do)\\b"},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(try)\\b","end":"\\b(end)\\b","patterns":[{"match":"\\b(catch)[[:space:]]+(__*|[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]+(do)\\b","captures":{"1":{"name":"keyword.control.liquidsoap"},"2":{"name":"entity.name.function.binding.liquidsoap"},"3":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(catch)[[:space:]]+(__*|[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]+(:)","end":"(do)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"},"2":{"name":"entity.name.function.binding.liquidsoap"},"3":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\b(begin)\\b","end":"\\b(end)\\b","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.control.liquidsoap"}}},{"begin":"\\.?\\{","end":"\\}","patterns":[{"include":"#records"},{"include":"#expressions"}]},{"begin":"\\b(fun)[[:space:]]*\\(","end":"\\)","patterns":[{"include":"#def-param"}],"captures":{"1":{"name":"keyword.other.function.definition.anonymous.liquidsoap"}}},{"name":"meta.function-call.liquidsoap","begin":"\\??\\.?%?(__*|[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*\\(","end":"\\)","patterns":[{"include":"#function-call-arguments"}],"beginCaptures":{"1":{"name":"entity.name.function.liquidsoap"}}},{"match":"(\\??\\.)(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)","captures":{"1":{"name":"keyword.other.liquidsoap"},"2":{"name":"variable.method.liquidsoap"}}},{"name":"meta.type-annotation.liquidsoap","begin":"(:)(?![=:])","end":"\\)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.other.cast.liquidsoap"}}},{"include":"#keywords"},{"include":"#constants"},{"include":"#identifiers"},{"include":"#strings"}]},"function-body":{"patterns":[{"begin":"[[:space:]]*(?:=|\\n)","end":"\\b(end)\\b","patterns":[{"include":"$self"}],"endCaptures":{"1":{"name":"keyword.other.function.end.liquidsoap"}}}]},"function-call-arguments":{"patterns":[{"match":"(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)=","captures":{"1":{"name":"variable.language.arguments.named.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"include":"#expressions"}]},"identifiers":{"patterns":[{"name":"variable.encoder.liquidsoap","match":"%[[:alpha:]][[[:alpha:]]0-9_']*"},{"name":"variable.liquidsoap","match":"\\b(?!r/)(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)"}]},"keywords":{"patterns":[{"name":"keyword.other.liquidsoap","match":"(%ifdef|%ifndef|%ifversion|%ifnversion|%ifencoder|%ifnencoder|%else|%endif)\\b"},{"name":"keyword.control.function.declaration.liquidsoap","match":"-\u003e"},{"name":"keyword.operator.boolean.liquidsoap","match":"\\b(and|or|not)\\b"},{"name":"keyword.operator.spread.liquidsoap","match":"\\.\\.\\."},{"name":"keyword.operator.append.liquidsoap","match":"::"},{"name":"keyword.operator.arithmetic.liquidsoap","match":"[+\\-/*]\\.?"},{"name":"keyword.operator.compare.liquidsoap","match":"(\u003e=|\u003c=|\u003e|\u003c|==|!=)"},{"name":"keyword.operator.set.liquidsoap","match":":="},{"name":"keyword.operator.coalesce.liquidsoap","match":"\\?\\?"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}]},"pattern-assignments":{"patterns":[{"name":"entity.name.function.binding.liquidsoap","match":"\\b(?!r/)(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)"},{"begin":"\\[","end":"\\]","patterns":[{"include":"#pattern-assignments"}]},{"begin":"\\(","end":"\\)","patterns":[{"include":"#pattern-assignments"}]},{"begin":"\\{","end":"\\}","patterns":[{"include":"#pattern-assignments"}]},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"name":"keyword.operator.spread.liquidsoap","match":"\\.\\.\\."}]},"records":{"patterns":[{"match":"\\b(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*=(?!=)","captures":{"1":{"name":"entity.name.method.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","},{"include":"#expressions"}]},"source-type-arguments":{"patterns":[{"match":"\\b([[[:alpha:]]]+)(\\??)[[:space:]]*=[[:space:]]*([[[:alpha:]].]+)(\\([[[:alpha:]]0-9.]+\\))?","captures":{"1":{"name":"storage.type.source.track.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"},"3":{"name":"storage.type.source.format.liquidsoap"},"4":{"name":"storage.type.source.format.params.liquidsoap"}}},{"match":"\\b([[[:alpha:]]]+)(\\??)\\b","captures":{"1":{"name":"storage.type.source.track.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"}}},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}]},"string-escapes":{"patterns":[{"name":"constant.character.escape.liquidsoap","match":"\\\\."},{"name":"string.interpolation.liquidsoap","begin":"#\\{","end":"\\}","patterns":[{"name":"string.interpolation.escape.liquidsoap","match":"\\\\}"},{"include":"#expressions"}]}]},"strings":{"patterns":[{"name":"string.quoted.double.liquidsoap","begin":"\"","end":"\"","patterns":[{"include":"#string-escapes"}]},{"name":"string.quoted.single.liquidsoap","begin":"'","end":"'","patterns":[{"include":"#string-escapes"}]},{"name":"string.regexp.liquidsoap","begin":"r/","end":"/[gismu]*","patterns":[{"name":"constant.character.escape.liquidsoap","match":"\\\\/"}]},{"name":"string.unquoted.raw.liquidsoap","begin":"\\{([a-z_]*)\\|","end":"\\|\\1\\}"}]},"types":{"patterns":[{"begin":"(%typeof)\\(","end":"\\)(\\??)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.other.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"match":"\\b(int|float|unit|bool)(?:(\\?)|\\b)","captures":{"1":{"name":"storage.type.ground.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\b(source)\\(","end":"\\)(\\??)","patterns":[{"include":"#source-type-arguments"}],"beginCaptures":{"1":{"name":"storage.type.source.liquidsoap"}},"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"match":"source(\\??)","captures":{"1":{"name":"storage.type.source.liquidsoap"},"2":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\(","end":"\\)(\\??)","patterns":[{"include":"#types"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}],"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\[","end":"\\](\\??)","patterns":[{"include":"#types"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}],"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}},{"begin":"\\{","end":"\\}(\\??)","patterns":[{"match":"\\b(__*|_*[[:alpha:]][[[:alpha:]]0-9_']*)[[:space:]]*:(?!:)","captures":{"1":{"name":"entity.name.method.liquidsoap"}}},{"include":"#types"},{"name":"keyword.other.liquidsoap punctuation.comma punctuation.separator.comma","match":","}],"endCaptures":{"1":{"name":"keyword.other.liquidsoap"}}}]}}}