github-linguist 7.11.1 → 7.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) hide show
  1. checksums.yaml +4 -4
  2. data/ext/linguist/lex.linguist_yy.c +1123 -623
  3. data/ext/linguist/lex.linguist_yy.h +433 -66
  4. data/ext/linguist/linguist.c +5 -35
  5. data/ext/linguist/linguist.h +0 -18
  6. data/ext/linguist/tokenizer.l +83 -65
  7. data/grammars/annotation.liquidhaskell.haskell.json +1 -1835
  8. data/grammars/config.xcompose.json +1 -80
  9. data/grammars/documentation.markdown.injection.haxe.json +1 -22
  10. data/grammars/etc.json +1 -987
  11. data/grammars/file.lasso.json +1 -702
  12. data/grammars/hidden.manref.json +1 -29
  13. data/grammars/hidden.regexp.injection-shell.json +1 -28
  14. data/grammars/hint.haskell.json +1 -1762
  15. data/grammars/hint.message.haskell.json +1 -1786
  16. data/grammars/hint.type.haskell.json +1 -1759
  17. data/grammars/injections.etc.json +1 -659
  18. data/grammars/inline.prisma.json +1 -55
  19. data/grammars/markdown.hack.codeblock.json +1 -20
  20. data/grammars/markdown.haxe.codeblock.json +1 -26
  21. data/grammars/markdown.hxml.codeblock.json +1 -26
  22. data/grammars/markdown.lean.codeblock.json +1 -0
  23. data/grammars/markdown.plantuml.codeblock.json +1 -26
  24. data/grammars/objdump.x86asm.json +1 -69
  25. data/grammars/source.4dm.json +1 -1156
  26. data/grammars/source.SASLog.json +1 -18
  27. data/grammars/source.abap.json +1 -335
  28. data/grammars/source.abapcds.json +1 -0
  29. data/grammars/source.abl.json +1 -734
  30. data/grammars/source.abnf.json +1 -294
  31. data/grammars/source.actionscript.3.json +1 -1538
  32. data/grammars/source.acucobol.json +1 -13
  33. data/grammars/source.ada.json +1 -133
  34. data/grammars/source.afm.json +1 -1207
  35. data/grammars/source.agc.json +1 -87
  36. data/grammars/source.agda.json +1 -72
  37. data/grammars/source.ahk.json +1 -195
  38. data/grammars/source.al.json +1 -130
  39. data/grammars/source.alloy.json +1 -40
  40. data/grammars/source.ampl.json +1 -151
  41. data/grammars/source.angelscript.json +1 -186
  42. data/grammars/source.antlr.json +1 -295
  43. data/grammars/source.apache-config.json +1 -346
  44. data/grammars/source.apache-config.mod_perl.json +1 -65
  45. data/grammars/source.apl.json +1 -1427
  46. data/grammars/source.applescript.json +1 -1384
  47. data/grammars/source.asl.json +1 -56
  48. data/grammars/source.asn.json +1 -55
  49. data/grammars/source.asp.json +1 -151
  50. data/grammars/source.aspectj.json +1 -960
  51. data/grammars/source.assembly.json +1 -116
  52. data/grammars/source.ats.json +1 -164
  53. data/grammars/source.autoit.json +1 -167
  54. data/grammars/source.avro.json +1 -381
  55. data/grammars/source.awk.json +1 -384
  56. data/grammars/source.ballerina.json +1 -1785
  57. data/grammars/source.basic.json +1 -0
  58. data/grammars/source.batchfile.json +1 -732
  59. data/grammars/source.bdf.json +1 -425
  60. data/grammars/source.befunge.json +1 -34
  61. data/grammars/source.bf.json +1 -30
  62. data/grammars/source.bicep.json +1 -0
  63. data/grammars/source.blitzmax.json +1 -905
  64. data/grammars/source.bnf.json +1 -191
  65. data/grammars/source.boo.json +1 -448
  66. data/grammars/source.boogie.json +1 -0
  67. data/grammars/source.brightauthorproject.json +1 -24
  68. data/grammars/source.brightscript.json +1 -148
  69. data/grammars/source.bsl.json +1 -451
  70. data/grammars/source.bsv.json +1 -277
  71. data/grammars/source.c++.json +1 -436
  72. data/grammars/source.c++.qt.json +1 -29
  73. data/grammars/source.c.ec.json +1 -33
  74. data/grammars/source.c.json +1 -712
  75. data/grammars/source.c.nwscript.json +1 -0
  76. data/grammars/source.c.platform.json +1 -1115
  77. data/grammars/source.c2hs.json +1 -24
  78. data/grammars/source.cabal.json +1 -63
  79. data/grammars/source.cache.cmake.json +1 -70
  80. data/grammars/source.camlp4.ocaml.json +1 -60
  81. data/grammars/source.capnp.json +1 -88
  82. data/grammars/source.ceylon.json +1 -93
  83. data/grammars/source.cfscript.cfc.json +1 -162
  84. data/grammars/source.cfscript.json +1 -737
  85. data/grammars/source.changelogs.rpm-spec.json +1 -91
  86. data/grammars/source.chapel.json +1 -265
  87. data/grammars/source.cirru.json +1 -61
  88. data/grammars/source.clarion.json +1 -146
  89. data/grammars/source.clean.json +1 -222
  90. data/grammars/source.click.json +1 -107
  91. data/grammars/source.clips.json +1 -67
  92. data/grammars/source.clojure.json +1 -429
  93. data/grammars/source.cm.json +1 -49
  94. data/grammars/source.cmake.json +1 -173
  95. data/grammars/source.cobol.json +1 -485
  96. data/grammars/source.coffee.json +1 -1310
  97. data/grammars/source.cool.json +1 -96
  98. data/grammars/source.coq.json +1 -58
  99. data/grammars/source.crystal.json +1 -2694
  100. data/grammars/source.cs.json +1 -4323
  101. data/grammars/source.csound-document.json +1 -175
  102. data/grammars/source.csound-score.json +1 -191
  103. data/grammars/source.csound.json +1 -824
  104. data/grammars/source.css.json +1 -1859
  105. data/grammars/source.css.less.json +1 -536
  106. data/grammars/source.css.mss.json +1 -249
  107. data/grammars/source.css.postcss.sugarss.json +1 -260
  108. data/grammars/source.css.scss.json +1 -1873
  109. data/grammars/source.cuda-c++.json +1 -103
  110. data/grammars/source.curlrc.json +1 -984
  111. data/grammars/source.cwl.json +1 -103
  112. data/grammars/source.cython.json +1 -1912
  113. data/grammars/source.d.json +1 -741
  114. data/grammars/source.dart.json +1 -433
  115. data/grammars/source.data-weave.json +1 -1580
  116. data/grammars/source.desktop.json +1 -86
  117. data/grammars/source.diff.json +1 -153
  118. data/grammars/source.dircolors.json +1 -137
  119. data/grammars/source.direct-x.json +1 -135
  120. data/grammars/source.disasm.json +1 -30
  121. data/grammars/source.ditroff.desc.json +1 -411
  122. data/grammars/source.ditroff.json +1 -1280
  123. data/grammars/source.dm.json +1 -628
  124. data/grammars/source.dmf.json +1 -96
  125. data/grammars/source.dockerfile.json +1 -88
  126. data/grammars/source.dosbox-conf.json +1 -97
  127. data/grammars/source.dot.json +1 -117
  128. data/grammars/source.dylan.json +1 -212
  129. data/grammars/source.ebnf.json +1 -240
  130. data/grammars/source.editorconfig.json +1 -365
  131. data/grammars/source.eiffel.json +1 -133
  132. data/grammars/source.elixir.json +1 -965
  133. data/grammars/source.elm.json +1 -375
  134. data/grammars/source.emacs.lisp.json +1 -1301
  135. data/grammars/source.erlang.json +1 -1647
  136. data/grammars/source.essl.json +1 -37
  137. data/grammars/source.factor.json +1 -252
  138. data/grammars/source.fan.json +1 -341
  139. data/grammars/source.fancy.json +1 -245
  140. data/grammars/source.faust.json +1 -119
  141. data/grammars/source.figctrl.json +1 -252
  142. data/grammars/source.figfont.json +1 -121
  143. data/grammars/source.firestore.json +1 -289
  144. data/grammars/source.fish.json +1 -190
  145. data/grammars/source.fontdir.json +1 -99
  146. data/grammars/source.fontforge.json +1 -355
  147. data/grammars/source.fontinfo.json +1 -0
  148. data/grammars/source.forth.json +1 -84
  149. data/grammars/source.fortran.json +1 -464
  150. data/grammars/source.fortran.modern.json +1 -200
  151. data/grammars/source.fsharp.fsi.json +1 -9
  152. data/grammars/source.fsharp.fsl.json +1 -9
  153. data/grammars/source.fsharp.fsx.json +1 -13
  154. data/grammars/source.fsharp.json +1 -452
  155. data/grammars/source.fstar.json +1 -439
  156. data/grammars/source.futhark.json +1 -167
  157. data/grammars/source.gap.json +1 -163
  158. data/grammars/source.gcode.json +1 -176
  159. data/grammars/source.gdb.json +1 -160
  160. data/grammars/source.gdb.session.json +1 -70
  161. data/grammars/source.gdbregs.json +1 -14
  162. data/grammars/source.gdscript.json +1 -491
  163. data/grammars/source.gedcom.json +1 -196
  164. data/grammars/source.gemfile-lock.json +1 -0
  165. data/grammars/source.generic-db.json +1 -41
  166. data/grammars/source.gerber.json +1 -321
  167. data/grammars/source.gf.json +1 -51
  168. data/grammars/source.gfm.blade.json +1 -15
  169. data/grammars/source.gfm.json +1 -1913
  170. data/grammars/source.gitattributes.json +1 -111
  171. data/grammars/source.gitconfig.json +1 -450
  172. data/grammars/source.gitignore.json +1 -140
  173. data/grammars/source.glsl.json +1 -139
  174. data/grammars/source.gn.json +1 -345
  175. data/grammars/source.gnuplot.json +1 -260
  176. data/grammars/source.go.json +1 -540
  177. data/grammars/source.golo.json +1 -177
  178. data/grammars/source.gosu.2.json +1 -153
  179. data/grammars/source.grace.json +1 -675
  180. data/grammars/source.graphql.json +1 -978
  181. data/grammars/source.gremlin.json +1 -200
  182. data/grammars/source.groovy.gradle.json +1 -69
  183. data/grammars/source.groovy.json +1 -1374
  184. data/grammars/source.hack.json +1 -2595
  185. data/grammars/source.haproxy-config.json +1 -152
  186. data/grammars/source.harbour.json +1 -388
  187. data/grammars/source.haskell.json +1 -1760
  188. data/grammars/source.hc.json +1 -709
  189. data/grammars/source.hgignore.json +1 -34
  190. data/grammars/source.hlsl.json +1 -211
  191. data/grammars/source.hosts.json +1 -40
  192. data/grammars/source.hql.json +1 -492
  193. data/grammars/source.hsc2hs.json +1 -9
  194. data/grammars/source.hsig.json +1 -1760
  195. data/grammars/source.httpspec.json +1 -283
  196. data/grammars/source.hx.argument.json +1 -80
  197. data/grammars/source.hx.json +1 -2428
  198. data/grammars/source.hx.type.json +1 -8
  199. data/grammars/source.hxml.json +1 -59
  200. data/grammars/source.hy.json +1 -429
  201. data/grammars/source.ideal.json +1 -356
  202. data/grammars/source.idl-dlm.json +1 -105
  203. data/grammars/source.idl.json +1 -246
  204. data/grammars/source.idris.json +1 -523
  205. data/grammars/source.igor.json +1 -369
  206. data/grammars/source.inform7.json +1 -183
  207. data/grammars/source.ini.json +1 -107
  208. data/grammars/source.ini.npmrc.json +1 -311
  209. data/grammars/source.inno.json +1 -133
  210. data/grammars/source.inputrc.json +1 -500
  211. data/grammars/source.io.json +1 -156
  212. data/grammars/source.ioke.json +1 -266
  213. data/grammars/source.isabelle.root.json +1 -64
  214. data/grammars/source.isabelle.theory.json +1 -102
  215. data/grammars/source.j.json +1 -260
  216. data/grammars/source.jasmin.json +1 -294
  217. data/grammars/source.java-properties.json +1 -87
  218. data/grammars/source.java.json +1 -1020
  219. data/grammars/source.jcl.json +1 -46
  220. data/grammars/source.jflex.json +1 -484
  221. data/grammars/source.jison.json +1 -711
  222. data/grammars/source.jisonlex-injection.json +1 -10
  223. data/grammars/source.jisonlex.json +1 -434
  224. data/grammars/source.jolie.json +1 -132
  225. data/grammars/source.jq.json +1 -211
  226. data/grammars/source.js.json +1 -1897
  227. data/grammars/source.js.objj.json +1 -419
  228. data/grammars/source.js.regexp.json +1 -152
  229. data/grammars/source.js.regexp.replacement.json +1 -26
  230. data/grammars/source.jsdoc.json +1 -460
  231. data/grammars/source.json.json +1 -139
  232. data/grammars/source.jsoniq.json +1 -0
  233. data/grammars/source.jsonnet.json +1 -197
  234. data/grammars/source.julia.console.json +1 -51
  235. data/grammars/source.julia.json +1 -991
  236. data/grammars/source.kotlin.json +1 -704
  237. data/grammars/source.kusto.json +1 -0
  238. data/grammars/source.lark.json +1 -0
  239. data/grammars/source.lbnf.json +1 -0
  240. data/grammars/source.lcov.json +1 -398
  241. data/grammars/source.lean.json +1 -226
  242. data/grammars/source.lean.markdown.json +1 -2598
  243. data/grammars/source.lex.json +1 -232
  244. data/grammars/source.lex.regexp.json +1 -269
  245. data/grammars/source.lid.json +1 -19
  246. data/grammars/source.lilypond.json +1 -869
  247. data/grammars/source.lisp.json +1 -101
  248. data/grammars/source.litcoffee.json +1 -654
  249. data/grammars/source.livescript.json +1 -603
  250. data/grammars/source.llvm.json +1 -61
  251. data/grammars/source.logos.json +1 -24
  252. data/grammars/source.logtalk.json +1 -310
  253. data/grammars/source.loomscript.json +1 -208
  254. data/grammars/source.lsl.json +1 -241
  255. data/grammars/source.ltspice.symbol.json +1 -294
  256. data/grammars/source.lua.json +1 -275
  257. data/grammars/source.m2.json +1 -125
  258. data/grammars/source.m4.json +1 -229
  259. data/grammars/source.m68k.json +1 -412
  260. data/grammars/source.mailmap.json +1 -28
  261. data/grammars/source.makefile.json +1 -470
  262. data/grammars/source.makegen.json +1 -9
  263. data/grammars/source.man-conf.json +1 -153
  264. data/grammars/source.mask.json +1 -816
  265. data/grammars/source.mata.json +1 -125
  266. data/grammars/source.mathematica.json +1 -416
  267. data/grammars/source.matlab.json +1 -1096
  268. data/grammars/source.maxscript.json +1 -465
  269. data/grammars/source.mcfunction-snapshot.json +1 -24480
  270. data/grammars/source.mcfunction.json +1 -1354
  271. data/grammars/source.mercury.json +1 -246
  272. data/grammars/source.meson.json +1 -165
  273. data/grammars/source.meta-info.json +1 -146
  274. data/grammars/source.ml.json +1 -285
  275. data/grammars/source.mlir.json +1 -109
  276. data/grammars/source.modelica.json +1 -142
  277. data/grammars/source.modula-3.json +1 -88
  278. data/grammars/source.modula2.json +1 -94
  279. data/grammars/source.monkey.json +1 -694
  280. data/grammars/source.moonscript.json +1 -144
  281. data/grammars/source.mql5.json +1 -187
  282. data/grammars/source.msl.json +1 -755
  283. data/grammars/source.mupad.json +1 -131
  284. data/grammars/source.nanorc.json +1 -333
  285. data/grammars/source.nasl.json +1 -155
  286. data/grammars/source.ncl.json +1 -53
  287. data/grammars/source.ne.json +1 -105
  288. data/grammars/source.nemerle.json +1 -132
  289. data/grammars/source.neon.json +1 -381
  290. data/grammars/source.nesc.json +1 -21
  291. data/grammars/source.netlinx.erb.json +1 -34
  292. data/grammars/source.netlinx.json +1 -704
  293. data/grammars/source.nextflow-groovy.json +1 -1359
  294. data/grammars/source.nextflow.json +1 -94
  295. data/grammars/source.nginx.json +1 -815
  296. data/grammars/source.nim.comment.json +1 -82
  297. data/grammars/source.nim.json +1 -1083
  298. data/grammars/source.nim_filter.json +1 -113
  299. data/grammars/source.nimcfg.json +1 -103
  300. data/grammars/source.ninja.json +1 -248
  301. data/grammars/source.nit.json +1 -234
  302. data/grammars/source.nix.json +1 -1196
  303. data/grammars/source.nsis.json +1 -152
  304. data/grammars/source.nu.json +1 -516
  305. data/grammars/source.nunjucks.json +1 -0
  306. data/grammars/source.nut.json +1 -262
  307. data/grammars/source.objc++.json +1 -12
  308. data/grammars/source.objc.json +1 -910
  309. data/grammars/source.objc.platform.json +1 -842
  310. data/grammars/source.objectscript.json +1 -309
  311. data/grammars/source.objectscript_class.json +1 -674
  312. data/grammars/source.objectscript_csp.json +1 -19
  313. data/grammars/source.objectscript_macros.json +1 -226
  314. data/grammars/source.ocaml.json +1 -1418
  315. data/grammars/source.ocamllex.json +1 -298
  316. data/grammars/source.ocamlyacc.json +1 -339
  317. data/grammars/source.odin-ehr.json +1 -806
  318. data/grammars/source.odin.json +1 -402
  319. data/grammars/source.ooc.json +1 -685
  320. data/grammars/source.opa.json +1 -196
  321. data/grammars/source.opal.json +1 -410
  322. data/grammars/source.opalsysdefs.json +1 -66
  323. data/grammars/source.openbsd-pkg.contents.json +1 -128
  324. data/grammars/source.opencobol.json +1 -62
  325. data/grammars/source.opentype.json +1 -448
  326. data/grammars/source.opts.json +1 -108
  327. data/grammars/source.ox.json +1 -89
  328. data/grammars/source.oz.json +1 -77
  329. data/grammars/source.p4.json +1 -122
  330. data/grammars/source.paket.dependencies.json +1 -0
  331. data/grammars/source.paket.lock.json +1 -0
  332. data/grammars/source.pan.json +1 -706
  333. data/grammars/source.papyrus.skyrim.json +1 -1272
  334. data/grammars/source.parrot.pir.json +1 -145
  335. data/grammars/source.pascal.json +1 -143
  336. data/grammars/source.pawn.json +1 -1194
  337. data/grammars/source.pcb.board.json +1 -285
  338. data/grammars/source.pcb.schematic.json +1 -424
  339. data/grammars/source.pcb.sexp.json +1 -232
  340. data/grammars/source.pep8.json +1 -118
  341. data/grammars/source.perl.6.json +1 -309
  342. data/grammars/source.perl.json +1 -2519
  343. data/grammars/source.php.zephir.json +1 -353
  344. data/grammars/source.pic.json +1 -908
  345. data/grammars/source.pig_latin.json +1 -168
  346. data/grammars/source.pike.json +1 -49
  347. data/grammars/source.plist.json +1 -336
  348. data/grammars/source.po.json +1 -222
  349. data/grammars/source.pogoscript.json +1 -79
  350. data/grammars/source.pony.json +1 -245
  351. data/grammars/source.postcss.json +1 -370
  352. data/grammars/source.postscript.json +1 -477
  353. data/grammars/source.pov-ray sdl.json +1 -82
  354. data/grammars/source.powershell.json +1 -981
  355. data/grammars/source.prisma.json +1 -435
  356. data/grammars/source.processing.json +1 -872
  357. data/grammars/source.prolog.eclipse.json +1 -201
  358. data/grammars/source.prolog.json +1 -286
  359. data/grammars/source.protobuf.json +1 -471
  360. data/grammars/source.puppet.json +1 -433
  361. data/grammars/source.purescript.json +1 -861
  362. data/grammars/source.pyjade.json +1 -996
  363. data/grammars/source.python.django.json +1 -29
  364. data/grammars/source.python.json +1 -5292
  365. data/grammars/source.python.salt.json +1 -9
  366. data/grammars/source.q.json +1 -215
  367. data/grammars/source.q_output.json +1 -348
  368. data/grammars/source.qasm.json +1 -66
  369. data/grammars/source.ql.json +1 -1408
  370. data/grammars/source.qmake.json +1 -210
  371. data/grammars/source.qml.json +1 -174
  372. data/grammars/source.qsharp.json +1 -120
  373. data/grammars/source.quake.json +1 -44
  374. data/grammars/source.quoting.raku.json +1 -0
  375. data/grammars/source.r.json +1 -194
  376. data/grammars/source.racket.json +1 -98
  377. data/grammars/source.raku.json +1 -0
  378. data/grammars/source.rascal.json +1 -283
  379. data/grammars/source.reason.hover.type.json +1 -14
  380. data/grammars/source.reason.json +1 -3382
  381. data/grammars/source.rebol.json +1 -637
  382. data/grammars/source.record-jar.json +1 -0
  383. data/grammars/source.red.json +1 -644
  384. data/grammars/source.redirects.json +1 -0
  385. data/grammars/source.reg.json +1 -159
  386. data/grammars/source.regexp.extended.json +1 -558
  387. data/grammars/source.regexp.json +1 -1434
  388. data/grammars/source.regexp.posix.json +1 -0
  389. data/grammars/source.regexp.python.json +1 -490
  390. data/grammars/source.regexp.raku.json +1 -0
  391. data/grammars/source.regexp.spin.json +1 -179
  392. data/grammars/source.rego.json +1 -124
  393. data/grammars/source.renpy.json +1 -1948
  394. data/grammars/source.rescript.json +1 -0
  395. data/grammars/source.rexx.json +1 -52
  396. data/grammars/source.ring.json +1 -247
  397. data/grammars/source.rpm-spec.json +1 -765
  398. data/grammars/source.ruby.gemfile.json +1 -24
  399. data/grammars/source.ruby.json +1 -2605
  400. data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
  401. data/grammars/source.rust.json +1 -629
  402. data/grammars/source.sas.json +1 -286
  403. data/grammars/source.sass.json +1 -1089
  404. data/grammars/source.sassdoc.json +1 -346
  405. data/grammars/source.scad.json +1 -145
  406. data/grammars/source.scala.json +1 -1121
  407. data/grammars/source.scaml.json +1 -451
  408. data/grammars/source.scheme.json +1 -353
  409. data/grammars/source.scilab.json +1 -96
  410. data/grammars/source.sdbl.json +1 -90
  411. data/grammars/source.sed.json +1 -1520
  412. data/grammars/source.shaderlab.json +1 -198
  413. data/grammars/source.shell.json +1 -1272
  414. data/grammars/source.shen.json +1 -143
  415. data/grammars/source.sieve.json +1 -383
  416. data/grammars/source.singularity.json +1 -0
  417. data/grammars/source.slice.json +1 -2755
  418. data/grammars/source.smali.json +1 -1610
  419. data/grammars/source.smalltalk.json +1 -187
  420. data/grammars/source.smpl.json +1 -314
  421. data/grammars/source.smt.json +1 -158
  422. data/grammars/source.solidity.json +1 -189
  423. data/grammars/source.solution.json +1 -0
  424. data/grammars/source.sourcepawn.json +1 -651
  425. data/grammars/source.sparql.json +1 -18
  426. data/grammars/source.spin.json +1 -916
  427. data/grammars/source.sqf.json +1 -111
  428. data/grammars/source.sql.json +1 -459
  429. data/grammars/source.ssh-config.json +1 -97
  430. data/grammars/source.stan.json +1 -388
  431. data/grammars/source.stata.json +1 -197
  432. data/grammars/source.stdbez.json +1 -0
  433. data/grammars/source.string-template.json +1 -0
  434. data/grammars/source.strings.json +1 -49
  435. data/grammars/source.stylus.json +1 -1018
  436. data/grammars/source.supercollider.json +1 -93
  437. data/grammars/source.svelte.json +1 -827
  438. data/grammars/source.swift.json +1 -3134
  439. data/grammars/source.sy.json +1 -2954
  440. data/grammars/source.systemverilog.json +1 -1036
  441. data/grammars/source.tags.json +1 -266
  442. data/grammars/source.tcl.json +1 -260
  443. data/grammars/source.tea.json +1 -174
  444. data/grammars/source.terra.json +1 -138
  445. data/grammars/source.terraform.json +1 -694
  446. data/grammars/source.thrift.json +1 -698
  447. data/grammars/source.tl.json +1 -259
  448. data/grammars/source.tla.json +1 -140
  449. data/grammars/source.tnsaudit.json +1 -256
  450. data/grammars/source.toc.json +1 -52
  451. data/grammars/source.toml.json +1 -426
  452. data/grammars/source.ts.json +1 -5581
  453. data/grammars/source.tsql.json +1 -507
  454. data/grammars/source.tsx.json +1 -5834
  455. data/grammars/source.turing.json +1 -1553
  456. data/grammars/source.turtle.json +1 -489
  457. data/grammars/source.txl.json +1 -48
  458. data/grammars/source.ucd.nameslist.json +1 -444
  459. data/grammars/source.ucd.unidata.json +1 -570
  460. data/grammars/source.ucfconstraints.json +1 -67
  461. data/grammars/source.ur.json +1 -31
  462. data/grammars/source.v.json +1 -1010
  463. data/grammars/source.vala.json +1 -800
  464. data/grammars/source.varnish.vcl.json +1 -331
  465. data/grammars/source.vbnet.json +1 -239
  466. data/grammars/source.verilog.json +1 -296
  467. data/grammars/source.vhdl.json +1 -1374
  468. data/grammars/source.vim-snippet.json +1 -645
  469. data/grammars/source.viml.json +1 -1197
  470. data/grammars/source.vtt.json +1 -702
  471. data/grammars/source.vyper.json +1 -213
  472. data/grammars/source.wavefront.mtl.json +1 -1190
  473. data/grammars/source.wavefront.obj.json +1 -1341
  474. data/grammars/source.wdl.json +1 -220
  475. data/grammars/source.webassembly.json +1 -349
  476. data/grammars/source.webidl.json +1 -807
  477. data/grammars/source.wgetrc.json +1 -1640
  478. data/grammars/source.wollok.json +1 -100
  479. data/grammars/source.wsd.json +1 -781
  480. data/grammars/source.x10.json +1 -64
  481. data/grammars/source.x86.json +1 -299
  482. data/grammars/source.x86asm.json +1 -42
  483. data/grammars/source.xc.json +1 -371
  484. data/grammars/source.xlfd.json +1 -462
  485. data/grammars/source.xojo.json +1 -85
  486. data/grammars/source.xq.json +1 -230
  487. data/grammars/source.xtend.json +1 -724
  488. data/grammars/source.yacc.json +1 -626
  489. data/grammars/source.yaml.json +1 -443
  490. data/grammars/source.yaml.salt.json +1 -345
  491. data/grammars/source.yang.json +1 -78
  492. data/grammars/source.yara.json +1 -99
  493. data/grammars/source.yasnippet.json +1 -377
  494. data/grammars/source.zap.json +1 -260
  495. data/grammars/source.zeek.json +1 -412
  496. data/grammars/source.zenscript.json +1 -282
  497. data/grammars/source.zig.json +1 -547
  498. data/grammars/source.zil.json +1 -750
  499. data/grammars/text.bibtex.json +1 -246
  500. data/grammars/text.browserslist.json +1 -0
  501. data/grammars/text.cfml.basic.json +1 -735
  502. data/grammars/text.checksums.json +1 -0
  503. data/grammars/text.codeowners.json +1 -0
  504. data/grammars/text.conllu.json +1 -45
  505. data/grammars/text.dfy.dafny.json +1 -188
  506. data/grammars/text.elixir.json +1 -52
  507. data/grammars/text.eml.basic.json +1 -296
  508. data/grammars/text.error-list.json +1 -53
  509. data/grammars/text.find-refs.json +1 -926
  510. data/grammars/text.gherkin.feature.json +1 -127
  511. data/grammars/text.haml.json +1 -518
  512. data/grammars/text.hamlc.json +1 -219
  513. data/grammars/text.html.asciidoc.json +1 -478
  514. data/grammars/text.html.asdoc.json +1 -529
  515. data/grammars/text.html.asp.json +1 -53
  516. data/grammars/text.html.basic.json +1 -908
  517. data/grammars/text.html.cfm.json +1 -802
  518. data/grammars/text.html.creole.json +1 -317
  519. data/grammars/text.html.cshtml.json +1 -356
  520. data/grammars/text.html.django.json +1 -63
  521. data/grammars/text.html.ecr.json +1 -48
  522. data/grammars/text.html.elixir.json +1 -21
  523. data/grammars/text.html.erb.json +1 -150
  524. data/grammars/text.html.erlang.yaws.json +1 -67
  525. data/grammars/text.html.factor.json +1 -19
  526. data/grammars/text.html.ftl.json +1 -76
  527. data/grammars/text.html.handlebars.json +1 -845
  528. data/grammars/text.html.javadoc.json +1 -426
  529. data/grammars/text.html.js.json +1 -24
  530. data/grammars/text.html.jsp.json +1 -1196
  531. data/grammars/text.html.liquid.json +1 -25
  532. data/grammars/text.html.mako.json +1 -726
  533. data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
  534. data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
  535. data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
  536. data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
  537. data/grammars/text.html.mediawiki.json +1 -946
  538. data/grammars/text.html.nunjucks.json +1 -0
  539. data/grammars/text.html.php.blade.json +1 -3833
  540. data/grammars/text.html.php.json +1 -2507
  541. data/grammars/text.html.riot.json +1 -788
  542. data/grammars/text.html.slash.json +1 -307
  543. data/grammars/text.html.smarty.json +1 -232
  544. data/grammars/text.html.soy.json +1 -606
  545. data/grammars/text.html.ssp.json +1 -43
  546. data/grammars/text.html.tcl.json +1 -37
  547. data/grammars/text.html.twig.json +1 -1344
  548. data/grammars/text.html.vue.json +1 -963
  549. data/grammars/text.idl-idldoc.json +1 -10
  550. data/grammars/text.jade.json +1 -963
  551. data/grammars/text.junit-test-report.json +1 -89
  552. data/grammars/text.log.latex.json +1 -84
  553. data/grammars/text.marko.json +1 -1662
  554. data/grammars/text.muse.json +1 -1471
  555. data/grammars/text.openbsd-pkg.desc.json +1 -78
  556. data/grammars/text.plain.json +1 -18
  557. data/grammars/text.python.console.json +1 -21
  558. data/grammars/text.python.traceback.json +1 -43
  559. data/grammars/text.rdoc.json +1 -44
  560. data/grammars/text.restructuredtext.clean.json +1 -24
  561. data/grammars/text.restructuredtext.json +1 -1765
  562. data/grammars/text.robot.json +1 -63
  563. data/grammars/text.robots-txt.json +1 -0
  564. data/grammars/text.roff.json +1 -6927
  565. data/grammars/text.rtf.json +1 -148
  566. data/grammars/text.runoff.json +1 -308
  567. data/grammars/text.sfd.json +1 -292
  568. data/grammars/text.shell-session.json +1 -29
  569. data/grammars/text.slim.json +1 -527
  570. data/grammars/text.srt.json +1 -166
  571. data/grammars/text.tex.json +1 -264
  572. data/grammars/text.tex.latex.beamer.json +1 -57
  573. data/grammars/text.tex.latex.haskell.json +1 -1826
  574. data/grammars/text.tex.latex.json +1 -1003
  575. data/grammars/text.tex.latex.memoir.json +1 -129
  576. data/grammars/text.tex.latex.rd.json +1 -111
  577. data/grammars/text.texinfo.json +1 -1525
  578. data/grammars/text.vim-help.json +1 -383
  579. data/grammars/text.xml.ant.json +1 -195
  580. data/grammars/text.xml.flex-config.json +1 -2628
  581. data/grammars/text.xml.genshi.json +1 -28
  582. data/grammars/text.xml.json +1 -351
  583. data/grammars/text.xml.plist.json +1 -664
  584. data/grammars/text.xml.pom.json +1 -769
  585. data/grammars/text.xml.svg.json +1 -562
  586. data/grammars/text.xml.xsl.json +1 -88
  587. data/grammars/text.zone_file.json +1 -67
  588. data/grammars/version +1 -1
  589. data/lib/linguist/VERSION +1 -1
  590. data/lib/linguist/classifier.rb +9 -5
  591. data/lib/linguist/generated.rb +10 -0
  592. data/lib/linguist/generic.yml +18 -0
  593. data/lib/linguist/heuristics.yml +77 -20
  594. data/lib/linguist/language.rb +7 -17
  595. data/lib/linguist/languages.json +1 -1
  596. data/lib/linguist/languages.yml +271 -49
  597. data/lib/linguist/linguist.bundle +0 -0
  598. data/lib/linguist/samples.json +1 -1
  599. data/lib/linguist/samples.rb +2 -2
  600. data/lib/linguist/strategy/extension.rb +13 -5
  601. data/lib/linguist/strategy/modeline.rb +64 -32
  602. data/lib/linguist/vendor.yml +1 -1
  603. metadata +37 -13
  604. data/ext/linguist/strndup.c +0 -10
  605. data/grammars/source.cake.json +0 -13
  606. data/grammars/source.csx.json +0 -13
  607. data/grammars/source.js.css.json +0 -328
  608. data/grammars/source.js.jsx.json +0 -2488
  609. data/grammars/source.perl6fe.json +0 -2769
  610. data/grammars/source.quoting.perl6fe.json +0 -2369
  611. data/grammars/source.regexp.perl6fe.json +0 -244
@@ -1,346 +1 @@
1
- {
2
- "name": "Apache",
3
- "scopeName": "source.apache-config",
4
- "patterns": [
5
- {
6
- "begin": "(^[ \\t]+)?(?=#)",
7
- "end": "(?!\\G)",
8
- "patterns": [
9
- {
10
- "name": "comment.line.number-sign.apache-config",
11
- "begin": "#",
12
- "end": "\\n",
13
- "beginCaptures": {
14
- "0": {
15
- "name": "punctuation.definition.comment.apache-config"
16
- }
17
- }
18
- }
19
- ],
20
- "beginCaptures": {
21
- "1": {
22
- "name": "punctuation.whitespace.comment.leading.apache-config"
23
- }
24
- }
25
- },
26
- {
27
- "name": "meta.tag.any.html",
28
- "match": "^[ ]*(\u003c)([a-zA-Z0-9:]+)[^\u003e]*(\u003e(\u003c)/)(\\2)(\u003e)",
29
- "captures": {
30
- "1": {
31
- "name": "punctuation.definition.tag.apache-config"
32
- },
33
- "2": {
34
- "name": "entity.name.tag.apache-config"
35
- },
36
- "3": {
37
- "name": "punctuation.definition.tag.apache-config"
38
- },
39
- "4": {
40
- "name": "meta.scope.between-tag-pair.apache-config"
41
- },
42
- "5": {
43
- "name": "entity.name.tag.apache-config"
44
- },
45
- "6": {
46
- "name": "punctuation.definition.tag.apache-config"
47
- }
48
- }
49
- },
50
- {
51
- "name": "meta.vhost.apache-config",
52
- "begin": "^[ ]*((\u003c)(VirtualHost)(?:[ ]+([^\u003e]+))?(\u003e))",
53
- "end": "^[ ]*((\u003c/)(VirtualHost)[^\u003e]*(\u003e))",
54
- "patterns": [
55
- {
56
- "include": "$base"
57
- }
58
- ],
59
- "beginCaptures": {
60
- "1": {
61
- "name": "meta.tag.apache-config"
62
- },
63
- "2": {
64
- "name": "punctuation.definition.tag.apache-config"
65
- },
66
- "3": {
67
- "name": "entity.name.tag.apache-config"
68
- },
69
- "4": {
70
- "name": "meta.toc-list.virtual-host.apache-config"
71
- },
72
- "5": {
73
- "name": "punctuation.definition.tag.apache-config"
74
- }
75
- },
76
- "endCaptures": {
77
- "1": {
78
- "name": "meta.tag.apache-config"
79
- },
80
- "2": {
81
- "name": "punctuation.definition.tag.apache-config"
82
- },
83
- "3": {
84
- "name": "entity.name.tag.apache-config"
85
- },
86
- "4": {
87
- "name": "punctuation.definition.tag.apache-config"
88
- }
89
- }
90
- },
91
- {
92
- "name": "meta.directory.apache-config",
93
- "begin": "^[ ]*((\u003c)(Directory(?:Match)?)(?:[ ]+([^\u003e]+))?(\u003e))",
94
- "end": "^[ ]*((\u003c/)(Directory(?:Match)?)[^\u003e]*(\u003e))",
95
- "patterns": [
96
- {
97
- "include": "$base"
98
- }
99
- ],
100
- "beginCaptures": {
101
- "1": {
102
- "name": "meta.tag.apache-config"
103
- },
104
- "2": {
105
- "name": "punctuation.definition.tag.apache-config"
106
- },
107
- "3": {
108
- "name": "entity.name.tag.apache-config"
109
- },
110
- "4": {
111
- "name": "meta.toc-list.directory.apache-config"
112
- },
113
- "5": {
114
- "name": "punctuation.definition.tag.apache-config"
115
- }
116
- },
117
- "endCaptures": {
118
- "1": {
119
- "name": "meta.tag.apache-config"
120
- },
121
- "2": {
122
- "name": "punctuation.definition.tag.apache-config"
123
- },
124
- "3": {
125
- "name": "entity.name.tag.apache-config"
126
- },
127
- "4": {
128
- "name": "punctuation.definition.tag.apache-config"
129
- }
130
- }
131
- },
132
- {
133
- "name": "meta.location.apache-config",
134
- "begin": "^[ ]*((\u003c)(Location(?:Match)?)(?:[ ]+([^\u003e]+))?(\u003e))",
135
- "end": "^[ ]*((\u003c/)(Location(?:Match)?)[^\u003e]*(\u003e))",
136
- "patterns": [
137
- {
138
- "include": "$base"
139
- }
140
- ],
141
- "beginCaptures": {
142
- "1": {
143
- "name": "meta.tag.apache-config"
144
- },
145
- "2": {
146
- "name": "punctuation.definition.tag.apache-config"
147
- },
148
- "3": {
149
- "name": "entity.name.tag.apache-config"
150
- },
151
- "4": {
152
- "name": "meta.toc-list.location.apache-config"
153
- },
154
- "5": {
155
- "name": "punctuation.definition.tag.apache-config"
156
- }
157
- },
158
- "endCaptures": {
159
- "1": {
160
- "name": "meta.tag.apache-config"
161
- },
162
- "2": {
163
- "name": "punctuation.definition.tag.apache-config"
164
- },
165
- "3": {
166
- "name": "entity.name.tag.apache-config"
167
- },
168
- "4": {
169
- "name": "punctuation.definition.tag.apache-config"
170
- }
171
- }
172
- },
173
- {
174
- "name": "source.include.apache-config",
175
- "begin": "(^Include)",
176
- "end": "(\\n)",
177
- "patterns": [
178
- {
179
- "name": "text.include.apache-config",
180
- "match": "(.*)"
181
- }
182
- ],
183
- "beginCaptures": {
184
- "1": {
185
- "name": "support.constant.include.start.apache-config"
186
- }
187
- },
188
- "endCaptures": {
189
- "1": {
190
- "name": "support.constant.include.end.apache-config"
191
- }
192
- }
193
- },
194
- {
195
- "begin": "^[ ]*\\b(RewriteCond)\\b",
196
- "end": "$",
197
- "patterns": [
198
- {
199
- "begin": "[ ]+",
200
- "end": "$",
201
- "patterns": [
202
- {
203
- "include": "#vars"
204
- },
205
- {
206
- "name": "string.regexp.rewrite-test.apache-config",
207
- "match": "[^ %\\n]+"
208
- },
209
- {
210
- "begin": "[ ]+",
211
- "end": "$",
212
- "patterns": [
213
- {
214
- "name": "string.other.rewrite-condition.apache-config",
215
- "match": "[^ %\\n]+"
216
- },
217
- {
218
- "match": "[ ]+(\\[[^\\]]+\\])",
219
- "captures": {
220
- "1": {
221
- "name": "string.regexp.rewrite-operator.apache-config"
222
- }
223
- }
224
- }
225
- ]
226
- }
227
- ]
228
- }
229
- ],
230
- "captures": {
231
- "1": {
232
- "name": "support.constant.rewritecond.apache-config"
233
- }
234
- }
235
- },
236
- {
237
- "begin": "^[ ]*\\b(RewriteRule)\\b",
238
- "end": "$",
239
- "patterns": [
240
- {
241
- "begin": "[ ]+",
242
- "end": "$",
243
- "patterns": [
244
- {
245
- "include": "#vars"
246
- },
247
- {
248
- "name": "string.regexp.rewrite-pattern.apache-config",
249
- "match": "[^ %]+"
250
- },
251
- {
252
- "begin": "[ ]+",
253
- "end": "$",
254
- "patterns": [
255
- {
256
- "include": "#vars"
257
- },
258
- {
259
- "name": "string.other.rewrite-substitution.apache-config",
260
- "match": "[^ %\\n]+"
261
- },
262
- {
263
- "match": "[ ]+(\\[[^\\]]+\\])",
264
- "captures": {
265
- "1": {
266
- "name": "string.regexp.rewrite-operator.apache-config"
267
- }
268
- }
269
- }
270
- ]
271
- }
272
- ]
273
- }
274
- ],
275
- "captures": {
276
- "1": {
277
- "name": "support.constant.rewriterule.apache-config"
278
- }
279
- }
280
- },
281
- {
282
- "name": "support.constant.apache-config",
283
- "match": "\\b(R(e(sourceConfig|direct(Match|Temp|Permanent)?|qu(ire|estHeader)|ferer(Ignore|Log)|write(Rule|Map|Base|Cond|Options|Engine|Lo(ck|g(Level)?))|admeName|move(Handler|Charset|Type|InputFilter|OutputFilter|Encoding|Language))|Limit(MEM|NPROC|CPU))|Group|XBitHack|M(MapFile|i(nSpare(Servers|Threads)|meMagicFile)|odMimeUsePathInfo|Cache(RemovalAlgorithm|M(inObjectSize|ax(StreamingBuffer|Object(Size|Count)))|Size)|ultiviewsMatch|eta(Suffix|Dir|Files)|ax(RequestsPer(Child|Thread)|MemFree|Spare(Servers|Threads)|Clients|Threads(PerChild)?|KeepAliveRequests))|B(indAddress|S2000Account|rowserMatch(NoCase)?)|S(hmemUIDisUser|c(oreBoardFile|ript(Sock|InterpreterSource|Log(Buffer|Length)?|Alias(Match)?)?)|tart(Servers|Threads)|S(I(StartTag|TimeFormat|UndefinedEcho|E(ndTag|rrorMsg))|L(R(equire(SSL)?|andomSeed)|Mutex|SessionCache(Timeout)?|C(ipherSuite|ertificate(ChainFile|KeyFile|File)|A(Revocation(Path|File)|Certificate(Path|File)))|Options|P(assPhraseDialog|ro(tocol|xy(MachineCertificate(Path|File)|C(ipherSuite|A(Revocation(Path|File)|Certificate(Path|File)))|Protocol|Engine|Verify(Depth)?)))|Engine|Verify(Client|Depth)))|uexecUserGroup|e(ndBufferSize|cureListen|t(Handler|InputFilter|OutputFilter|Env(If(NoCase)?)?)|rver(Root|Signature|Name|T(ype|okens)|Path|Limit|A(dmin|lias)))|atisfy)|H(ostnameLookups|eader(Name)?)|N(o(Cache|Proxy)|umServers|ameVirtualHost|WSSL(TrustedCerts|Upgradeable))|C(h(ildPerUserID|eckSpelling|arset(SourceEnc|Options|Default))|GI(MapExtension|CommandArgs)|o(ntentDigest|okie(Style|Name|Tracking|Domain|Prefix|Expires|Format|Log)|reDumpDirectory)|ustomLog|learModuleList|ache(Root|Gc(MemUsage|Clean|Interval|Daily|Unused)|M(inFileSize|ax(Expire|FileSize))|Size|NegotiatedDocs|TimeMargin|Ignore(NoLastMod|CacheControl)|D(i(sable|rLe(ngth|vels))|efaultExpire)|E(nable|xpiryCheck)|F(ile|orceCompletion)|LastModifiedFactor))|T(hread(sPerChild|StackSize|Limit)|ypesConfig|ime(out|Out)|ransferLog)|I(n(clude|dex(Ignore|O(ptions|rderDefault)))|SAPI(ReadAheadBuffer|CacheFile|FakeAsync|LogNotSupported|AppendLogTo(Errors|Query))|dentityCheck|f(Module|Define)|map(Menu|Base|Default))|O(ptions|rder)|D(irectory(Match|Slash|Index)?|ocumentRoot|e(ny|f(late(MemLevel|BufferSize|CompressionLevel|FilterNote|WindowSize)|ault(Type|Icon|Language)))|av(MinTimeout|DepthInfinity|LockDB)?)|U(se(CanonicalName|r(Dir)?)|nsetEnv)|P(idFile|ort|assEnv|ro(tocol(ReqCheck|Echo)|xy(Re(ceiveBufferSize|quests|mote(Match)?)|Ma(tch|xForwards)|B(lock|adHeader)|Timeout|IOBufferSize|Domain|P(ass(Reverse)?|reserveHost)|ErrorOverride|Via)?))|E(nable(MMAP|Sendfile|ExceptionHook)|BCDIC(Convert(ByType)?|Kludge)|rror(Header|Document|Log)|x(t(endedStatus|Filter(Options|Define))|pires(ByType|Default|Active)|ample))|Virtual(ScriptAlias(IP)?|Host|DocumentRoot(IP)?)|KeepAlive(Timeout)?|F(ile(s(Match)?|ETag)|or(ce(Type|LanguagePriority)|ensicLog)|ancyIndexing)|Win32DisableAcceptEx|L(i(sten(Back(log|Log))?|mit(Request(Body|Field(s(ize)?|Size)|Line)|XMLRequestBody|InternalRecursion|Except)?)|o(c(kFile|ation(Match)?)|ad(Module|File)|g(Format|Level))|DAP(SharedCache(Size|File)|Cache(TTL|Entries)|TrustedCA(Type)?|OpCache(TTL|Entries))|anguagePriority)|A(ssignUserID|nonymous(_(MustGiveEmail|NoUserID|VerifyEmail|LogEmail|Authoritative))?|c(ce(ss(Config|FileName)|pt(Mutex|PathInfo|Filter))|tion)|dd(Module(Info)?|Handler|Charset|Type|I(nputFilter|con(By(Type|Encoding))?)|OutputFilter(ByType)?|De(scription|faultCharset)|Encoding|Language|Alt(By(Type|Encoding))?)|uth(GroupFile|Name|Type|D(B(GroupFile|M(GroupFile|Type|UserFile|Authoritative)|UserFile|Authoritative)|igest(GroupFile|ShmemSize|N(cCheck|once(Format|Lifetime))|Domain|Qop|File|Algorithm))|UserFile|LDAP(RemoteUserIsDN|GroupAttribute(IsDN)?|Bind(DN|Password)|C(harsetConfig|ompareDNOnServer)|DereferenceAliases|Url|Enabled|FrontPageHack|Authoritative)|Authoritative)|l(ias(Match)?|low(CONNECT|Override|EncodedSlashes)?)|gentLog)|MIMEMagicFile|WSGI(.[^ ]+))\\b"
284
- },
285
- {
286
- "name": "support.class.apache-config",
287
- "match": "\\b(access_module|actions_module|action_module|alias_module|anon_auth_module|asis_module|authn_alias_module|authn_anon_module|authn_dbd_module|authn_dbm_module|authn_default_module|authn_file_module|authnz_ldap_module|authz_dbm_module|authz_default_module|authz_groupfile_module|authz_host_module|authz_owner_module|authz_user_module|auth_basic_module|auth_digest_module|auth_module|autoindex_module|bonjour_module|cache_module|cern_meta_module|cgi_module|config_log_module|dav_fs_module|dav_module|dbd_module|dbm_auth_module|deflate_module|digest_module|dir_module|disk_cache_module|dumpio_module|env_module|expires_module|ext_filter_module|fastcgi_module|filter_module|foo_module|headers_module|hfs_apple_module|ident_module|imagemap_module|imap_module|includes_module|include_module|info_module|jk_module|ldap_module|logio_module|log_config_module|log_forensic_module|mem_cache_module|mime_magic_module|mime_module|negotiation_module|perl_module|php4_module|php5_module|proxy_ajp_module|proxy_balancer_module|proxy_connect_module|proxy_ftp_module|proxy_http_module|proxy_module|rendezvous_apple_module|rendezvous_module|rewrite_module|setenvif_module|speling_module|ssl_module|status_module|suexec_module|substitute_module|unique_id_module|userdir_module|usertrack_module|version_module|vhost_alias_module|wsgi_module)\\b"
288
- },
289
- {
290
- "name": "string.quoted.double.apache-config",
291
- "begin": "\"",
292
- "end": "\"(?!\")",
293
- "patterns": [
294
- {
295
- "name": "constant.character.escape.apostrophe.apache",
296
- "match": "\"\""
297
- }
298
- ],
299
- "beginCaptures": {
300
- "0": {
301
- "name": "punctuation.definition.string.begin.apache-config"
302
- }
303
- },
304
- "endCaptures": {
305
- "0": {
306
- "name": "punctuation.definition.string.end.apache-config"
307
- }
308
- }
309
- },
310
- {
311
- "name": "meta.tag.apache-config",
312
- "begin": "(\u003c/?)([a-zA-Z]+)",
313
- "end": "(/?\u003e)",
314
- "captures": {
315
- "1": {
316
- "name": "punctuation.definition.tag.apache-config"
317
- },
318
- "2": {
319
- "name": "entity.name.tag.apache-config"
320
- }
321
- }
322
- }
323
- ],
324
- "repository": {
325
- "vars": {
326
- "patterns": [
327
- {
328
- "name": "support.variable.apache-config",
329
- "match": "(%\\{)(?:API_VERSION|AUTH_TYPE|CONN_REMOTE_ADDR|CONTEXT_(?:PREFIX|DOCUMENT_ROOT)|DOCUMENT_ROOT|HTTP(S|_(?:ACCEPT|COOKIE|FORWARDED|HOST|PROXY_CONNECTION|REFERER|USER_AGENT))|IPV6|IS_SUBREQ|REMOTE_(?:ADDR|HOST|IDENT|PORT|USER)|REQUEST_(?:FILENAME|METHOD|SCHEME|URI)|SCRIPT_(?:FILENAME|GROUP|USER)|PATH_INFO|QUERY_STRING|SERVER_(?:ADDR|ADMIN|NAME|PORT|PROTOCOL|SOFTWARE)|THE_REQUEST|TIME_(?:YEAR|MON|DAY|HOUR|MIN|SEC|WDAY)|TIME|(?:ENV|HTTP|LA-F|LA-U|SSL):[^\\}]+)(\\})",
330
- "captures": {
331
- "1": {
332
- "name": "punctuation.definition.variable.apache-config"
333
- },
334
- "3": {
335
- "name": "punctuation.definition.variable.apache-config"
336
- }
337
- }
338
- },
339
- {
340
- "name": "invalid.illegal.bad-var.apache-config",
341
- "match": "%\\{[^\\}]+\\}"
342
- }
343
- ]
344
- }
345
- }
346
- }
1
+ {"name":"Apache","scopeName":"source.apache-config","patterns":[{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.apache-config","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.apache-config"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.apache-config"}}},{"name":"meta.tag.any.html","match":"^[ ]*(\u003c)([a-zA-Z0-9:]+)[^\u003e]*(\u003e(\u003c)/)(\\2)(\u003e)","captures":{"1":{"name":"punctuation.definition.tag.apache-config"},"2":{"name":"entity.name.tag.apache-config"},"3":{"name":"punctuation.definition.tag.apache-config"},"4":{"name":"meta.scope.between-tag-pair.apache-config"},"5":{"name":"entity.name.tag.apache-config"},"6":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"meta.vhost.apache-config","begin":"^[ ]*((\u003c)(VirtualHost)(?:[ ]+([^\u003e]+))?(\u003e))","end":"^[ ]*((\u003c/)(VirtualHost)[^\u003e]*(\u003e))","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"meta.toc-list.virtual-host.apache-config"},"5":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"meta.directory.apache-config","begin":"^[ ]*((\u003c)(Directory(?:Match)?)(?:[ ]+([^\u003e]+))?(\u003e))","end":"^[ ]*((\u003c/)(Directory(?:Match)?)[^\u003e]*(\u003e))","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"meta.toc-list.directory.apache-config"},"5":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"meta.location.apache-config","begin":"^[ ]*((\u003c)(Location(?:Match)?)(?:[ ]+([^\u003e]+))?(\u003e))","end":"^[ ]*((\u003c/)(Location(?:Match)?)[^\u003e]*(\u003e))","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"meta.toc-list.location.apache-config"},"5":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"source.include.apache-config","begin":"(^Include)","end":"(\\n)","patterns":[{"name":"text.include.apache-config","match":"(.*)"}],"beginCaptures":{"1":{"name":"support.constant.include.start.apache-config"}},"endCaptures":{"1":{"name":"support.constant.include.end.apache-config"}}},{"begin":"^[ ]*\\b(RewriteCond)\\b","end":"$","patterns":[{"begin":"[ ]+","end":"$","patterns":[{"include":"#vars"},{"name":"string.regexp.rewrite-test.apache-config","match":"[^ %\\n]+"},{"begin":"[ ]+","end":"$","patterns":[{"name":"string.other.rewrite-condition.apache-config","match":"[^ %\\n]+"},{"match":"[ ]+(\\[[^\\]]+\\])","captures":{"1":{"name":"string.regexp.rewrite-operator.apache-config"}}}]}]}],"captures":{"1":{"name":"support.constant.rewritecond.apache-config"}}},{"begin":"^[ ]*\\b(RewriteRule)\\b","end":"$","patterns":[{"begin":"[ ]+","end":"$","patterns":[{"include":"#vars"},{"name":"string.regexp.rewrite-pattern.apache-config","match":"[^ %]+"},{"begin":"[ ]+","end":"$","patterns":[{"include":"#vars"},{"name":"string.other.rewrite-substitution.apache-config","match":"[^ %\\n]+"},{"match":"[ ]+(\\[[^\\]]+\\])","captures":{"1":{"name":"string.regexp.rewrite-operator.apache-config"}}}]}]}],"captures":{"1":{"name":"support.constant.rewriterule.apache-config"}}},{"name":"support.constant.apache-config","match":"\\b(R(e(sourceConfig|direct(Match|Temp|Permanent)?|qu(ire|estHeader)|ferer(Ignore|Log)|write(Rule|Map|Base|Cond|Options|Engine|Lo(ck|g(Level)?))|admeName|move(Handler|Charset|Type|InputFilter|OutputFilter|Encoding|Language))|Limit(MEM|NPROC|CPU))|Group|XBitHack|M(MapFile|i(nSpare(Servers|Threads)|meMagicFile)|odMimeUsePathInfo|Cache(RemovalAlgorithm|M(inObjectSize|ax(StreamingBuffer|Object(Size|Count)))|Size)|ultiviewsMatch|eta(Suffix|Dir|Files)|ax(RequestsPer(Child|Thread)|MemFree|Spare(Servers|Threads)|Clients|Threads(PerChild)?|KeepAliveRequests))|B(indAddress|S2000Account|rowserMatch(NoCase)?)|S(hmemUIDisUser|c(oreBoardFile|ript(Sock|InterpreterSource|Log(Buffer|Length)?|Alias(Match)?)?)|tart(Servers|Threads)|S(I(StartTag|TimeFormat|UndefinedEcho|E(ndTag|rrorMsg))|L(R(equire(SSL)?|andomSeed)|Mutex|SessionCache(Timeout)?|C(ipherSuite|ertificate(ChainFile|KeyFile|File)|A(Revocation(Path|File)|Certificate(Path|File)))|Options|P(assPhraseDialog|ro(tocol|xy(MachineCertificate(Path|File)|C(ipherSuite|A(Revocation(Path|File)|Certificate(Path|File)))|Protocol|Engine|Verify(Depth)?)))|Engine|Verify(Client|Depth)))|uexecUserGroup|e(ndBufferSize|cureListen|t(Handler|InputFilter|OutputFilter|Env(If(NoCase)?)?)|rver(Root|Signature|Name|T(ype|okens)|Path|Limit|A(dmin|lias)))|atisfy)|H(ostnameLookups|eader(Name)?)|N(o(Cache|Proxy)|umServers|ameVirtualHost|WSSL(TrustedCerts|Upgradeable))|C(h(ildPerUserID|eckSpelling|arset(SourceEnc|Options|Default))|GI(MapExtension|CommandArgs)|o(ntentDigest|okie(Style|Name|Tracking|Domain|Prefix|Expires|Format|Log)|reDumpDirectory)|ustomLog|learModuleList|ache(Root|Gc(MemUsage|Clean|Interval|Daily|Unused)|M(inFileSize|ax(Expire|FileSize))|Size|NegotiatedDocs|TimeMargin|Ignore(NoLastMod|CacheControl)|D(i(sable|rLe(ngth|vels))|efaultExpire)|E(nable|xpiryCheck)|F(ile|orceCompletion)|LastModifiedFactor))|T(hread(sPerChild|StackSize|Limit)|ypesConfig|ime(out|Out)|ransferLog)|I(n(clude|dex(Ignore|O(ptions|rderDefault)))|SAPI(ReadAheadBuffer|CacheFile|FakeAsync|LogNotSupported|AppendLogTo(Errors|Query))|dentityCheck|f(Module|Define)|map(Menu|Base|Default))|O(ptions|rder)|D(irectory(Match|Slash|Index)?|ocumentRoot|e(ny|f(late(MemLevel|BufferSize|CompressionLevel|FilterNote|WindowSize)|ault(Type|Icon|Language)))|av(MinTimeout|DepthInfinity|LockDB)?)|U(se(CanonicalName|r(Dir)?)|nsetEnv)|P(idFile|ort|assEnv|ro(tocol(ReqCheck|Echo)|xy(Re(ceiveBufferSize|quests|mote(Match)?)|Ma(tch|xForwards)|B(lock|adHeader)|Timeout|IOBufferSize|Domain|P(ass(Reverse)?|reserveHost)|ErrorOverride|Via)?))|E(nable(MMAP|Sendfile|ExceptionHook)|BCDIC(Convert(ByType)?|Kludge)|rror(Header|Document|Log)|x(t(endedStatus|Filter(Options|Define))|pires(ByType|Default|Active)|ample))|Virtual(ScriptAlias(IP)?|Host|DocumentRoot(IP)?)|KeepAlive(Timeout)?|F(ile(s(Match)?|ETag)|or(ce(Type|LanguagePriority)|ensicLog)|ancyIndexing)|Win32DisableAcceptEx|L(i(sten(Back(log|Log))?|mit(Request(Body|Field(s(ize)?|Size)|Line)|XMLRequestBody|InternalRecursion|Except)?)|o(c(kFile|ation(Match)?)|ad(Module|File)|g(Format|Level))|DAP(SharedCache(Size|File)|Cache(TTL|Entries)|TrustedCA(Type)?|OpCache(TTL|Entries))|anguagePriority)|A(ssignUserID|nonymous(_(MustGiveEmail|NoUserID|VerifyEmail|LogEmail|Authoritative))?|c(ce(ss(Config|FileName)|pt(Mutex|PathInfo|Filter))|tion)|dd(Module(Info)?|Handler|Charset|Type|I(nputFilter|con(By(Type|Encoding))?)|OutputFilter(ByType)?|De(scription|faultCharset)|Encoding|Language|Alt(By(Type|Encoding))?)|uth(GroupFile|Name|Type|D(B(GroupFile|M(GroupFile|Type|UserFile|Authoritative)|UserFile|Authoritative)|igest(GroupFile|ShmemSize|N(cCheck|once(Format|Lifetime))|Domain|Qop|File|Algorithm))|UserFile|LDAP(RemoteUserIsDN|GroupAttribute(IsDN)?|Bind(DN|Password)|C(harsetConfig|ompareDNOnServer)|DereferenceAliases|Url|Enabled|FrontPageHack|Authoritative)|Authoritative)|l(ias(Match)?|low(CONNECT|Override|EncodedSlashes)?)|gentLog)|MIMEMagicFile|WSGI(.[^ ]+))\\b"},{"name":"support.class.apache-config","match":"\\b(access_module|actions_module|action_module|alias_module|anon_auth_module|asis_module|authn_alias_module|authn_anon_module|authn_dbd_module|authn_dbm_module|authn_default_module|authn_file_module|authnz_ldap_module|authz_dbm_module|authz_default_module|authz_groupfile_module|authz_host_module|authz_owner_module|authz_user_module|auth_basic_module|auth_digest_module|auth_module|autoindex_module|bonjour_module|cache_module|cern_meta_module|cgi_module|config_log_module|dav_fs_module|dav_module|dbd_module|dbm_auth_module|deflate_module|digest_module|dir_module|disk_cache_module|dumpio_module|env_module|expires_module|ext_filter_module|fastcgi_module|filter_module|foo_module|headers_module|hfs_apple_module|ident_module|imagemap_module|imap_module|includes_module|include_module|info_module|jk_module|ldap_module|logio_module|log_config_module|log_forensic_module|mem_cache_module|mime_magic_module|mime_module|negotiation_module|perl_module|php4_module|php5_module|proxy_ajp_module|proxy_balancer_module|proxy_connect_module|proxy_ftp_module|proxy_http_module|proxy_module|rendezvous_apple_module|rendezvous_module|rewrite_module|setenvif_module|speling_module|ssl_module|status_module|suexec_module|substitute_module|unique_id_module|userdir_module|usertrack_module|version_module|vhost_alias_module|wsgi_module)\\b"},{"name":"string.quoted.double.apache-config","begin":"\"","end":"\"(?!\")","patterns":[{"name":"constant.character.escape.apostrophe.apache","match":"\"\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.apache-config"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.apache-config"}}},{"name":"meta.tag.apache-config","begin":"(\u003c/?)([a-zA-Z]+)","end":"(/?\u003e)","captures":{"1":{"name":"punctuation.definition.tag.apache-config"},"2":{"name":"entity.name.tag.apache-config"}}}],"repository":{"vars":{"patterns":[{"name":"support.variable.apache-config","match":"(%\\{)(?:API_VERSION|AUTH_TYPE|CONN_REMOTE_ADDR|CONTEXT_(?:PREFIX|DOCUMENT_ROOT)|DOCUMENT_ROOT|HTTP(S|_(?:ACCEPT|COOKIE|FORWARDED|HOST|PROXY_CONNECTION|REFERER|USER_AGENT))|IPV6|IS_SUBREQ|REMOTE_(?:ADDR|HOST|IDENT|PORT|USER)|REQUEST_(?:FILENAME|METHOD|SCHEME|URI)|SCRIPT_(?:FILENAME|GROUP|USER)|PATH_INFO|QUERY_STRING|SERVER_(?:ADDR|ADMIN|NAME|PORT|PROTOCOL|SOFTWARE)|THE_REQUEST|TIME_(?:YEAR|MON|DAY|HOUR|MIN|SEC|WDAY)|TIME|(?:ENV|HTTP|LA-F|LA-U|SSL):[^\\}]+)(\\})","captures":{"1":{"name":"punctuation.definition.variable.apache-config"},"3":{"name":"punctuation.definition.variable.apache-config"}}},{"name":"invalid.illegal.bad-var.apache-config","match":"%\\{[^\\}]+\\}"}]}}}
@@ -1,65 +1 @@
1
- {
2
- "name": "mod_perl",
3
- "scopeName": "source.apache-config.mod_perl",
4
- "patterns": [
5
- {
6
- "name": "comment.block.documentation.apache-config.mod_perl",
7
- "begin": "^=",
8
- "end": "^=cut",
9
- "captures": {
10
- "0": {
11
- "name": "punctuation.definition.comment.mod_perl"
12
- }
13
- }
14
- },
15
- {
16
- "name": "support.constant.apache-config.mod_perl",
17
- "match": "\\b(PerlAddVar|PerlConfigRequire|PerlLoadModule|PerlModule|PerlOptions|PerlPassEnv|PerlPostConfigRequire|PerlRequire|PerlSetEnv|PerlSetVar|PerlSwitches|SetHandler|PerlOpenLogsHandler|PerlPostConfigHandler|PerlChildInitHandler|PerlChildExitHandler|PerlPreConnectionHandler|PerlProcessConnectionHandler|PerlInputFilterHandler|PerlOutputFilterHandler|PerlSetInputFilter|PerlSetOutputFilter|PerlPostReadRequestHandler|PerlTransHandler|PerlMapToStorageHandler|PerlInitHandler|PerlHeaderParserHandler|PerlAccessHandler|PerlAuthenHandler|PerlAuthzHandler|PerlTypeHandler|PerlFixupHandler|PerlResponseHandler|PerlLogHandler|PerlCleanupHandler|PerlInterpStart|PerlInterpMax|PerlInterpMinSpare|PerlInterpMaxSpare|PerlInterpMaxRequests|PerlInterpScope|PerlTrace)\\b"
18
- },
19
- {
20
- "name": "support.constant.apache-config.mod_perl_1.mod_perl",
21
- "match": "\\b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\\b"
22
- },
23
- {
24
- "name": "meta.perl-section.apache-config.mod_perl",
25
- "begin": "^\\s*((\u003c)(Perl)(\u003e))",
26
- "end": "^\\s*((\u003c/)(Perl)(\u003e))",
27
- "patterns": [
28
- {
29
- "include": "source.perl"
30
- }
31
- ],
32
- "beginCaptures": {
33
- "1": {
34
- "name": "meta.tag.apache-config"
35
- },
36
- "2": {
37
- "name": "punctuation.definition.tag.apache-config"
38
- },
39
- "3": {
40
- "name": "entity.name.tag.apache-config"
41
- },
42
- "4": {
43
- "name": "punctuation.definition.tag.apache-config"
44
- }
45
- },
46
- "endCaptures": {
47
- "1": {
48
- "name": "meta.tag.apache-config"
49
- },
50
- "2": {
51
- "name": "punctuation.definition.tag.apache-config"
52
- },
53
- "3": {
54
- "name": "entity.name.tag.apache-config"
55
- },
56
- "4": {
57
- "name": "punctuation.definition.tag.apache-config"
58
- }
59
- }
60
- },
61
- {
62
- "include": "source.apache-config"
63
- }
64
- ]
65
- }
1
+ {"name":"mod_perl","scopeName":"source.apache-config.mod_perl","patterns":[{"name":"comment.block.documentation.apache-config.mod_perl","begin":"^=","end":"^=cut","captures":{"0":{"name":"punctuation.definition.comment.mod_perl"}}},{"name":"support.constant.apache-config.mod_perl","match":"\\b(PerlAddVar|PerlConfigRequire|PerlLoadModule|PerlModule|PerlOptions|PerlPassEnv|PerlPostConfigRequire|PerlRequire|PerlSetEnv|PerlSetVar|PerlSwitches|SetHandler|PerlOpenLogsHandler|PerlPostConfigHandler|PerlChildInitHandler|PerlChildExitHandler|PerlPreConnectionHandler|PerlProcessConnectionHandler|PerlInputFilterHandler|PerlOutputFilterHandler|PerlSetInputFilter|PerlSetOutputFilter|PerlPostReadRequestHandler|PerlTransHandler|PerlMapToStorageHandler|PerlInitHandler|PerlHeaderParserHandler|PerlAccessHandler|PerlAuthenHandler|PerlAuthzHandler|PerlTypeHandler|PerlFixupHandler|PerlResponseHandler|PerlLogHandler|PerlCleanupHandler|PerlInterpStart|PerlInterpMax|PerlInterpMinSpare|PerlInterpMaxSpare|PerlInterpMaxRequests|PerlInterpScope|PerlTrace)\\b"},{"name":"support.constant.apache-config.mod_perl_1.mod_perl","match":"\\b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\\b"},{"name":"meta.perl-section.apache-config.mod_perl","begin":"^\\s*((\u003c)(Perl)(\u003e))","end":"^\\s*((\u003c/)(Perl)(\u003e))","patterns":[{"include":"source.perl"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"include":"source.apache-config"}]}
@@ -1,1427 +1 @@
1
- {
2
- "name": "APL",
3
- "scopeName": "source.apl",
4
- "patterns": [
5
- {
6
- "name": "comment.line.shebang.apl",
7
- "match": "\\A#!.*$"
8
- },
9
- {
10
- "include": "#heredocs"
11
- },
12
- {
13
- "include": "#main"
14
- },
15
- {
16
- "contentName": "text.embedded.apl",
17
- "begin": "^\\s*((\\))OFF|(\\])NEXTFILE)\\b(.*)$",
18
- "end": "(?=N)A",
19
- "beginCaptures": {
20
- "1": {
21
- "name": "entity.name.command.eof.apl"
22
- },
23
- "2": {
24
- "name": "punctuation.definition.command.apl"
25
- },
26
- "3": {
27
- "name": "punctuation.definition.command.apl"
28
- },
29
- "4": {
30
- "patterns": [
31
- {
32
- "include": "#comment"
33
- }
34
- ]
35
- }
36
- }
37
- },
38
- {
39
- "name": "meta.round.bracketed.group.apl",
40
- "begin": "\\(",
41
- "end": "\\)",
42
- "patterns": [
43
- {
44
- "include": "#main"
45
- }
46
- ],
47
- "beginCaptures": {
48
- "0": {
49
- "name": "punctuation.round.bracket.begin.apl"
50
- }
51
- },
52
- "endCaptures": {
53
- "0": {
54
- "name": "punctuation.round.bracket.end.apl"
55
- }
56
- }
57
- },
58
- {
59
- "name": "meta.square.bracketed.group.apl",
60
- "begin": "\\[",
61
- "end": "\\]",
62
- "patterns": [
63
- {
64
- "include": "#main"
65
- }
66
- ],
67
- "beginCaptures": {
68
- "0": {
69
- "name": "punctuation.square.bracket.begin.apl"
70
- }
71
- },
72
- "endCaptures": {
73
- "0": {
74
- "name": "punctuation.square.bracket.end.apl"
75
- }
76
- }
77
- },
78
- {
79
- "name": "meta.system.command.apl",
80
- "begin": "^\\s*((\\))\\S+)",
81
- "end": "$",
82
- "patterns": [
83
- {
84
- "include": "#command-arguments"
85
- },
86
- {
87
- "include": "#command-switches"
88
- },
89
- {
90
- "include": "#main"
91
- }
92
- ],
93
- "beginCaptures": {
94
- "1": {
95
- "name": "entity.name.command.apl"
96
- },
97
- "2": {
98
- "name": "punctuation.definition.command.apl"
99
- }
100
- }
101
- },
102
- {
103
- "name": "meta.user.command.apl",
104
- "begin": "^\\s*((\\])\\S+)",
105
- "end": "$",
106
- "patterns": [
107
- {
108
- "include": "#command-arguments"
109
- },
110
- {
111
- "include": "#command-switches"
112
- },
113
- {
114
- "include": "#main"
115
- }
116
- ],
117
- "beginCaptures": {
118
- "1": {
119
- "name": "entity.name.command.apl"
120
- },
121
- "2": {
122
- "name": "punctuation.definition.command.apl"
123
- }
124
- }
125
- }
126
- ],
127
- "repository": {
128
- "class": {
129
- "patterns": [
130
- {
131
- "begin": "(?x)\n(?\u003c=\\s|^)\n((:)Class)\n\\s+\n(\n\t'[^']*'?\n\t|\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n\\s*\n(\n\t(:)\n\t\\s*\n\t(?:\n\t\t(\n\t\t\t'[^']*'?\n\t\t\t|\n\t\t\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t\t\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n\t\t)\n\t\t\\s*\n\t)?\n)?\n(.*?)$",
132
- "end": "(?\u003c=\\s|^)((:)EndClass)(?=\\b)",
133
- "patterns": [
134
- {
135
- "name": "meta.field.apl",
136
- "begin": "(?\u003c=\\s|^)(:)Field(?=\\s)",
137
- "end": "\\s*(←.*)?(?:$|(?=⍝))",
138
- "patterns": [
139
- {
140
- "name": "storage.modifier.access.${1:/downcase}.apl",
141
- "match": "(?\u003c=\\s|^)(Public|Private)(?=\\s|$)"
142
- },
143
- {
144
- "name": "storage.modifier.${1:/downcase}.apl",
145
- "match": "(?\u003c=\\s|^)(Shared|Instance|ReadOnly)(?=\\s|$)"
146
- },
147
- {
148
- "name": "entity.name.type.apl",
149
- "match": "(?x)\n(\n\t'[^']*'?\n\t|\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)",
150
- "captures": {
151
- "1": {
152
- "include": "#strings"
153
- }
154
- }
155
- }
156
- ],
157
- "beginCaptures": {
158
- "0": {
159
- "name": "keyword.control.field.apl"
160
- },
161
- "1": {
162
- "name": "punctuation.definition.field.apl"
163
- }
164
- },
165
- "endCaptures": {
166
- "0": {
167
- "name": "entity.other.initial-value.apl"
168
- },
169
- "1": {
170
- "patterns": [
171
- {
172
- "include": "#main"
173
- }
174
- ]
175
- }
176
- }
177
- },
178
- {
179
- "include": "$self"
180
- }
181
- ],
182
- "beginCaptures": {
183
- "0": {
184
- "name": "meta.class.apl"
185
- },
186
- "1": {
187
- "name": "keyword.control.class.apl"
188
- },
189
- "2": {
190
- "name": "punctuation.definition.class.apl"
191
- },
192
- "3": {
193
- "name": "entity.name.type.class.apl",
194
- "patterns": [
195
- {
196
- "include": "#strings"
197
- }
198
- ]
199
- },
200
- "4": {
201
- "name": "entity.other.inherited-class.apl"
202
- },
203
- "5": {
204
- "name": "punctuation.separator.inheritance.apl"
205
- },
206
- "6": {
207
- "patterns": [
208
- {
209
- "include": "#strings"
210
- }
211
- ]
212
- },
213
- "7": {
214
- "name": "entity.other.class.interfaces.apl",
215
- "patterns": [
216
- {
217
- "include": "#csv"
218
- }
219
- ]
220
- }
221
- },
222
- "endCaptures": {
223
- "1": {
224
- "name": "keyword.control.class.apl"
225
- },
226
- "2": {
227
- "name": "punctuation.definition.class.apl"
228
- }
229
- }
230
- }
231
- ]
232
- },
233
- "command-arguments": {
234
- "patterns": [
235
- {
236
- "name": "variable.parameter.argument.apl",
237
- "begin": "\\b(?=\\S)",
238
- "end": "\\b(?=\\s)",
239
- "patterns": [
240
- {
241
- "include": "#main"
242
- }
243
- ]
244
- }
245
- ]
246
- },
247
- "command-switches": {
248
- "patterns": [
249
- {
250
- "name": "variable.parameter.switch.apl",
251
- "begin": "(?x)\n(?\u003c=\\s)(-)\n(\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n(=)",
252
- "end": "\\b(?=\\s)",
253
- "patterns": [
254
- {
255
- "include": "#main"
256
- }
257
- ],
258
- "beginCaptures": {
259
- "1": {
260
- "name": "punctuation.delimiter.switch.apl"
261
- },
262
- "2": {
263
- "name": "entity.name.switch.apl"
264
- },
265
- "3": {
266
- "name": "punctuation.assignment.switch.apl"
267
- }
268
- }
269
- },
270
- {
271
- "name": "variable.parameter.switch.apl",
272
- "match": "(?x)\n(?\u003c=\\s)(-)\n(\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n(?!=)",
273
- "captures": {
274
- "1": {
275
- "name": "punctuation.delimiter.switch.apl"
276
- },
277
- "2": {
278
- "name": "entity.name.switch.apl"
279
- }
280
- }
281
- }
282
- ]
283
- },
284
- "comment": {
285
- "name": "comment.line.apl",
286
- "begin": "⍝",
287
- "end": "$",
288
- "captures": {
289
- "0": {
290
- "name": "punctuation.definition.comment.apl"
291
- }
292
- }
293
- },
294
- "csv": {
295
- "patterns": [
296
- {
297
- "name": "punctuation.separator.apl",
298
- "match": ","
299
- },
300
- {
301
- "include": "$self"
302
- }
303
- ]
304
- },
305
- "definition": {
306
- "patterns": [
307
- {
308
- "name": "meta.function.apl",
309
- "begin": "(?x) ^\\s*? (?# 1: keyword.operator.nabla.apl) (∇) (?: \\s* (?: (?# 2: entity.function.return-value.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) | \\s* (?# 3: entity.function.return-value.shy.apl) ( (\\{) (?# 4: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}) (?# 5: punctuation.definition.return-value.end.apl) | (\\() (?# 6: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)) (?# 7: punctuation.definition.return-value.end.apl) | (\\(\\s*\\{) (?# 8: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}\\s*\\)) (?# 9: punctuation.definition.return-value.end.apl) | (\\{\\s*\\() (?# 10: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)\\s*\\}) (?# 11: punctuation.definition.return-value.end.apl) ) \\s* ) \\s* (?# 12: keyword.operator.assignment.apl) (←) )? \\s* (?: (?# MONADIC) (?: (?# 13: entity.function.name.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) \\s* (?# 14: entity.function.axis.apl) ( (?# 15: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* (?# 16: invalid.illegal.extra-characters.apl) (.*?) | (?# 17: invalid.illegal.apl) ([^\\]]*) ) \\s* (?# 18: punctuation.definition.axis.end.apl) (\\]) )? \\s*? (?# 19: entity.function.arguments.right.apl) ( (?\u003c=\\s|\\]) [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* | (\\() (?# 20: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)) (?# 21: punctuation.definition.arguments.end.apl) ) \\s* (?=;|$) ) | (?# DYADIC/AMBIVALENT) (?#==================) (?: (?# 22: entity.function.arguments.left.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s+ ) | (?# 23: entity.function.arguments.left.optional.apl) ( (\\{) (?# 24: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}) (?# 25: punctuation.definition.arguments.end.apl) | (\\(\\s*\\{) (?# 26: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}\\s*\\)) (?# 27: punctuation.definition.arguments.end.apl) | (\\{\\s*\\() (?# 28: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)\\s*\\}) (?# 29: punctuation.definition.arguments.end.apl) ) )? \\s* (?: (?# 30: entity.function.name.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) \\s* (?# 31: entity.function.axis.apl) ( (?# 32: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* (?# 33: invalid.illegal.extra-characters.apl) (.*?) | (?# 34: invalid.illegal.apl) ([^\\]]*) ) \\s* (?# 35: punctuation.definition.axis.end.apl) (\\]) )? | (?# 36: entity.function.operands.apl) ( (?# 37: punctuation.definition.operands.begin.apl) (\\() (?# 38: entity.function.operands.left.apl) ( \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* )? \\s* (?# 39: entity.function.name.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) \\s*? (?# 40: entity.function.axis.apl) ( (?# 41: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* (?# 42: invalid.illegal.extra-characters.apl) (.*?) | (?# 43: invalid.illegal.apl) ([^\\]]*) ) \\s* (?# 44: punctuation.definition.axis.end.apl) (\\]) )? \\s* (?# 45: entity.function.operands.right.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )? (?# 46: punctuation.definition.operands.end.apl) (\\)) ) ) \\s* (?# 47: entity.function.arguments.right.apl) ( (?\u003c=\\s|\\]) [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* | \\s* (\\() (?# 48: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)) (?# 49: punctuation.definition.arguments.end.apl) )? (?#==================) ) \\s* (?# 50: invalid.illegal.arguments.right.apl) ([^;]+)? (?# 51: entity.function.local-variables.apl) ( (?# 52: Include “;”) ( (?\u003e \\s* ; (?: \\s* [⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )+ )+ ) | (?# 53: invalid.illegal.local-variables.apl) ([^⍝]+) )? \\s* (?# 54: comment.line.apl) (⍝.*)? $",
310
- "end": "^\\s*?(?:(∇)|(⍫))\\s*?(⍝.*?)?$",
311
- "patterns": [
312
- {
313
- "name": "entity.function.definition.apl",
314
- "match": "(?x)\n^\\s*\n(\n\t(?\u003e\n\t\t;\n\t\t(?:\n\t\t\t\\s*\n\t\t\t[⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t\t\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n\t\t\t\\s*\n\t\t)+\n\t)+\n)",
315
- "captures": {
316
- "0": {
317
- "name": "entity.function.local-variables.apl"
318
- },
319
- "1": {
320
- "patterns": [
321
- {
322
- "name": "punctuation.separator.apl",
323
- "match": ";"
324
- }
325
- ]
326
- }
327
- }
328
- },
329
- {
330
- "include": "$self"
331
- }
332
- ],
333
- "beginCaptures": {
334
- "0": {
335
- "name": "entity.function.definition.apl"
336
- },
337
- "1": {
338
- "name": "keyword.operator.nabla.apl"
339
- },
340
- "10": {
341
- "name": "punctuation.definition.return-value.begin.apl"
342
- },
343
- "11": {
344
- "name": "punctuation.definition.return-value.end.apl"
345
- },
346
- "12": {
347
- "name": "keyword.operator.assignment.apl"
348
- },
349
- "13": {
350
- "name": "entity.function.name.apl",
351
- "patterns": [
352
- {
353
- "include": "#embolden"
354
- }
355
- ]
356
- },
357
- "14": {
358
- "name": "entity.function.axis.apl"
359
- },
360
- "15": {
361
- "name": "punctuation.definition.axis.begin.apl"
362
- },
363
- "16": {
364
- "name": "invalid.illegal.extra-characters.apl"
365
- },
366
- "17": {
367
- "name": "invalid.illegal.apl"
368
- },
369
- "18": {
370
- "name": "punctuation.definition.axis.end.apl"
371
- },
372
- "19": {
373
- "name": "entity.function.arguments.right.apl"
374
- },
375
- "2": {
376
- "name": "entity.function.return-value.apl"
377
- },
378
- "20": {
379
- "name": "punctuation.definition.arguments.begin.apl"
380
- },
381
- "21": {
382
- "name": "punctuation.definition.arguments.end.apl"
383
- },
384
- "22": {
385
- "name": "entity.function.arguments.left.apl"
386
- },
387
- "23": {
388
- "name": "entity.function.arguments.left.optional.apl"
389
- },
390
- "24": {
391
- "name": "punctuation.definition.arguments.begin.apl"
392
- },
393
- "25": {
394
- "name": "punctuation.definition.arguments.end.apl"
395
- },
396
- "26": {
397
- "name": "punctuation.definition.arguments.begin.apl"
398
- },
399
- "27": {
400
- "name": "punctuation.definition.arguments.end.apl"
401
- },
402
- "28": {
403
- "name": "punctuation.definition.arguments.begin.apl"
404
- },
405
- "29": {
406
- "name": "punctuation.definition.arguments.end.apl"
407
- },
408
- "3": {
409
- "name": "entity.function.return-value.shy.apl"
410
- },
411
- "30": {
412
- "name": "entity.function.name.apl",
413
- "patterns": [
414
- {
415
- "include": "#embolden"
416
- }
417
- ]
418
- },
419
- "31": {
420
- "name": "entity.function.axis.apl"
421
- },
422
- "32": {
423
- "name": "punctuation.definition.axis.begin.apl"
424
- },
425
- "33": {
426
- "name": "invalid.illegal.extra-characters.apl"
427
- },
428
- "34": {
429
- "name": "invalid.illegal.apl"
430
- },
431
- "35": {
432
- "name": "punctuation.definition.axis.end.apl"
433
- },
434
- "36": {
435
- "name": "entity.function.operands.apl"
436
- },
437
- "37": {
438
- "name": "punctuation.definition.operands.begin.apl"
439
- },
440
- "38": {
441
- "name": "entity.function.operands.left.apl"
442
- },
443
- "39": {
444
- "name": "entity.function.name.apl",
445
- "patterns": [
446
- {
447
- "include": "#embolden"
448
- }
449
- ]
450
- },
451
- "4": {
452
- "name": "punctuation.definition.return-value.begin.apl"
453
- },
454
- "40": {
455
- "name": "entity.function.axis.apl"
456
- },
457
- "41": {
458
- "name": "punctuation.definition.axis.begin.apl"
459
- },
460
- "42": {
461
- "name": "invalid.illegal.extra-characters.apl"
462
- },
463
- "43": {
464
- "name": "invalid.illegal.apl"
465
- },
466
- "44": {
467
- "name": "punctuation.definition.axis.end.apl"
468
- },
469
- "45": {
470
- "name": "entity.function.operands.right.apl"
471
- },
472
- "46": {
473
- "name": "punctuation.definition.operands.end.apl"
474
- },
475
- "47": {
476
- "name": "entity.function.arguments.right.apl"
477
- },
478
- "48": {
479
- "name": "punctuation.definition.arguments.begin.apl"
480
- },
481
- "49": {
482
- "name": "punctuation.definition.arguments.end.apl"
483
- },
484
- "5": {
485
- "name": "punctuation.definition.return-value.end.apl"
486
- },
487
- "50": {
488
- "name": "invalid.illegal.arguments.right.apl"
489
- },
490
- "51": {
491
- "name": "entity.function.local-variables.apl"
492
- },
493
- "52": {
494
- "patterns": [
495
- {
496
- "name": "punctuation.separator.apl",
497
- "match": ";"
498
- }
499
- ]
500
- },
501
- "53": {
502
- "name": "invalid.illegal.local-variables.apl"
503
- },
504
- "54": {
505
- "name": "comment.line.apl"
506
- },
507
- "6": {
508
- "name": "punctuation.definition.return-value.begin.apl"
509
- },
510
- "7": {
511
- "name": "punctuation.definition.return-value.end.apl"
512
- },
513
- "8": {
514
- "name": "punctuation.definition.return-value.begin.apl"
515
- },
516
- "9": {
517
- "name": "punctuation.definition.return-value.end.apl"
518
- }
519
- },
520
- "endCaptures": {
521
- "1": {
522
- "name": "keyword.operator.nabla.apl"
523
- },
524
- "2": {
525
- "name": "keyword.operator.lock.apl"
526
- },
527
- "3": {
528
- "name": "comment.line.apl"
529
- }
530
- }
531
- }
532
- ]
533
- },
534
- "embedded-apl": {
535
- "patterns": [
536
- {
537
- "name": "meta.embedded.block.apl",
538
- "begin": "(?i)(\u003c(\\?|%)(?:apl(?=\\s+)|=))",
539
- "end": "(?\u003c=\\s)(\\2\u003e)",
540
- "patterns": [
541
- {
542
- "include": "#main"
543
- }
544
- ],
545
- "beginCaptures": {
546
- "1": {
547
- "name": "punctuation.section.embedded.begin.apl"
548
- }
549
- },
550
- "endCaptures": {
551
- "1": {
552
- "name": "punctuation.section.embedded.end.apl"
553
- }
554
- }
555
- }
556
- ]
557
- },
558
- "embolden": {
559
- "name": "markup.bold.identifier.apl",
560
- "match": ".+"
561
- },
562
- "heredocs": {
563
- "patterns": [
564
- {
565
- "name": "meta.heredoc.apl",
566
- "contentName": "text.embedded.html.basic",
567
- "begin": "^.*?⎕INP\\s+('|\")((?i).*?HTML?.*?|END-OF-⎕INP)\\1.*$",
568
- "end": "^.*?\\2.*?$",
569
- "patterns": [
570
- {
571
- "include": "text.html.basic"
572
- },
573
- {
574
- "include": "#embedded-apl"
575
- }
576
- ],
577
- "beginCaptures": {
578
- "0": {
579
- "patterns": [
580
- {
581
- "include": "#main"
582
- }
583
- ]
584
- }
585
- },
586
- "endCaptures": {
587
- "0": {
588
- "name": "constant.other.apl"
589
- }
590
- }
591
- },
592
- {
593
- "name": "meta.heredoc.apl",
594
- "contentName": "text.embedded.xml",
595
- "begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:XML|XSLT|SVG|RSS).*?)\\1.*$",
596
- "end": "^.*?\\2.*?$",
597
- "patterns": [
598
- {
599
- "include": "text.xml"
600
- },
601
- {
602
- "include": "#embedded-apl"
603
- }
604
- ],
605
- "beginCaptures": {
606
- "0": {
607
- "patterns": [
608
- {
609
- "include": "#main"
610
- }
611
- ]
612
- }
613
- },
614
- "endCaptures": {
615
- "0": {
616
- "name": "constant.other.apl"
617
- }
618
- }
619
- },
620
- {
621
- "name": "meta.heredoc.apl",
622
- "contentName": "source.embedded.css",
623
- "begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:CSS|stylesheet).*?)\\1.*$",
624
- "end": "^.*?\\2.*?$",
625
- "patterns": [
626
- {
627
- "include": "source.css"
628
- },
629
- {
630
- "include": "#embedded-apl"
631
- }
632
- ],
633
- "beginCaptures": {
634
- "0": {
635
- "patterns": [
636
- {
637
- "include": "#main"
638
- }
639
- ]
640
- }
641
- },
642
- "endCaptures": {
643
- "0": {
644
- "name": "constant.other.apl"
645
- }
646
- }
647
- },
648
- {
649
- "name": "meta.heredoc.apl",
650
- "contentName": "source.embedded.js",
651
- "begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:JS(?!ON)|(?:ECMA|J|Java).?Script).*?)\\1.*$",
652
- "end": "^.*?\\2.*?$",
653
- "patterns": [
654
- {
655
- "include": "source.js"
656
- },
657
- {
658
- "include": "#embedded-apl"
659
- }
660
- ],
661
- "beginCaptures": {
662
- "0": {
663
- "patterns": [
664
- {
665
- "include": "#main"
666
- }
667
- ]
668
- }
669
- },
670
- "endCaptures": {
671
- "0": {
672
- "name": "constant.other.apl"
673
- }
674
- }
675
- },
676
- {
677
- "name": "meta.heredoc.apl",
678
- "contentName": "source.embedded.json",
679
- "begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:JSON).*?)\\1.*$",
680
- "end": "^.*?\\2.*?$",
681
- "patterns": [
682
- {
683
- "include": "source.json"
684
- },
685
- {
686
- "include": "#embedded-apl"
687
- }
688
- ],
689
- "beginCaptures": {
690
- "0": {
691
- "patterns": [
692
- {
693
- "include": "#main"
694
- }
695
- ]
696
- }
697
- },
698
- "endCaptures": {
699
- "0": {
700
- "name": "constant.other.apl"
701
- }
702
- }
703
- },
704
- {
705
- "name": "meta.heredoc.apl",
706
- "contentName": "text.embedded.plain",
707
- "begin": "^.*?⎕INP\\s+('|\")(?i)((?:Raw|Plain)?\\s*Te?xt)\\1.*$",
708
- "end": "^.*?\\2.*?$",
709
- "patterns": [
710
- {
711
- "include": "#embedded-apl"
712
- }
713
- ],
714
- "beginCaptures": {
715
- "0": {
716
- "patterns": [
717
- {
718
- "include": "#main"
719
- }
720
- ]
721
- }
722
- },
723
- "endCaptures": {
724
- "0": {
725
- "name": "constant.other.apl"
726
- }
727
- }
728
- },
729
- {
730
- "name": "meta.heredoc.apl",
731
- "begin": "^.*?⎕INP\\s+('|\")(.*?)\\1.*$",
732
- "end": "^.*?\\2.*?$",
733
- "patterns": [
734
- {
735
- "include": "$self"
736
- }
737
- ],
738
- "beginCaptures": {
739
- "0": {
740
- "patterns": [
741
- {
742
- "include": "#main"
743
- }
744
- ]
745
- }
746
- },
747
- "endCaptures": {
748
- "0": {
749
- "name": "constant.other.apl"
750
- }
751
- }
752
- }
753
- ]
754
- },
755
- "label": {
756
- "patterns": [
757
- {
758
- "name": "meta.label.apl",
759
- "match": "(?x)\n^\\s*\n(\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n(:)",
760
- "captures": {
761
- "1": {
762
- "name": "entity.label.name.apl"
763
- },
764
- "2": {
765
- "name": "punctuation.definition.label.end.apl"
766
- }
767
- }
768
- }
769
- ]
770
- },
771
- "lambda": {
772
- "name": "meta.lambda.function.apl",
773
- "begin": "\\{",
774
- "end": "\\}",
775
- "patterns": [
776
- {
777
- "include": "#main"
778
- },
779
- {
780
- "include": "#lambda-variables"
781
- }
782
- ],
783
- "beginCaptures": {
784
- "0": {
785
- "name": "punctuation.definition.lambda.begin.apl"
786
- }
787
- },
788
- "endCaptures": {
789
- "0": {
790
- "name": "punctuation.definition.lambda.end.apl"
791
- }
792
- }
793
- },
794
- "lambda-variables": {
795
- "patterns": [
796
- {
797
- "name": "constant.language.lambda.operands.left.apl",
798
- "match": "⍺⍺"
799
- },
800
- {
801
- "name": "constant.language.lambda.operands.right.apl",
802
- "match": "⍵⍵"
803
- },
804
- {
805
- "name": "constant.language.lambda.arguments.left.apl",
806
- "match": "[⍺⍶]"
807
- },
808
- {
809
- "name": "constant.language.lambda.arguments.right.apl",
810
- "match": "[⍵⍹]"
811
- },
812
- {
813
- "name": "constant.language.lambda.arguments.axis.apl",
814
- "match": "χ"
815
- },
816
- {
817
- "name": "constant.language.lambda.operands.self.operator.apl",
818
- "match": "∇∇"
819
- },
820
- {
821
- "name": "constant.language.lambda.operands.self.function.apl",
822
- "match": "∇"
823
- },
824
- {
825
- "name": "constant.language.lambda.symbol.apl",
826
- "match": "λ"
827
- }
828
- ]
829
- },
830
- "main": {
831
- "patterns": [
832
- {
833
- "include": "#class"
834
- },
835
- {
836
- "include": "#definition"
837
- },
838
- {
839
- "include": "#comment"
840
- },
841
- {
842
- "include": "#label"
843
- },
844
- {
845
- "include": "#sck"
846
- },
847
- {
848
- "include": "#strings"
849
- },
850
- {
851
- "include": "#number"
852
- },
853
- {
854
- "include": "#lambda"
855
- },
856
- {
857
- "include": "#sysvars"
858
- },
859
- {
860
- "include": "#symbols"
861
- },
862
- {
863
- "include": "#name"
864
- }
865
- ]
866
- },
867
- "name": {
868
- "name": "variable.other.readwrite.apl",
869
- "match": "(?x)\n[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*"
870
- },
871
- "number": {
872
- "name": "constant.numeric.apl",
873
- "match": "¯?[0-9][¯0-9A-Za-z]*(?:\\.[¯0-9Ee][¯0-9A-Za-z]*)*|¯?\\.[0-9Ee][¯0-9A-Za-z]*"
874
- },
875
- "sck": {
876
- "patterns": [
877
- {
878
- "name": "keyword.control.sck.apl",
879
- "match": "(?\u003c=\\s|^)(:)[A-Za-z]+",
880
- "captures": {
881
- "1": {
882
- "name": "punctuation.definition.sck.begin.apl"
883
- }
884
- }
885
- }
886
- ]
887
- },
888
- "strings": {
889
- "patterns": [
890
- {
891
- "name": "string.quoted.single.apl",
892
- "begin": "'",
893
- "end": "'|$",
894
- "patterns": [
895
- {
896
- "name": "invalid.illegal.string.apl",
897
- "match": "[^']*[^'\\n\\r\\\\]$"
898
- }
899
- ],
900
- "beginCaptures": {
901
- "0": {
902
- "name": "punctuation.definition.string.begin.apl"
903
- }
904
- },
905
- "endCaptures": {
906
- "0": {
907
- "name": "punctuation.definition.string.end.apl"
908
- }
909
- }
910
- },
911
- {
912
- "name": "string.quoted.double.apl",
913
- "begin": "\"",
914
- "end": "\"|$",
915
- "patterns": [
916
- {
917
- "name": "invalid.illegal.string.apl",
918
- "match": "[^\"]*[^\"\\n\\r\\\\]$"
919
- }
920
- ],
921
- "beginCaptures": {
922
- "0": {
923
- "name": "punctuation.definition.string.begin.apl"
924
- }
925
- },
926
- "endCaptures": {
927
- "0": {
928
- "name": "punctuation.definition.string.end.apl"
929
- }
930
- }
931
- }
932
- ]
933
- },
934
- "symbols": {
935
- "patterns": [
936
- {
937
- "name": "keyword.spaced.operator.assignment.apl",
938
- "match": "(?\u003c=\\s)←(?=\\s|$)"
939
- },
940
- {
941
- "name": "keyword.spaced.control.goto.apl",
942
- "match": "(?\u003c=\\s)→(?=\\s|$)"
943
- },
944
- {
945
- "name": "keyword.spaced.operator.identical.apl",
946
- "match": "(?\u003c=\\s)≡(?=\\s|$)"
947
- },
948
- {
949
- "name": "keyword.spaced.operator.not-identical.apl",
950
- "match": "(?\u003c=\\s)≢(?=\\s|$)"
951
- },
952
- {
953
- "name": "keyword.operator.plus.apl",
954
- "match": "\\+"
955
- },
956
- {
957
- "name": "keyword.operator.minus.apl",
958
- "match": "[-−]"
959
- },
960
- {
961
- "name": "keyword.operator.times.apl",
962
- "match": "×"
963
- },
964
- {
965
- "name": "keyword.operator.divide.apl",
966
- "match": "÷"
967
- },
968
- {
969
- "name": "keyword.operator.floor.apl",
970
- "match": "⌊"
971
- },
972
- {
973
- "name": "keyword.operator.ceiling.apl",
974
- "match": "⌈"
975
- },
976
- {
977
- "name": "keyword.operator.absolute.apl",
978
- "match": "[∣|]"
979
- },
980
- {
981
- "name": "keyword.operator.exponent.apl",
982
- "match": "[⋆*]"
983
- },
984
- {
985
- "name": "keyword.operator.logarithm.apl",
986
- "match": "⍟"
987
- },
988
- {
989
- "name": "keyword.operator.circle.apl",
990
- "match": "○"
991
- },
992
- {
993
- "name": "keyword.operator.factorial.apl",
994
- "match": "!"
995
- },
996
- {
997
- "name": "keyword.operator.and.apl",
998
- "match": "∧"
999
- },
1000
- {
1001
- "name": "keyword.operator.or.apl",
1002
- "match": "∨"
1003
- },
1004
- {
1005
- "name": "keyword.operator.nand.apl",
1006
- "match": "⍲"
1007
- },
1008
- {
1009
- "name": "keyword.operator.nor.apl",
1010
- "match": "⍱"
1011
- },
1012
- {
1013
- "name": "keyword.operator.less.apl",
1014
- "match": "\u003c"
1015
- },
1016
- {
1017
- "name": "keyword.operator.less-or-equal.apl",
1018
- "match": "≤"
1019
- },
1020
- {
1021
- "name": "keyword.operator.equal.apl",
1022
- "match": "="
1023
- },
1024
- {
1025
- "name": "keyword.operator.greater-or-equal.apl",
1026
- "match": "≥"
1027
- },
1028
- {
1029
- "name": "keyword.operator.greater.apl",
1030
- "match": "\u003e"
1031
- },
1032
- {
1033
- "name": "keyword.operator.not-equal.apl",
1034
- "match": "≠"
1035
- },
1036
- {
1037
- "name": "keyword.operator.tilde.apl",
1038
- "match": "[∼~]"
1039
- },
1040
- {
1041
- "name": "keyword.operator.random.apl",
1042
- "match": "\\?"
1043
- },
1044
- {
1045
- "name": "keyword.operator.member-of.apl",
1046
- "match": "[∊∈]"
1047
- },
1048
- {
1049
- "name": "keyword.operator.find.apl",
1050
- "match": "⍷"
1051
- },
1052
- {
1053
- "name": "keyword.operator.comma.apl",
1054
- "match": ","
1055
- },
1056
- {
1057
- "name": "keyword.operator.comma-bar.apl",
1058
- "match": "⍪"
1059
- },
1060
- {
1061
- "name": "keyword.operator.squad.apl",
1062
- "match": "⌷"
1063
- },
1064
- {
1065
- "name": "keyword.operator.iota.apl",
1066
- "match": "⍳"
1067
- },
1068
- {
1069
- "name": "keyword.operator.rho.apl",
1070
- "match": "⍴"
1071
- },
1072
- {
1073
- "name": "keyword.operator.take.apl",
1074
- "match": "↑"
1075
- },
1076
- {
1077
- "name": "keyword.operator.drop.apl",
1078
- "match": "↓"
1079
- },
1080
- {
1081
- "name": "keyword.operator.left.apl",
1082
- "match": "⊣"
1083
- },
1084
- {
1085
- "name": "keyword.operator.right.apl",
1086
- "match": "⊢"
1087
- },
1088
- {
1089
- "name": "keyword.operator.encode.apl",
1090
- "match": "⊤"
1091
- },
1092
- {
1093
- "name": "keyword.operator.decode.apl",
1094
- "match": "⊥"
1095
- },
1096
- {
1097
- "name": "keyword.operator.slash.apl",
1098
- "match": "\\/"
1099
- },
1100
- {
1101
- "name": "keyword.operator.slash-bar.apl",
1102
- "match": "⌿"
1103
- },
1104
- {
1105
- "name": "keyword.operator.backslash.apl",
1106
- "match": "\\x5C"
1107
- },
1108
- {
1109
- "name": "keyword.operator.backslash-bar.apl",
1110
- "match": "⍀"
1111
- },
1112
- {
1113
- "name": "keyword.operator.rotate-last.apl",
1114
- "match": "⌽"
1115
- },
1116
- {
1117
- "name": "keyword.operator.rotate-first.apl",
1118
- "match": "⊖"
1119
- },
1120
- {
1121
- "name": "keyword.operator.transpose.apl",
1122
- "match": "⍉"
1123
- },
1124
- {
1125
- "name": "keyword.operator.grade-up.apl",
1126
- "match": "⍋"
1127
- },
1128
- {
1129
- "name": "keyword.operator.grade-down.apl",
1130
- "match": "⍒"
1131
- },
1132
- {
1133
- "name": "keyword.operator.quad-divide.apl",
1134
- "match": "⌹"
1135
- },
1136
- {
1137
- "name": "keyword.operator.identical.apl",
1138
- "match": "≡"
1139
- },
1140
- {
1141
- "name": "keyword.operator.not-identical.apl",
1142
- "match": "≢"
1143
- },
1144
- {
1145
- "name": "keyword.operator.enclose.apl",
1146
- "match": "⊂"
1147
- },
1148
- {
1149
- "name": "keyword.operator.pick.apl",
1150
- "match": "⊃"
1151
- },
1152
- {
1153
- "name": "keyword.operator.intersection.apl",
1154
- "match": "∩"
1155
- },
1156
- {
1157
- "name": "keyword.operator.union.apl",
1158
- "match": "∪"
1159
- },
1160
- {
1161
- "name": "keyword.operator.hydrant.apl",
1162
- "match": "⍎"
1163
- },
1164
- {
1165
- "name": "keyword.operator.thorn.apl",
1166
- "match": "⍕"
1167
- },
1168
- {
1169
- "name": "keyword.operator.underbar-shoe-left.apl",
1170
- "match": "⊆"
1171
- },
1172
- {
1173
- "name": "keyword.operator.underbar-iota.apl",
1174
- "match": "⍸"
1175
- },
1176
- {
1177
- "name": "keyword.operator.each.apl",
1178
- "match": "¨"
1179
- },
1180
- {
1181
- "name": "keyword.operator.rank.apl",
1182
- "match": "⍤"
1183
- },
1184
- {
1185
- "name": "keyword.operator.quad-equal.apl",
1186
- "match": "⌸"
1187
- },
1188
- {
1189
- "name": "keyword.operator.commute.apl",
1190
- "match": "⍨"
1191
- },
1192
- {
1193
- "name": "keyword.operator.power.apl",
1194
- "match": "⍣"
1195
- },
1196
- {
1197
- "name": "keyword.operator.dot.apl",
1198
- "match": "\\."
1199
- },
1200
- {
1201
- "name": "keyword.operator.jot.apl",
1202
- "match": "∘"
1203
- },
1204
- {
1205
- "name": "keyword.operator.quad-colon.apl",
1206
- "match": "⍠"
1207
- },
1208
- {
1209
- "name": "keyword.operator.ampersand.apl",
1210
- "match": "\u0026"
1211
- },
1212
- {
1213
- "name": "keyword.operator.i-beam.apl",
1214
- "match": "⌶"
1215
- },
1216
- {
1217
- "name": "keyword.operator.quad-diamond.apl",
1218
- "match": "⌺"
1219
- },
1220
- {
1221
- "name": "keyword.operator.at.apl",
1222
- "match": "@"
1223
- },
1224
- {
1225
- "name": "keyword.operator.lozenge.apl",
1226
- "match": "◊"
1227
- },
1228
- {
1229
- "name": "keyword.operator.semicolon.apl",
1230
- "match": ";"
1231
- },
1232
- {
1233
- "name": "keyword.operator.high-minus.apl",
1234
- "match": "¯"
1235
- },
1236
- {
1237
- "name": "keyword.operator.assignment.apl",
1238
- "match": "←"
1239
- },
1240
- {
1241
- "name": "keyword.control.goto.apl",
1242
- "match": "→"
1243
- },
1244
- {
1245
- "name": "constant.language.zilde.apl",
1246
- "match": "⍬"
1247
- },
1248
- {
1249
- "name": "keyword.operator.diamond.apl",
1250
- "match": "⋄"
1251
- },
1252
- {
1253
- "name": "keyword.operator.lock.apl",
1254
- "match": "⍫"
1255
- },
1256
- {
1257
- "name": "keyword.operator.quad.apl",
1258
- "match": "⎕"
1259
- },
1260
- {
1261
- "name": "constant.language.namespace.parent.apl",
1262
- "match": "##"
1263
- },
1264
- {
1265
- "name": "constant.language.namespace.root.apl",
1266
- "match": "#"
1267
- },
1268
- {
1269
- "name": "keyword.operator.quad-jot.apl",
1270
- "match": "⌻"
1271
- },
1272
- {
1273
- "name": "keyword.operator.quad-circle.apl",
1274
- "match": "⌼"
1275
- },
1276
- {
1277
- "name": "keyword.operator.circle-jot.apl",
1278
- "match": "⌾"
1279
- },
1280
- {
1281
- "name": "keyword.operator.quad-slash.apl",
1282
- "match": "⍁"
1283
- },
1284
- {
1285
- "name": "keyword.operator.quad-backslash.apl",
1286
- "match": "⍂"
1287
- },
1288
- {
1289
- "name": "keyword.operator.quad-less.apl",
1290
- "match": "⍃"
1291
- },
1292
- {
1293
- "name": "keyword.operator.greater.apl",
1294
- "match": "⍄"
1295
- },
1296
- {
1297
- "name": "keyword.operator.vane-left.apl",
1298
- "match": "⍅"
1299
- },
1300
- {
1301
- "name": "keyword.operator.vane-right.apl",
1302
- "match": "⍆"
1303
- },
1304
- {
1305
- "name": "keyword.operator.quad-arrow-left.apl",
1306
- "match": "⍇"
1307
- },
1308
- {
1309
- "name": "keyword.operator.quad-arrow-right.apl",
1310
- "match": "⍈"
1311
- },
1312
- {
1313
- "name": "keyword.operator.tack-down.apl",
1314
- "match": "⍊"
1315
- },
1316
- {
1317
- "name": "keyword.operator.quad-caret-down.apl",
1318
- "match": "⍌"
1319
- },
1320
- {
1321
- "name": "keyword.operator.quad-del-up.apl",
1322
- "match": "⍍"
1323
- },
1324
- {
1325
- "name": "keyword.operator.vane-up.apl",
1326
- "match": "⍏"
1327
- },
1328
- {
1329
- "name": "keyword.operator.quad-arrow-up.apl",
1330
- "match": "⍐"
1331
- },
1332
- {
1333
- "name": "keyword.operator.tack-up.apl",
1334
- "match": "⍑"
1335
- },
1336
- {
1337
- "name": "keyword.operator.quad-caret-up.apl",
1338
- "match": "⍓"
1339
- },
1340
- {
1341
- "name": "keyword.operator.quad-del-down.apl",
1342
- "match": "⍔"
1343
- },
1344
- {
1345
- "name": "keyword.operator.vane-down.apl",
1346
- "match": "⍖"
1347
- },
1348
- {
1349
- "name": "keyword.operator.quad-arrow-down.apl",
1350
- "match": "⍗"
1351
- },
1352
- {
1353
- "name": "keyword.operator.underbar-quote.apl",
1354
- "match": "⍘"
1355
- },
1356
- {
1357
- "name": "keyword.operator.underbar-diamond.apl",
1358
- "match": "⍚"
1359
- },
1360
- {
1361
- "name": "keyword.operator.underbar-jot.apl",
1362
- "match": "⍛"
1363
- },
1364
- {
1365
- "name": "keyword.operator.underbar-circle.apl",
1366
- "match": "⍜"
1367
- },
1368
- {
1369
- "name": "keyword.operator.quad-quote.apl",
1370
- "match": "⍞"
1371
- },
1372
- {
1373
- "name": "keyword.operator.dotted-tack-up.apl",
1374
- "match": "⍡"
1375
- },
1376
- {
1377
- "name": "keyword.operator.dotted-del.apl",
1378
- "match": "⍢"
1379
- },
1380
- {
1381
- "name": "keyword.operator.dotted-circle.apl",
1382
- "match": "⍥"
1383
- },
1384
- {
1385
- "name": "keyword.operator.stile-shoe-up.apl",
1386
- "match": "⍦"
1387
- },
1388
- {
1389
- "name": "keyword.operator.stile-shoe-left.apl",
1390
- "match": "⍧"
1391
- },
1392
- {
1393
- "name": "keyword.operator.dotted-greater.apl",
1394
- "match": "⍩"
1395
- },
1396
- {
1397
- "name": "keyword.operator.stile-tilde.apl",
1398
- "match": "⍭"
1399
- },
1400
- {
1401
- "name": "keyword.operator.underbar-semicolon.apl",
1402
- "match": "⍮"
1403
- },
1404
- {
1405
- "name": "keyword.operator.quad-not-equal.apl",
1406
- "match": "⍯"
1407
- },
1408
- {
1409
- "name": "keyword.operator.quad-question.apl",
1410
- "match": "⍰"
1411
- }
1412
- ]
1413
- },
1414
- "sysvars": {
1415
- "name": "support.system.variable.apl",
1416
- "match": "(?:(⎕)|(⍞))[A-Za-z]*",
1417
- "captures": {
1418
- "1": {
1419
- "name": "punctuation.definition.quad.apl"
1420
- },
1421
- "2": {
1422
- "name": "punctuation.definition.quad-quote.apl"
1423
- }
1424
- }
1425
- }
1426
- }
1427
- }
1
+ {"name":"APL","scopeName":"source.apl","patterns":[{"name":"comment.line.shebang.apl","match":"\\A#!.*$"},{"include":"#heredocs"},{"include":"#main"},{"contentName":"text.embedded.apl","begin":"^\\s*((\\))OFF|(\\])NEXTFILE)\\b(.*)$","end":"(?=N)A","beginCaptures":{"1":{"name":"entity.name.command.eof.apl"},"2":{"name":"punctuation.definition.command.apl"},"3":{"name":"punctuation.definition.command.apl"},"4":{"patterns":[{"include":"#comment"}]}}},{"name":"meta.round.bracketed.group.apl","begin":"\\(","end":"\\)","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.round.bracket.begin.apl"}},"endCaptures":{"0":{"name":"punctuation.round.bracket.end.apl"}}},{"name":"meta.square.bracketed.group.apl","begin":"\\[","end":"\\]","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.square.bracket.begin.apl"}},"endCaptures":{"0":{"name":"punctuation.square.bracket.end.apl"}}},{"name":"meta.system.command.apl","begin":"^\\s*((\\))\\S+)","end":"$","patterns":[{"include":"#command-arguments"},{"include":"#command-switches"},{"include":"#main"}],"beginCaptures":{"1":{"name":"entity.name.command.apl"},"2":{"name":"punctuation.definition.command.apl"}}},{"name":"meta.user.command.apl","begin":"^\\s*((\\])\\S+)","end":"$","patterns":[{"include":"#command-arguments"},{"include":"#command-switches"},{"include":"#main"}],"beginCaptures":{"1":{"name":"entity.name.command.apl"},"2":{"name":"punctuation.definition.command.apl"}}}],"repository":{"class":{"patterns":[{"begin":"(?x)\n(?\u003c=\\s|^)\n((:)Class)\n\\s+\n(\n\t'[^']*'?\n\t|\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n\\s*\n(\n\t(:)\n\t\\s*\n\t(?:\n\t\t(\n\t\t\t'[^']*'?\n\t\t\t|\n\t\t\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t\t\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n\t\t)\n\t\t\\s*\n\t)?\n)?\n(.*?)$","end":"(?\u003c=\\s|^)((:)EndClass)(?=\\b)","patterns":[{"name":"meta.field.apl","begin":"(?\u003c=\\s|^)(:)Field(?=\\s)","end":"\\s*(←.*)?(?:$|(?=⍝))","patterns":[{"name":"storage.modifier.access.${1:/downcase}.apl","match":"(?\u003c=\\s|^)(Public|Private)(?=\\s|$)"},{"name":"storage.modifier.${1:/downcase}.apl","match":"(?\u003c=\\s|^)(Shared|Instance|ReadOnly)(?=\\s|$)"},{"name":"entity.name.type.apl","match":"(?x)\n(\n\t'[^']*'?\n\t|\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)","captures":{"1":{"include":"#strings"}}}],"beginCaptures":{"0":{"name":"keyword.control.field.apl"},"1":{"name":"punctuation.definition.field.apl"}},"endCaptures":{"0":{"name":"entity.other.initial-value.apl"},"1":{"patterns":[{"include":"#main"}]}}},{"include":"$self"}],"beginCaptures":{"0":{"name":"meta.class.apl"},"1":{"name":"keyword.control.class.apl"},"2":{"name":"punctuation.definition.class.apl"},"3":{"name":"entity.name.type.class.apl","patterns":[{"include":"#strings"}]},"4":{"name":"entity.other.inherited-class.apl"},"5":{"name":"punctuation.separator.inheritance.apl"},"6":{"patterns":[{"include":"#strings"}]},"7":{"name":"entity.other.class.interfaces.apl","patterns":[{"include":"#csv"}]}},"endCaptures":{"1":{"name":"keyword.control.class.apl"},"2":{"name":"punctuation.definition.class.apl"}}}]},"command-arguments":{"patterns":[{"name":"variable.parameter.argument.apl","begin":"\\b(?=\\S)","end":"\\b(?=\\s)","patterns":[{"include":"#main"}]}]},"command-switches":{"patterns":[{"name":"variable.parameter.switch.apl","begin":"(?x)\n(?\u003c=\\s)(-)\n(\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n(=)","end":"\\b(?=\\s)","patterns":[{"include":"#main"}],"beginCaptures":{"1":{"name":"punctuation.delimiter.switch.apl"},"2":{"name":"entity.name.switch.apl"},"3":{"name":"punctuation.assignment.switch.apl"}}},{"name":"variable.parameter.switch.apl","match":"(?x)\n(?\u003c=\\s)(-)\n(\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n(?!=)","captures":{"1":{"name":"punctuation.delimiter.switch.apl"},"2":{"name":"entity.name.switch.apl"}}}]},"comment":{"name":"comment.line.apl","begin":"⍝","end":"$","captures":{"0":{"name":"punctuation.definition.comment.apl"}}},"csv":{"patterns":[{"name":"punctuation.separator.apl","match":","},{"include":"$self"}]},"definition":{"patterns":[{"name":"meta.function.apl","begin":"(?x) ^\\s*? (?# 1: keyword.operator.nabla.apl) (∇) (?: \\s* (?: (?# 2: entity.function.return-value.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) | \\s* (?# 3: entity.function.return-value.shy.apl) ( (\\{) (?# 4: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}) (?# 5: punctuation.definition.return-value.end.apl) | (\\() (?# 6: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)) (?# 7: punctuation.definition.return-value.end.apl) | (\\(\\s*\\{) (?# 8: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}\\s*\\)) (?# 9: punctuation.definition.return-value.end.apl) | (\\{\\s*\\() (?# 10: punctuation.definition.return-value.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)\\s*\\}) (?# 11: punctuation.definition.return-value.end.apl) ) \\s* ) \\s* (?# 12: keyword.operator.assignment.apl) (←) )? \\s* (?: (?# MONADIC) (?: (?# 13: entity.function.name.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) \\s* (?# 14: entity.function.axis.apl) ( (?# 15: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* (?# 16: invalid.illegal.extra-characters.apl) (.*?) | (?# 17: invalid.illegal.apl) ([^\\]]*) ) \\s* (?# 18: punctuation.definition.axis.end.apl) (\\]) )? \\s*? (?# 19: entity.function.arguments.right.apl) ( (?\u003c=\\s|\\]) [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* | (\\() (?# 20: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)) (?# 21: punctuation.definition.arguments.end.apl) ) \\s* (?=;|$) ) | (?# DYADIC/AMBIVALENT) (?#==================) (?: (?# 22: entity.function.arguments.left.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s+ ) | (?# 23: entity.function.arguments.left.optional.apl) ( (\\{) (?# 24: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}) (?# 25: punctuation.definition.arguments.end.apl) | (\\(\\s*\\{) (?# 26: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\}\\s*\\)) (?# 27: punctuation.definition.arguments.end.apl) | (\\{\\s*\\() (?# 28: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)\\s*\\}) (?# 29: punctuation.definition.arguments.end.apl) ) )? \\s* (?: (?# 30: entity.function.name.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) \\s* (?# 31: entity.function.axis.apl) ( (?# 32: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* (?# 33: invalid.illegal.extra-characters.apl) (.*?) | (?# 34: invalid.illegal.apl) ([^\\]]*) ) \\s* (?# 35: punctuation.definition.axis.end.apl) (\\]) )? | (?# 36: entity.function.operands.apl) ( (?# 37: punctuation.definition.operands.begin.apl) (\\() (?# 38: entity.function.operands.left.apl) ( \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* )? \\s* (?# 39: entity.function.name.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* ) \\s*? (?# 40: entity.function.axis.apl) ( (?# 41: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* (?# 42: invalid.illegal.extra-characters.apl) (.*?) | (?# 43: invalid.illegal.apl) ([^\\]]*) ) \\s* (?# 44: punctuation.definition.axis.end.apl) (\\]) )? \\s* (?# 45: entity.function.operands.right.apl) ( [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )? (?# 46: punctuation.definition.operands.end.apl) (\\)) ) ) \\s* (?# 47: entity.function.arguments.right.apl) ( (?\u003c=\\s|\\]) [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* | \\s* (\\() (?# 48: punctuation.definition.arguments.begin.apl) (?: \\s* [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )* (\\)) (?# 49: punctuation.definition.arguments.end.apl) )? (?#==================) ) \\s* (?# 50: invalid.illegal.arguments.right.apl) ([^;]+)? (?# 51: entity.function.local-variables.apl) ( (?# 52: Include “;”) ( (?\u003e \\s* ; (?: \\s* [⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ] [A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]* \\s* )+ )+ ) | (?# 53: invalid.illegal.local-variables.apl) ([^⍝]+) )? \\s* (?# 54: comment.line.apl) (⍝.*)? $","end":"^\\s*?(?:(∇)|(⍫))\\s*?(⍝.*?)?$","patterns":[{"name":"entity.function.definition.apl","match":"(?x)\n^\\s*\n(\n\t(?\u003e\n\t\t;\n\t\t(?:\n\t\t\t\\s*\n\t\t\t[⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t\t\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n\t\t\t\\s*\n\t\t)+\n\t)+\n)","captures":{"0":{"name":"entity.function.local-variables.apl"},"1":{"patterns":[{"name":"punctuation.separator.apl","match":";"}]}}},{"include":"$self"}],"beginCaptures":{"0":{"name":"entity.function.definition.apl"},"1":{"name":"keyword.operator.nabla.apl"},"10":{"name":"punctuation.definition.return-value.begin.apl"},"11":{"name":"punctuation.definition.return-value.end.apl"},"12":{"name":"keyword.operator.assignment.apl"},"13":{"name":"entity.function.name.apl","patterns":[{"include":"#embolden"}]},"14":{"name":"entity.function.axis.apl"},"15":{"name":"punctuation.definition.axis.begin.apl"},"16":{"name":"invalid.illegal.extra-characters.apl"},"17":{"name":"invalid.illegal.apl"},"18":{"name":"punctuation.definition.axis.end.apl"},"19":{"name":"entity.function.arguments.right.apl"},"2":{"name":"entity.function.return-value.apl"},"20":{"name":"punctuation.definition.arguments.begin.apl"},"21":{"name":"punctuation.definition.arguments.end.apl"},"22":{"name":"entity.function.arguments.left.apl"},"23":{"name":"entity.function.arguments.left.optional.apl"},"24":{"name":"punctuation.definition.arguments.begin.apl"},"25":{"name":"punctuation.definition.arguments.end.apl"},"26":{"name":"punctuation.definition.arguments.begin.apl"},"27":{"name":"punctuation.definition.arguments.end.apl"},"28":{"name":"punctuation.definition.arguments.begin.apl"},"29":{"name":"punctuation.definition.arguments.end.apl"},"3":{"name":"entity.function.return-value.shy.apl"},"30":{"name":"entity.function.name.apl","patterns":[{"include":"#embolden"}]},"31":{"name":"entity.function.axis.apl"},"32":{"name":"punctuation.definition.axis.begin.apl"},"33":{"name":"invalid.illegal.extra-characters.apl"},"34":{"name":"invalid.illegal.apl"},"35":{"name":"punctuation.definition.axis.end.apl"},"36":{"name":"entity.function.operands.apl"},"37":{"name":"punctuation.definition.operands.begin.apl"},"38":{"name":"entity.function.operands.left.apl"},"39":{"name":"entity.function.name.apl","patterns":[{"include":"#embolden"}]},"4":{"name":"punctuation.definition.return-value.begin.apl"},"40":{"name":"entity.function.axis.apl"},"41":{"name":"punctuation.definition.axis.begin.apl"},"42":{"name":"invalid.illegal.extra-characters.apl"},"43":{"name":"invalid.illegal.apl"},"44":{"name":"punctuation.definition.axis.end.apl"},"45":{"name":"entity.function.operands.right.apl"},"46":{"name":"punctuation.definition.operands.end.apl"},"47":{"name":"entity.function.arguments.right.apl"},"48":{"name":"punctuation.definition.arguments.begin.apl"},"49":{"name":"punctuation.definition.arguments.end.apl"},"5":{"name":"punctuation.definition.return-value.end.apl"},"50":{"name":"invalid.illegal.arguments.right.apl"},"51":{"name":"entity.function.local-variables.apl"},"52":{"patterns":[{"name":"punctuation.separator.apl","match":";"}]},"53":{"name":"invalid.illegal.local-variables.apl"},"54":{"name":"comment.line.apl"},"6":{"name":"punctuation.definition.return-value.begin.apl"},"7":{"name":"punctuation.definition.return-value.end.apl"},"8":{"name":"punctuation.definition.return-value.begin.apl"},"9":{"name":"punctuation.definition.return-value.end.apl"}},"endCaptures":{"1":{"name":"keyword.operator.nabla.apl"},"2":{"name":"keyword.operator.lock.apl"},"3":{"name":"comment.line.apl"}}}]},"embedded-apl":{"patterns":[{"name":"meta.embedded.block.apl","begin":"(?i)(\u003c(\\?|%)(?:apl(?=\\s+)|=))","end":"(?\u003c=\\s)(\\2\u003e)","patterns":[{"include":"#main"}],"beginCaptures":{"1":{"name":"punctuation.section.embedded.begin.apl"}},"endCaptures":{"1":{"name":"punctuation.section.embedded.end.apl"}}}]},"embolden":{"name":"markup.bold.identifier.apl","match":".+"},"heredocs":{"patterns":[{"name":"meta.heredoc.apl","contentName":"text.embedded.html.basic","begin":"^.*?⎕INP\\s+('|\")((?i).*?HTML?.*?|END-OF-⎕INP)\\1.*$","end":"^.*?\\2.*?$","patterns":[{"include":"text.html.basic"},{"include":"#embedded-apl"}],"beginCaptures":{"0":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"constant.other.apl"}}},{"name":"meta.heredoc.apl","contentName":"text.embedded.xml","begin":"^.*?⎕INP\\s+('|\")((?i).*?(?:XML|XSLT|SVG|RSS).*?)\\1.*$","end":"^.*?\\2.*?$","patterns":[{"include":"text.xml"},{"include":"#embedded-apl"}],"beginCaptures":{"0":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"constant.other.apl"}}},{"name":"meta.heredoc.apl","contentName":"source.embedded.css","begin":"^.*?⎕INP\\s+('|\")((?i).*?(?:CSS|stylesheet).*?)\\1.*$","end":"^.*?\\2.*?$","patterns":[{"include":"source.css"},{"include":"#embedded-apl"}],"beginCaptures":{"0":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"constant.other.apl"}}},{"name":"meta.heredoc.apl","contentName":"source.embedded.js","begin":"^.*?⎕INP\\s+('|\")((?i).*?(?:JS(?!ON)|(?:ECMA|J|Java).?Script).*?)\\1.*$","end":"^.*?\\2.*?$","patterns":[{"include":"source.js"},{"include":"#embedded-apl"}],"beginCaptures":{"0":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"constant.other.apl"}}},{"name":"meta.heredoc.apl","contentName":"source.embedded.json","begin":"^.*?⎕INP\\s+('|\")((?i).*?(?:JSON).*?)\\1.*$","end":"^.*?\\2.*?$","patterns":[{"include":"source.json"},{"include":"#embedded-apl"}],"beginCaptures":{"0":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"constant.other.apl"}}},{"name":"meta.heredoc.apl","contentName":"text.embedded.plain","begin":"^.*?⎕INP\\s+('|\")(?i)((?:Raw|Plain)?\\s*Te?xt)\\1.*$","end":"^.*?\\2.*?$","patterns":[{"include":"#embedded-apl"}],"beginCaptures":{"0":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"constant.other.apl"}}},{"name":"meta.heredoc.apl","begin":"^.*?⎕INP\\s+('|\")(.*?)\\1.*$","end":"^.*?\\2.*?$","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"constant.other.apl"}}}]},"label":{"patterns":[{"name":"meta.label.apl","match":"(?x)\n^\\s*\n(\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n(:)","captures":{"1":{"name":"entity.label.name.apl"},"2":{"name":"punctuation.definition.label.end.apl"}}}]},"lambda":{"name":"meta.lambda.function.apl","begin":"\\{","end":"\\}","patterns":[{"include":"#main"},{"include":"#lambda-variables"}],"beginCaptures":{"0":{"name":"punctuation.definition.lambda.begin.apl"}},"endCaptures":{"0":{"name":"punctuation.definition.lambda.end.apl"}}},"lambda-variables":{"patterns":[{"name":"constant.language.lambda.operands.left.apl","match":"⍺⍺"},{"name":"constant.language.lambda.operands.right.apl","match":"⍵⍵"},{"name":"constant.language.lambda.arguments.left.apl","match":"[⍺⍶]"},{"name":"constant.language.lambda.arguments.right.apl","match":"[⍵⍹]"},{"name":"constant.language.lambda.arguments.axis.apl","match":"χ"},{"name":"constant.language.lambda.operands.self.operator.apl","match":"∇∇"},{"name":"constant.language.lambda.operands.self.function.apl","match":"∇"},{"name":"constant.language.lambda.symbol.apl","match":"λ"}]},"main":{"patterns":[{"include":"#class"},{"include":"#definition"},{"include":"#comment"},{"include":"#label"},{"include":"#sck"},{"include":"#strings"},{"include":"#number"},{"include":"#lambda"},{"include":"#sysvars"},{"include":"#symbols"},{"include":"#name"}]},"name":{"name":"variable.other.readwrite.apl","match":"(?x)\n[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*"},"number":{"name":"constant.numeric.apl","match":"¯?[0-9][¯0-9A-Za-z]*(?:\\.[¯0-9Ee][¯0-9A-Za-z]*)*|¯?\\.[0-9Ee][¯0-9A-Za-z]*"},"sck":{"patterns":[{"name":"keyword.control.sck.apl","match":"(?\u003c=\\s|^)(:)[A-Za-z]+","captures":{"1":{"name":"punctuation.definition.sck.begin.apl"}}}]},"strings":{"patterns":[{"name":"string.quoted.single.apl","begin":"'","end":"'|$","patterns":[{"name":"invalid.illegal.string.apl","match":"[^']*[^'\\n\\r\\\\]$"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.apl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.apl"}}},{"name":"string.quoted.double.apl","begin":"\"","end":"\"|$","patterns":[{"name":"invalid.illegal.string.apl","match":"[^\"]*[^\"\\n\\r\\\\]$"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.apl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.apl"}}}]},"symbols":{"patterns":[{"name":"keyword.spaced.operator.assignment.apl","match":"(?\u003c=\\s)←(?=\\s|$)"},{"name":"keyword.spaced.control.goto.apl","match":"(?\u003c=\\s)→(?=\\s|$)"},{"name":"keyword.spaced.operator.identical.apl","match":"(?\u003c=\\s)≡(?=\\s|$)"},{"name":"keyword.spaced.operator.not-identical.apl","match":"(?\u003c=\\s)≢(?=\\s|$)"},{"name":"keyword.operator.plus.apl","match":"\\+"},{"name":"keyword.operator.minus.apl","match":"[-−]"},{"name":"keyword.operator.times.apl","match":"×"},{"name":"keyword.operator.divide.apl","match":"÷"},{"name":"keyword.operator.floor.apl","match":"⌊"},{"name":"keyword.operator.ceiling.apl","match":"⌈"},{"name":"keyword.operator.absolute.apl","match":"[∣|]"},{"name":"keyword.operator.exponent.apl","match":"[⋆*]"},{"name":"keyword.operator.logarithm.apl","match":"⍟"},{"name":"keyword.operator.circle.apl","match":"○"},{"name":"keyword.operator.factorial.apl","match":"!"},{"name":"keyword.operator.and.apl","match":"∧"},{"name":"keyword.operator.or.apl","match":"∨"},{"name":"keyword.operator.nand.apl","match":"⍲"},{"name":"keyword.operator.nor.apl","match":"⍱"},{"name":"keyword.operator.less.apl","match":"\u003c"},{"name":"keyword.operator.less-or-equal.apl","match":"≤"},{"name":"keyword.operator.equal.apl","match":"="},{"name":"keyword.operator.greater-or-equal.apl","match":"≥"},{"name":"keyword.operator.greater.apl","match":"\u003e"},{"name":"keyword.operator.not-equal.apl","match":"≠"},{"name":"keyword.operator.tilde.apl","match":"[∼~]"},{"name":"keyword.operator.random.apl","match":"\\?"},{"name":"keyword.operator.member-of.apl","match":"[∊∈]"},{"name":"keyword.operator.find.apl","match":"⍷"},{"name":"keyword.operator.comma.apl","match":","},{"name":"keyword.operator.comma-bar.apl","match":"⍪"},{"name":"keyword.operator.squad.apl","match":"⌷"},{"name":"keyword.operator.iota.apl","match":"⍳"},{"name":"keyword.operator.rho.apl","match":"⍴"},{"name":"keyword.operator.take.apl","match":"↑"},{"name":"keyword.operator.drop.apl","match":"↓"},{"name":"keyword.operator.left.apl","match":"⊣"},{"name":"keyword.operator.right.apl","match":"⊢"},{"name":"keyword.operator.encode.apl","match":"⊤"},{"name":"keyword.operator.decode.apl","match":"⊥"},{"name":"keyword.operator.slash.apl","match":"\\/"},{"name":"keyword.operator.slash-bar.apl","match":"⌿"},{"name":"keyword.operator.backslash.apl","match":"\\x5C"},{"name":"keyword.operator.backslash-bar.apl","match":"⍀"},{"name":"keyword.operator.rotate-last.apl","match":"⌽"},{"name":"keyword.operator.rotate-first.apl","match":"⊖"},{"name":"keyword.operator.transpose.apl","match":"⍉"},{"name":"keyword.operator.grade-up.apl","match":"⍋"},{"name":"keyword.operator.grade-down.apl","match":"⍒"},{"name":"keyword.operator.quad-divide.apl","match":"⌹"},{"name":"keyword.operator.identical.apl","match":"≡"},{"name":"keyword.operator.not-identical.apl","match":"≢"},{"name":"keyword.operator.enclose.apl","match":"⊂"},{"name":"keyword.operator.pick.apl","match":"⊃"},{"name":"keyword.operator.intersection.apl","match":"∩"},{"name":"keyword.operator.union.apl","match":"∪"},{"name":"keyword.operator.hydrant.apl","match":"⍎"},{"name":"keyword.operator.thorn.apl","match":"⍕"},{"name":"keyword.operator.underbar-shoe-left.apl","match":"⊆"},{"name":"keyword.operator.underbar-iota.apl","match":"⍸"},{"name":"keyword.operator.each.apl","match":"¨"},{"name":"keyword.operator.rank.apl","match":"⍤"},{"name":"keyword.operator.quad-equal.apl","match":"⌸"},{"name":"keyword.operator.commute.apl","match":"⍨"},{"name":"keyword.operator.power.apl","match":"⍣"},{"name":"keyword.operator.dot.apl","match":"\\."},{"name":"keyword.operator.jot.apl","match":"∘"},{"name":"keyword.operator.quad-colon.apl","match":"⍠"},{"name":"keyword.operator.ampersand.apl","match":"\u0026"},{"name":"keyword.operator.i-beam.apl","match":"⌶"},{"name":"keyword.operator.quad-diamond.apl","match":"⌺"},{"name":"keyword.operator.at.apl","match":"@"},{"name":"keyword.operator.lozenge.apl","match":"◊"},{"name":"keyword.operator.semicolon.apl","match":";"},{"name":"keyword.operator.high-minus.apl","match":"¯"},{"name":"keyword.operator.assignment.apl","match":"←"},{"name":"keyword.control.goto.apl","match":"→"},{"name":"constant.language.zilde.apl","match":"⍬"},{"name":"keyword.operator.diamond.apl","match":"⋄"},{"name":"keyword.operator.lock.apl","match":"⍫"},{"name":"keyword.operator.quad.apl","match":"⎕"},{"name":"constant.language.namespace.parent.apl","match":"##"},{"name":"constant.language.namespace.root.apl","match":"#"},{"name":"keyword.operator.quad-jot.apl","match":"⌻"},{"name":"keyword.operator.quad-circle.apl","match":"⌼"},{"name":"keyword.operator.circle-jot.apl","match":"⌾"},{"name":"keyword.operator.quad-slash.apl","match":"⍁"},{"name":"keyword.operator.quad-backslash.apl","match":"⍂"},{"name":"keyword.operator.quad-less.apl","match":"⍃"},{"name":"keyword.operator.greater.apl","match":"⍄"},{"name":"keyword.operator.vane-left.apl","match":"⍅"},{"name":"keyword.operator.vane-right.apl","match":"⍆"},{"name":"keyword.operator.quad-arrow-left.apl","match":"⍇"},{"name":"keyword.operator.quad-arrow-right.apl","match":"⍈"},{"name":"keyword.operator.tack-down.apl","match":"⍊"},{"name":"keyword.operator.quad-caret-down.apl","match":"⍌"},{"name":"keyword.operator.quad-del-up.apl","match":"⍍"},{"name":"keyword.operator.vane-up.apl","match":"⍏"},{"name":"keyword.operator.quad-arrow-up.apl","match":"⍐"},{"name":"keyword.operator.tack-up.apl","match":"⍑"},{"name":"keyword.operator.quad-caret-up.apl","match":"⍓"},{"name":"keyword.operator.quad-del-down.apl","match":"⍔"},{"name":"keyword.operator.vane-down.apl","match":"⍖"},{"name":"keyword.operator.quad-arrow-down.apl","match":"⍗"},{"name":"keyword.operator.underbar-quote.apl","match":"⍘"},{"name":"keyword.operator.underbar-diamond.apl","match":"⍚"},{"name":"keyword.operator.underbar-jot.apl","match":"⍛"},{"name":"keyword.operator.underbar-circle.apl","match":"⍜"},{"name":"keyword.operator.quad-quote.apl","match":"⍞"},{"name":"keyword.operator.dotted-tack-up.apl","match":"⍡"},{"name":"keyword.operator.dotted-del.apl","match":"⍢"},{"name":"keyword.operator.dotted-circle.apl","match":"⍥"},{"name":"keyword.operator.stile-shoe-up.apl","match":"⍦"},{"name":"keyword.operator.stile-shoe-left.apl","match":"⍧"},{"name":"keyword.operator.dotted-greater.apl","match":"⍩"},{"name":"keyword.operator.stile-tilde.apl","match":"⍭"},{"name":"keyword.operator.underbar-semicolon.apl","match":"⍮"},{"name":"keyword.operator.quad-not-equal.apl","match":"⍯"},{"name":"keyword.operator.quad-question.apl","match":"⍰"}]},"sysvars":{"name":"support.system.variable.apl","match":"(?:(⎕)|(⍞))[A-Za-z]*","captures":{"1":{"name":"punctuation.definition.quad.apl"},"2":{"name":"punctuation.definition.quad-quote.apl"}}}}}