github-linguist 5.3.3 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-linguist +5 -2
- data/ext/linguist/linguist.c +18 -7
- data/grammars/annotation.liquidhaskell.haskell.json +969 -862
- data/grammars/config.xcompose.json +22 -25
- data/grammars/file.lasso.json +296 -309
- data/grammars/hint.haskell.json +867 -766
- data/grammars/hint.message.haskell.json +867 -766
- data/grammars/hint.type.haskell.json +867 -766
- data/grammars/objdump.x86asm.json +20 -24
- data/grammars/source.Kotlin.json +220 -225
- data/grammars/source.LS.json +36 -55
- data/grammars/source.MCPOST.json +24 -38
- data/grammars/source.MOD.json +26 -41
- data/grammars/source.SASLog.json +9 -16
- data/grammars/source.abap.json +48 -56
- data/grammars/source.abl.json +8 -14
- data/grammars/source.abnf.json +88 -98
- data/grammars/source.actionscript.3.json +398 -429
- data/grammars/source.acucobol.json +5 -8
- data/grammars/source.ada.json +46 -53
- data/grammars/source.afm.json +548 -554
- data/grammars/source.agc.json +34 -37
- data/grammars/source.agda.json +79 -91
- data/grammars/source.ahk.json +62 -66
- data/grammars/source.alloy.json +16 -20
- data/grammars/source.ampl.json +41 -47
- data/grammars/source.angelscript.json +71 -80
- data/grammars/source.antlr.json +131 -136
- data/grammars/source.apache-config.json +93 -99
- data/grammars/source.apache-config.mod_perl.json +19 -24
- data/grammars/source.apl.json +1038 -1029
- data/grammars/source.applescript.json +501 -523
- data/grammars/source.apt.json +9 -16
- data/grammars/source.asn.json +27 -31
- data/grammars/source.asp.json +61 -67
- data/grammars/source.aspectj.json +385 -391
- data/grammars/source.assembly.json +49 -55
- data/grammars/source.ats.json +45 -121
- data/grammars/source.autoit.json +64 -69
- data/grammars/source.awk.json +172 -176
- data/grammars/source.ballerina.json +48 -395
- data/grammars/source.batchfile.json +269 -269
- data/grammars/source.befunge.json +17 -21
- data/grammars/source.bf.json +5 -11
- data/grammars/source.bison.json +10 -14
- data/grammars/source.blitzmax.json +300 -305
- data/grammars/source.boo.json +189 -193
- data/grammars/source.brightauthorproject.json +8 -13
- data/grammars/source.brightscript.json +37 -47
- data/grammars/source.bro.json +134 -140
- data/grammars/source.bsl.json +152 -193
- data/grammars/source.bsv.json +96 -102
- data/grammars/source.c++.json +176 -193
- data/grammars/source.c++.qt.json +13 -21
- data/grammars/source.c.ec.json +15 -21
- data/grammars/source.c.json +237 -251
- data/grammars/source.c.platform.json +153 -159
- data/grammars/source.c2hs.json +3 -6
- data/grammars/source.cabal.json +17 -20
- data/grammars/source.cache.cmake.json +18 -23
- data/grammars/source.cake.json +4 -7
- data/grammars/source.camlp4.ocaml.json +24 -27
- data/grammars/source.capnp.json +33 -38
- data/grammars/source.ceylon.json +44 -50
- data/grammars/source.cfscript.cfc.json +78 -86
- data/grammars/source.cfscript.json +513 -520
- data/grammars/source.changelogs.rpm-spec.json +8 -16
- data/grammars/source.chapel.json +109 -87
- data/grammars/source.cirru.json +25 -30
- data/grammars/source.clarion.json +41 -54
- data/grammars/source.clean.json +90 -95
- data/grammars/source.click.json +25 -28
- data/grammars/source.clips.json +10 -23
- data/grammars/source.clojure.json +151 -168
- data/grammars/source.cm.json +14 -19
- data/grammars/source.cmake.json +53 -61
- data/grammars/source.cobol.json +165 -180
- data/grammars/source.coffee.json +454 -462
- data/grammars/source.cool.json +36 -43
- data/grammars/source.coq.json +17 -21
- data/grammars/source.crystal.json +889 -983
- data/grammars/source.cs.json +739 -740
- data/grammars/source.csound-document.json +69 -73
- data/grammars/source.csound-score.json +52 -55
- data/grammars/source.csound.json +167 -171
- data/grammars/source.css.json +683 -688
- data/grammars/source.css.less.json +211 -511
- data/grammars/source.css.mss.json +94 -101
- data/grammars/source.css.postcss.sugarss.json +260 -0
- data/grammars/source.csx.json +4 -7
- data/grammars/source.cuda-c++.json +47 -81
- data/grammars/source.cwl.json +103 -0
- data/grammars/source.cython.json +536 -582
- data/grammars/source.d.json +243 -252
- data/grammars/source.dart.json +161 -166
- data/grammars/source.data-weave.json +901 -905
- data/grammars/source.desktop.json +29 -33
- data/grammars/source.diff.json +43 -52
- data/grammars/source.disasm.json +15 -16
- data/grammars/source.ditroff.desc.json +73 -84
- data/grammars/source.ditroff.json +60 -61
- data/grammars/source.dm.json +202 -213
- data/grammars/source.dmf.json +44 -47
- data/grammars/source.dockerfile.json +29 -34
- data/grammars/source.dot.json +46 -55
- data/grammars/source.dylan.json +63 -68
- data/grammars/source.ebnf.json +55 -62
- data/grammars/source.eiffel.json +57 -62
- data/grammars/source.elixir.json +321 -366
- data/grammars/source.emacs.lisp.json +458 -249
- data/grammars/source.erazor.json +49 -57
- data/grammars/source.erlang.json +508 -515
- data/grammars/source.essl.json +17 -30
- data/grammars/source.factor.json +85 -91
- data/grammars/source.fan.json +92 -96
- data/grammars/source.fancy.json +93 -118
- data/grammars/source.fish.json +74 -98
- data/grammars/source.fontforge.json +142 -146
- data/grammars/source.forth.json +42 -57
- data/grammars/source.fortran.json +193 -231
- data/grammars/source.fortran.modern.json +77 -103
- data/grammars/source.fsharp.fsi.json +1 -6
- data/grammars/source.fsharp.fsl.json +1 -6
- data/grammars/source.fsharp.fsx.json +1 -6
- data/grammars/source.fsharp.json +148 -153
- data/grammars/source.gap.json +60 -70
- data/grammars/source.gcode.json +9 -16
- data/grammars/source.gdb.json +63 -79
- data/grammars/source.gdb.session.json +27 -28
- data/grammars/source.gdbregs.json +7 -8
- data/grammars/source.gdscript.json +92 -96
- data/grammars/source.gerber.json +38 -56
- data/grammars/source.gfm.json +447 -462
- data/grammars/source.glsl.json +58 -83
- data/grammars/source.gn.json +188 -193
- data/grammars/source.gnuplot.json +104 -120
- data/grammars/source.go.json +169 -181
- data/grammars/source.golo.json +82 -87
- data/grammars/source.gosu.2.json +58 -68
- data/grammars/source.grace.json +266 -270
- data/grammars/source.graphql.json +586 -596
- data/grammars/source.groovy.gradle.json +18 -22
- data/grammars/source.groovy.json +422 -433
- data/grammars/source.harbour.json +129 -173
- data/grammars/source.haskell.json +871 -772
- data/grammars/source.haxe.2.json +402 -413
- data/grammars/source.hlsl.json +6 -16
- data/grammars/source.hsc2hs.json +1 -4
- data/grammars/source.hsig.json +871 -770
- data/grammars/source.hss.1.json +122 -144
- data/grammars/source.httpspec.json +119 -123
- data/grammars/source.hxml.json +8 -15
- data/grammars/source.ideal.json +125 -125
- data/grammars/source.idl-dlm.json +25 -32
- data/grammars/source.idl.json +59 -80
- data/grammars/source.idris.json +171 -185
- data/grammars/source.inform7.json +117 -121
- data/grammars/source.ini.json +37 -43
- data/grammars/source.io.json +65 -73
- data/grammars/source.ioke.json +72 -78
- data/grammars/source.isabelle.root.json +26 -30
- data/grammars/source.isabelle.theory.json +46 -50
- data/grammars/source.j.json +18 -21
- data/grammars/source.jasmin.json +45 -50
- data/grammars/source.java-properties.json +31 -41
- data/grammars/source.java.json +333 -342
- data/grammars/source.jcl.json +15 -18
- data/grammars/source.jflex.json +166 -172
- data/grammars/source.jison.json +331 -334
- data/grammars/source.jisonlex-injection.json +1 -2
- data/grammars/source.jisonlex.json +148 -151
- data/grammars/source.jolie.json +37 -43
- data/grammars/source.jq.json +80 -87
- data/grammars/source.js.json +798 -818
- data/grammars/source.js.jsx.json +2115 -2225
- data/grammars/source.js.objj.json +167 -172
- data/grammars/source.js.regexp.json +50 -50
- data/grammars/source.js.regexp.replacement.json +7 -7
- data/grammars/source.jsdoc.json +94 -94
- data/grammars/source.json.json +61 -71
- data/grammars/source.julia.console.json +5 -6
- data/grammars/source.julia.json +237 -234
- data/grammars/source.lean.json +55 -67
- data/grammars/source.lid.json +6 -10
- data/grammars/source.lilypond.json +181 -195
- data/grammars/source.lisp.json +40 -50
- data/grammars/source.litcoffee.json +169 -183
- data/grammars/source.livescript.json +207 -220
- data/grammars/source.llvm.json +28 -38
- data/grammars/source.logos.json +7 -14
- data/grammars/source.logtalk.json +136 -141
- data/grammars/source.loomscript.json +77 -83
- data/grammars/source.lsl.json +90 -106
- data/grammars/source.lua.json +100 -109
- data/grammars/source.makefile.json +181 -188
- data/grammars/source.makegen.json +3 -7
- data/grammars/source.mask.json +260 -265
- data/grammars/source.mata.json +38 -46
- data/grammars/source.mathematica.json +155 -167
- data/grammars/source.matlab.json +407 -684
- data/grammars/source.maxscript.json +293 -281
- data/grammars/source.mercury.json +179 -184
- data/grammars/source.meson.json +52 -58
- data/grammars/source.meta-info.json +64 -74
- data/grammars/source.ml.json +107 -113
- data/grammars/source.modelica.json +51 -59
- data/grammars/source.modula2.json +33 -42
- data/grammars/source.monkey.json +234 -241
- data/grammars/source.moonscript.json +51 -56
- data/grammars/source.mql5.json +74 -101
- data/grammars/source.mupad.json +30 -72
- data/grammars/source.ncl.json +1 -14
- data/grammars/source.ne.json +39 -42
- data/grammars/source.nemerle.json +58 -63
- data/grammars/source.nesc.json +9 -15
- data/grammars/source.netlinx.erb.json +13 -25
- data/grammars/source.netlinx.json +231 -292
- data/grammars/source.nextflow-groovy.json +1360 -0
- data/grammars/source.nextflow.json +74 -0
- data/grammars/source.nginx.json +274 -287
- data/grammars/source.nim.json +442 -483
- data/grammars/source.nim_filter.json +6 -26
- data/grammars/source.nimcfg.json +38 -51
- data/grammars/source.ninja.json +64 -70
- data/grammars/source.nit.json +60 -64
- data/grammars/source.nix.json +269 -273
- data/grammars/source.nmml.json +31 -37
- data/grammars/source.nsis.json +66 -72
- data/grammars/source.nu.json +129 -139
- data/grammars/source.nut.json +129 -133
- data/grammars/source.objc++.json +3 -10
- data/grammars/source.objc.json +303 -314
- data/grammars/source.objc.platform.json +145 -151
- data/grammars/source.ocaml.json +506 -514
- data/grammars/source.ocamllex.json +108 -115
- data/grammars/source.ocamlyacc.json +116 -123
- data/grammars/source.ooc.json +148 -155
- data/grammars/source.opa.json +39 -49
- data/grammars/source.opal.json +84 -89
- data/grammars/source.opalsysdefs.json +9 -13
- data/grammars/source.opencobol.json +22 -25
- data/grammars/source.opentype.json +148 -152
- data/grammars/source.ox.json +36 -44
- data/grammars/source.oz.json +31 -38
- data/grammars/source.p4.json +49 -59
- data/grammars/source.pan.json +273 -278
- data/grammars/source.papyrus.skyrim.json +705 -781
- data/grammars/source.parrot.pir.json +59 -65
- data/grammars/source.pascal.json +54 -61
- data/grammars/source.pawn.json +835 -849
- data/grammars/source.pcb.board.json +153 -158
- data/grammars/source.pcb.schematic.json +134 -138
- data/grammars/source.pcb.sexp.json +64 -74
- data/grammars/source.pep8.json +28 -32
- data/grammars/source.perl.6.json +83 -92
- data/grammars/source.perl.json +711 -737
- data/grammars/source.perl6fe.json +1204 -1218
- data/grammars/source.php.zephir.json +80 -89
- data/grammars/source.pic.json +137 -142
- data/grammars/source.pig_latin.json +76 -80
- data/grammars/source.pike.json +23 -36
- data/grammars/source.po.json +74 -84
- data/grammars/source.pogoscript.json +23 -29
- data/grammars/source.pony.json +98 -108
- data/grammars/source.postcss.json +370 -0
- data/grammars/source.postscript.json +88 -97
- data/grammars/source.pov-ray sdl.json +36 -42
- data/grammars/source.powershell.json +175 -197
- data/grammars/source.processing.json +236 -249
- data/grammars/source.prolog.eclipse.json +33 -38
- data/grammars/source.prolog.json +66 -72
- data/grammars/source.protobuf.json +88 -94
- data/grammars/source.puppet.json +144 -151
- data/grammars/source.purescript.json +268 -289
- data/grammars/source.pyjade.json +256 -281
- data/grammars/source.python.django.json +13 -18
- data/grammars/source.python.json +3319 -3367
- data/grammars/source.python.salt.json +3 -7
- data/grammars/source.qmake.json +83 -90
- data/grammars/source.qml.json +57 -78
- data/grammars/source.quoting.perl6fe.json +666 -669
- data/grammars/source.r.json +75 -84
- data/grammars/source.racket.json +17 -38
- data/grammars/source.rascal.json +77 -80
- data/grammars/source.reason.hover.type.json +1 -1
- data/grammars/source.reason.json +1025 -1080
- data/grammars/source.rebol.json +167 -177
- data/grammars/source.red.json +169 -177
- data/grammars/source.regexp.babel.json +74 -77
- data/grammars/source.regexp.extended.json +4 -5
- data/grammars/source.regexp.json +260 -264
- data/grammars/source.regexp.perl6fe.json +108 -111
- data/grammars/source.regexp.python.json +210 -215
- data/grammars/source.regexp.spin.json +63 -72
- data/grammars/source.renpy.json +617 -687
- data/grammars/source.rexx.json +25 -32
- data/grammars/source.ring.json +84 -114
- data/grammars/source.rpm-spec.json +392 -401
- data/grammars/source.ruby.gemfile.json +9 -12
- data/grammars/source.ruby.json +862 -952
- data/grammars/source.ruby.rspec.cucumber.steps.json +90 -103
- data/grammars/source.rust.json +223 -281
- data/grammars/source.sas.json +88 -105
- data/grammars/source.sass.json +100 -108
- data/grammars/source.sbt.json +16 -23
- data/grammars/source.scad.json +60 -67
- data/grammars/source.scala.json +215 -228
- data/grammars/source.scaml.json +120 -135
- data/grammars/source.scheme.json +119 -136
- data/grammars/source.scilab.json +40 -47
- data/grammars/source.scss.json +369 -403
- data/grammars/source.sdbl.json +14 -25
- data/grammars/source.shaderlab.json +24 -27
- data/grammars/source.shell.json +409 -440
- data/grammars/source.shen.json +75 -94
- data/grammars/source.smali.json +232 -293
- data/grammars/source.smalltalk.json +60 -75
- data/grammars/source.smt.json +67 -82
- data/grammars/source.solidity.json +35 -54
- data/grammars/source.sp.json +40 -45
- data/grammars/source.sparql.json +3 -8
- data/grammars/source.spin.json +277 -297
- data/grammars/source.sqf.json +34 -44
- data/grammars/source.sql.json +142 -156
- data/grammars/source.stan.json +201 -160
- data/grammars/source.stata.json +57 -68
- data/grammars/source.strings.json +26 -30
- data/grammars/source.stylus.json +558 -565
- data/grammars/source.supercollider.json +33 -40
- data/grammars/source.swift.json +999 -1077
- data/grammars/source.systemverilog.json +351 -365
- data/grammars/source.tcl.json +77 -94
- data/grammars/source.tea.json +61 -67
- data/grammars/source.terra.json +25 -32
- data/grammars/source.terraform.json +68 -88
- data/grammars/source.thrift.json +300 -306
- data/grammars/source.tl.json +112 -117
- data/grammars/source.tla.json +65 -69
- data/grammars/source.toc.json +21 -25
- data/grammars/source.toml.json +117 -122
- data/grammars/source.ts.json +2838 -2774
- data/grammars/source.tsx.json +180 -184
- data/grammars/source.turing.json +970 -974
- data/grammars/source.turtle.json +124 -140
- data/grammars/source.txl.json +23 -37
- data/grammars/source.ucfconstraints.json +16 -21
- data/grammars/source.ur.json +15 -27
- data/grammars/source.vala.json +221 -235
- data/grammars/source.varnish.vcl.json +117 -129
- data/grammars/source.vbnet.json +69 -106
- data/grammars/source.verilog.json +101 -107
- data/grammars/source.vhdl.json +437 -445
- data/grammars/source.viml.json +540 -550
- data/grammars/source.wavefront.mtl.json +274 -277
- data/grammars/source.wavefront.obj.json +781 -784
- data/grammars/source.wdl.json +66 -46
- data/grammars/source.webassembly.json +97 -102
- data/grammars/source.webidl.json +311 -326
- data/grammars/source.x10.json +28 -32
- data/grammars/source.x86asm.json +21 -26
- data/grammars/source.xc.json +164 -172
- data/grammars/source.xq.json +81 -92
- data/grammars/source.xtend.json +199 -208
- data/grammars/source.yaml-ext.json +118 -124
- data/grammars/source.yaml.json +155 -174
- data/grammars/source.yaml.salt.json +113 -116
- data/grammars/source.yang.json +10 -13
- data/grammars/source.yara.json +98 -0
- data/grammars/text.bibtex.json +95 -100
- data/grammars/text.cfml.basic.json +403 -404
- data/grammars/text.elixir.json +18 -23
- data/grammars/text.error-list.json +15 -16
- data/grammars/text.find-refs.json +487 -488
- data/grammars/text.gherkin.feature.json +45 -53
- data/grammars/text.haml.json +176 -189
- data/grammars/text.hamlc.json +82 -88
- data/grammars/text.html.abl.json +16 -21
- data/grammars/text.html.asciidoc.json +139 -153
- data/grammars/text.html.asdoc.json +145 -155
- data/grammars/text.html.asp.json +23 -28
- data/grammars/text.html.basic.json +323 -338
- data/grammars/text.html.cfm.json +316 -325
- data/grammars/text.html.creole.json +177 -189
- data/grammars/text.html.django.json +27 -33
- data/grammars/text.html.ecr.json +21 -25
- data/grammars/text.html.elixir.json +3 -9
- data/grammars/text.html.erb.json +81 -85
- data/grammars/text.html.erlang.yaws.json +24 -29
- data/grammars/text.html.factor.json +5 -11
- data/grammars/text.html.ftl.json +16 -25
- data/grammars/text.html.handlebars.json +579 -598
- data/grammars/text.html.javadoc.json +426 -0
- data/grammars/text.html.js.json +11 -17
- data/grammars/text.html.jsp.json +377 -384
- data/grammars/text.html.liquid.json +8 -18
- data/grammars/text.html.mako.json +257 -275
- data/grammars/text.html.markdown.source.gfm.apib.json +419 -427
- data/grammars/text.html.markdown.source.gfm.mson.json +405 -414
- data/grammars/text.html.mediawiki.json +318 -344
- data/grammars/text.html.php.blade.json +2134 -2140
- data/grammars/text.html.php.json +980 -1013
- data/grammars/text.html.slash.json +101 -107
- data/grammars/text.html.smarty.json +75 -83
- data/grammars/text.html.soy.json +250 -253
- data/grammars/text.html.ssp.json +18 -24
- data/grammars/text.html.tcl.json +17 -24
- data/grammars/text.html.twig.json +712 -718
- data/grammars/text.idl-idldoc.json +5 -9
- data/grammars/text.jade.json +213 -235
- data/grammars/text.junit-test-report.json +25 -28
- data/grammars/text.log.latex.json +44 -46
- data/grammars/text.marko.json +370 -401
- data/grammars/text.python.console.json +3 -7
- data/grammars/text.python.traceback.json +2 -5
- data/grammars/text.rdoc.json +15 -19
- data/grammars/text.restructuredtext.clean.json +8 -11
- data/grammars/text.restructuredtext.json +886 -873
- data/grammars/text.robot.json +26 -36
- data/grammars/text.roff.json +2852 -2915
- data/grammars/text.runoff.json +56 -69
- data/grammars/text.sfd.json +151 -155
- data/grammars/text.shell-session.json +5 -8
- data/grammars/text.slim.json +184 -210
- data/grammars/text.srt.json +54 -57
- data/grammars/text.tex.json +98 -105
- data/grammars/text.tex.latex.beamer.json +14 -20
- data/grammars/text.tex.latex.haskell.json +883 -782
- data/grammars/text.tex.latex.json +281 -291
- data/grammars/text.tex.latex.memoir.json +39 -46
- data/grammars/text.tex.latex.rd.json +32 -38
- data/grammars/text.xml.ant.json +62 -69
- data/grammars/text.xml.flex-config.json +1009 -1013
- data/grammars/text.xml.genshi.json +10 -16
- data/grammars/text.xml.json +117 -130
- data/grammars/text.xml.pom.json +235 -240
- data/grammars/text.xml.xsl.json +31 -37
- data/grammars/text.zone_file.json +24 -29
- data/lib/linguist/blob.rb +10 -1
- data/lib/linguist/blob_helper.rb +4 -1
- data/lib/linguist/file_blob.rb +5 -0
- data/lib/linguist/generated.rb +16 -0
- data/lib/linguist/heuristics.rb +23 -11
- data/lib/linguist/language.rb +3 -6
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +74 -12
- data/lib/linguist/lazy_blob.rb +15 -1
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1666 -3381
- data/lib/linguist/shebang.rb +2 -0
- data/lib/linguist/strategy/modeline.rb +2 -0
- data/lib/linguist/vendor.yml +5 -6
- data/lib/linguist/version.rb +1 -1
- metadata +12 -11
- data/grammars/source.elm.json +0 -381
- data/grammars/source.nant-build.json +0 -86
- data/grammars/source.octave.json +0 -451
- data/grammars/text.html.mediawiki.elm-build-output.json +0 -111
- data/grammars/text.html.mediawiki.elm-documentation.json +0 -22
- data/grammars/text.html.vue.json +0 -936
@@ -1,30 +1,34 @@
|
|
1
1
|
{
|
2
|
-
"fileTypes": [
|
3
|
-
|
4
|
-
],
|
5
|
-
"keyEquivalent": "^~A",
|
6
2
|
"name": "mod_perl",
|
3
|
+
"scopeName": "source.apache-config.mod_perl",
|
7
4
|
"patterns": [
|
8
5
|
{
|
6
|
+
"name": "comment.block.documentation.apache-config.mod_perl",
|
9
7
|
"begin": "^=",
|
8
|
+
"end": "^=cut",
|
10
9
|
"captures": {
|
11
10
|
"0": {
|
12
11
|
"name": "punctuation.definition.comment.mod_perl"
|
13
12
|
}
|
14
|
-
}
|
15
|
-
"end": "^=cut",
|
16
|
-
"name": "comment.block.documentation.apache-config.mod_perl"
|
13
|
+
}
|
17
14
|
},
|
18
15
|
{
|
19
|
-
"
|
20
|
-
"
|
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"
|
21
18
|
},
|
22
19
|
{
|
23
|
-
"
|
24
|
-
"
|
20
|
+
"name": "support.constant.apache-config.mod_perl_1.mod_perl",
|
21
|
+
"match": "\\b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\\b"
|
25
22
|
},
|
26
23
|
{
|
27
|
-
"
|
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
|
+
],
|
28
32
|
"beginCaptures": {
|
29
33
|
"1": {
|
30
34
|
"name": "meta.tag.apache-config"
|
@@ -39,7 +43,6 @@
|
|
39
43
|
"name": "punctuation.definition.tag.apache-config"
|
40
44
|
}
|
41
45
|
},
|
42
|
-
"end": "^\\s*((</)(Perl)(>))",
|
43
46
|
"endCaptures": {
|
44
47
|
"1": {
|
45
48
|
"name": "meta.tag.apache-config"
|
@@ -53,18 +56,10 @@
|
|
53
56
|
"4": {
|
54
57
|
"name": "punctuation.definition.tag.apache-config"
|
55
58
|
}
|
56
|
-
}
|
57
|
-
"name": "meta.perl-section.apache-config.mod_perl",
|
58
|
-
"patterns": [
|
59
|
-
{
|
60
|
-
"include": "source.perl"
|
61
|
-
}
|
62
|
-
]
|
59
|
+
}
|
63
60
|
},
|
64
61
|
{
|
65
62
|
"include": "source.apache-config"
|
66
63
|
}
|
67
|
-
]
|
68
|
-
|
69
|
-
"uuid": "6A616B03-1053-49BF-830F-0F4E63DB2447"
|
70
|
-
}
|
64
|
+
]
|
65
|
+
}
|
data/grammars/source.apl.json
CHANGED
@@ -1,13 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "APL",
|
3
3
|
"scopeName": "source.apl",
|
4
|
-
"fileTypes": [
|
5
|
-
"apl",
|
6
|
-
"dyalog"
|
7
|
-
],
|
8
|
-
"firstLineMatch": "^#!.*\\b(apl|dyalog)|⍝|(?i:-\\*-[^*]*(mode:\\s*)?apl(\\s*;.*?)?\\s*-\\*-|(?:vim?|ex):\\s*(?:set?.*\\s)?(?:syntax|filetype|ft)=apl\\s?(?:.*:)?)",
|
9
|
-
"foldingStartMarker": "\\{",
|
10
|
-
"foldingStopMarker": "\\}",
|
11
4
|
"patterns": [
|
12
5
|
{
|
13
6
|
"include": "#heredocs"
|
@@ -16,8 +9,8 @@
|
|
16
9
|
"include": "#main"
|
17
10
|
},
|
18
11
|
{
|
19
|
-
"
|
20
|
-
"
|
12
|
+
"name": "comment.line.shebang.apl",
|
13
|
+
"match": "\\A#!.*$"
|
21
14
|
},
|
22
15
|
{
|
23
16
|
"contentName": "text.embedded.apl",
|
@@ -44,13 +37,13 @@
|
|
44
37
|
},
|
45
38
|
{
|
46
39
|
"name": "meta.round.bracketed.group.apl",
|
40
|
+
"begin": "\\(",
|
41
|
+
"end": "\\)",
|
47
42
|
"patterns": [
|
48
43
|
{
|
49
44
|
"include": "#main"
|
50
45
|
}
|
51
46
|
],
|
52
|
-
"begin": "\\(",
|
53
|
-
"end": "\\)",
|
54
47
|
"beginCaptures": {
|
55
48
|
"0": {
|
56
49
|
"name": "punctuation.round.bracket.begin.apl"
|
@@ -64,13 +57,13 @@
|
|
64
57
|
},
|
65
58
|
{
|
66
59
|
"name": "meta.square.bracketed.group.apl",
|
60
|
+
"begin": "\\[",
|
61
|
+
"end": "\\]",
|
67
62
|
"patterns": [
|
68
63
|
{
|
69
64
|
"include": "#main"
|
70
65
|
}
|
71
66
|
],
|
72
|
-
"begin": "\\[",
|
73
|
-
"end": "\\]",
|
74
67
|
"beginCaptures": {
|
75
68
|
"0": {
|
76
69
|
"name": "punctuation.square.bracket.begin.apl"
|
@@ -86,14 +79,6 @@
|
|
86
79
|
"name": "meta.system.command.apl",
|
87
80
|
"begin": "^\\s*((\\))\\S+)",
|
88
81
|
"end": "$",
|
89
|
-
"beginCaptures": {
|
90
|
-
"1": {
|
91
|
-
"name": "entity.name.command.apl"
|
92
|
-
},
|
93
|
-
"2": {
|
94
|
-
"name": "punctuation.definition.command.apl"
|
95
|
-
}
|
96
|
-
},
|
97
82
|
"patterns": [
|
98
83
|
{
|
99
84
|
"include": "#command-arguments"
|
@@ -104,12 +89,7 @@
|
|
104
89
|
{
|
105
90
|
"include": "#main"
|
106
91
|
}
|
107
|
-
]
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"name": "meta.user.command.apl",
|
111
|
-
"begin": "^\\s*((\\])\\S+)",
|
112
|
-
"end": "$",
|
92
|
+
],
|
113
93
|
"beginCaptures": {
|
114
94
|
"1": {
|
115
95
|
"name": "entity.name.command.apl"
|
@@ -117,7 +97,12 @@
|
|
117
97
|
"2": {
|
118
98
|
"name": "punctuation.definition.command.apl"
|
119
99
|
}
|
120
|
-
}
|
100
|
+
}
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"name": "meta.user.command.apl",
|
104
|
+
"begin": "^\\s*((\\])\\S+)",
|
105
|
+
"end": "$",
|
121
106
|
"patterns": [
|
122
107
|
{
|
123
108
|
"include": "#command-arguments"
|
@@ -128,1287 +113,1311 @@
|
|
128
113
|
{
|
129
114
|
"include": "#main"
|
130
115
|
}
|
131
|
-
]
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
"main": {
|
136
|
-
"patterns": [
|
137
|
-
{
|
138
|
-
"include": "#class"
|
139
|
-
},
|
140
|
-
{
|
141
|
-
"include": "#definition"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"include": "#comment"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"include": "#label"
|
148
|
-
},
|
149
|
-
{
|
150
|
-
"include": "#sck"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"include": "#strings"
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"include": "#float"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"include": "#int"
|
160
|
-
},
|
161
|
-
{
|
162
|
-
"include": "#name"
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"include": "#lambda"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"include": "#sysvars"
|
116
|
+
],
|
117
|
+
"beginCaptures": {
|
118
|
+
"1": {
|
119
|
+
"name": "entity.name.command.apl"
|
169
120
|
},
|
170
|
-
{
|
171
|
-
"
|
172
|
-
}
|
173
|
-
]
|
174
|
-
},
|
175
|
-
"comment": {
|
176
|
-
"name": "comment.line.apl",
|
177
|
-
"begin": "⍝",
|
178
|
-
"end": "$",
|
179
|
-
"captures": {
|
180
|
-
"0": {
|
181
|
-
"name": "punctuation.definition.comment.apl"
|
121
|
+
"2": {
|
122
|
+
"name": "punctuation.definition.command.apl"
|
182
123
|
}
|
183
124
|
}
|
184
|
-
}
|
185
|
-
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"repository": {
|
128
|
+
"class": {
|
186
129
|
"patterns": [
|
187
130
|
{
|
188
|
-
"
|
189
|
-
"
|
190
|
-
"
|
131
|
+
"begin": "(?\u003c=\\s|^)((:)Class)\\s+('[^']*'?|[A-Za-z_∆⍙]+[\\w∆⍙¯]*)\\s*((:)\\s*(?:('[^']*'?|[A-Za-z_∆⍙]+[\\w∆⍙¯]*)\\s*)?)?(.*?)$",
|
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": "('[^']*'?|[A-Za-z_∆⍙]+[\\w∆⍙¯]*)",
|
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
|
+
},
|
191
186
|
"1": {
|
192
|
-
"name": "
|
187
|
+
"name": "keyword.control.class.apl"
|
193
188
|
},
|
194
189
|
"2": {
|
195
|
-
"name": "
|
190
|
+
"name": "punctuation.definition.class.apl"
|
196
191
|
},
|
197
192
|
"3": {
|
198
|
-
"name": "
|
193
|
+
"name": "entity.name.type.class.apl",
|
194
|
+
"patterns": [
|
195
|
+
{
|
196
|
+
"include": "#strings"
|
197
|
+
}
|
198
|
+
]
|
199
199
|
},
|
200
200
|
"4": {
|
201
|
-
"name": "
|
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
|
+
]
|
202
220
|
}
|
203
|
-
}
|
204
|
-
|
205
|
-
{
|
206
|
-
"name": "constant.numeric.float.no-trailing-digits.apl",
|
207
|
-
"match": "\\b(\\d+)(\\.)(?!\\w)",
|
208
|
-
"captures": {
|
221
|
+
},
|
222
|
+
"endCaptures": {
|
209
223
|
"1": {
|
210
|
-
"name": "
|
224
|
+
"name": "keyword.control.class.apl"
|
211
225
|
},
|
212
226
|
"2": {
|
213
|
-
"name": "
|
227
|
+
"name": "punctuation.definition.class.apl"
|
214
228
|
}
|
215
229
|
}
|
216
|
-
}
|
230
|
+
}
|
231
|
+
]
|
232
|
+
},
|
233
|
+
"command-arguments": {
|
234
|
+
"patterns": [
|
217
235
|
{
|
218
|
-
"name": "
|
219
|
-
"
|
220
|
-
"
|
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": "(?\u003c=\\s)(-)([\\w∆⍙]+[\\w∆⍙¯]*)(=)",
|
252
|
+
"end": "\\b(?=\\s)",
|
253
|
+
"patterns": [
|
254
|
+
{
|
255
|
+
"include": "#main"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"beginCaptures": {
|
221
259
|
"1": {
|
222
|
-
"name": "
|
260
|
+
"name": "punctuation.delimiter.switch.apl"
|
223
261
|
},
|
224
262
|
"2": {
|
225
|
-
"name": "
|
263
|
+
"name": "entity.name.switch.apl"
|
226
264
|
},
|
227
265
|
"3": {
|
228
|
-
"name": "
|
266
|
+
"name": "punctuation.assignment.switch.apl"
|
229
267
|
}
|
230
268
|
}
|
231
269
|
}
|
232
270
|
]
|
233
271
|
},
|
234
|
-
"
|
272
|
+
"comment": {
|
273
|
+
"name": "comment.line.apl",
|
274
|
+
"begin": "⍝",
|
275
|
+
"end": "$",
|
276
|
+
"captures": {
|
277
|
+
"0": {
|
278
|
+
"name": "punctuation.definition.comment.apl"
|
279
|
+
}
|
280
|
+
}
|
281
|
+
},
|
282
|
+
"csv": {
|
235
283
|
"patterns": [
|
236
284
|
{
|
237
|
-
"name": "
|
238
|
-
"match": "
|
285
|
+
"name": "punctuation.separator.apl",
|
286
|
+
"match": ","
|
239
287
|
},
|
240
288
|
{
|
241
|
-
"
|
242
|
-
"match": "\\b\\d+(?!\\.?[Ee][\\d¯])"
|
289
|
+
"include": "$self"
|
243
290
|
}
|
244
291
|
]
|
245
292
|
},
|
246
|
-
"
|
293
|
+
"definition": {
|
247
294
|
"patterns": [
|
248
295
|
{
|
249
|
-
"name": "
|
250
|
-
"begin": "
|
251
|
-
"end": "
|
296
|
+
"name": "meta.function.apl",
|
297
|
+
"begin": "(?x) ^\\s*? (?# 1: keyword.operator.nabla.apl) (∇) (?: \\s* (?: (?# 2: entity.function.return-value.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) | \\s* (?# 3: entity.function.return-value.shy.apl) ( (\\{) (?# 4: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}) (?# 5: punctuation.definition.return-value.end.apl) | (\\() (?# 6: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)) (?# 7: punctuation.definition.return-value.end.apl) | (\\(\\s*\\{) (?# 8: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}\\s*\\)) (?# 9: punctuation.definition.return-value.end.apl) | (\\{\\s*\\() (?# 10: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)\\s*\\}) (?# 11: punctuation.definition.return-value.end.apl) ) \\s* ) \\s* (?# 12: keyword.operator.assignment.apl) (←) )? \\s* (?: (?# MONADIC) (?: (?# 13: entity.function.name.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) \\s* (?# 14: entity.function.axis.apl) ( (?# 15: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\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-Za-z_∆⍙][\\w∆⍙¯]* | (\\() (?# 20: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)) (?# 21: punctuation.definition.arguments.end.apl) ) \\s* (?=;|$) ) | (?# DYADIC/AMBIVALENT) (?#==================) (?: (?# 22: entity.function.arguments.left.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*\\s+) | (?# 23: entity.function.arguments.left.optional.apl) ( (\\{) (?# 24: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}) (?# 25: punctuation.definition.arguments.end.apl) | (\\(\\s*\\{) (?# 26: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}\\s*\\)) (?# 27: punctuation.definition.arguments.end.apl) | (\\{\\s*\\() (?# 28: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)\\s*\\}) (?# 29: punctuation.definition.arguments.end.apl) ) )? \\s* (?: (?# 30: entity.function.name.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) \\s* (?# 31: entity.function.axis.apl) ( (?# 32: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\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-Za-z_∆⍙][\\w∆⍙¯]*)? \\s* (?# 39: entity.function.name.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) \\s*? (?# 40: entity.function.axis.apl) ( (?# 41: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\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-Za-z_∆⍙][\\w∆⍙¯]*\\s*)? (?# 46: punctuation.definition.operands.end.apl) (\\)) ) ) \\s* (?# 47: entity.function.arguments.right.apl) ( (?\u003c=\\s|\\])[A-Za-z_∆⍙][\\w∆⍙¯]* | \\s* (\\() (?# 48: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)) (?# 49: punctuation.definition.arguments.end.apl) )? (?#==================) ) \\s* (?# 50: invalid.illegal.arguments.right.apl) ([^;]+)? (?# 51: entity.function.local-variables.apl) ( (?# 52: Include “;”) ( (?: \\s* ; (?:\\s*[⎕A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)+ )+ ) | (?# 53: invalid.illegal.local-variables.apl) ([^⍝]+) )? \\s* (?# 54: comment.line.apl) (⍝.*)? $",
|
298
|
+
"end": "^\\s*?(?:(∇)|(⍫))\\s*?(⍝.*?)?$",
|
299
|
+
"patterns": [
|
300
|
+
{
|
301
|
+
"include": "$self"
|
302
|
+
}
|
303
|
+
],
|
252
304
|
"beginCaptures": {
|
253
305
|
"0": {
|
254
|
-
"name": "
|
255
|
-
}
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
306
|
+
"name": "entity.function.definition.apl"
|
307
|
+
},
|
308
|
+
"1": {
|
309
|
+
"name": "keyword.operator.nabla.apl"
|
310
|
+
},
|
311
|
+
"10": {
|
312
|
+
"name": "punctuation.definition.return-value.begin.apl"
|
313
|
+
},
|
314
|
+
"11": {
|
315
|
+
"name": "punctuation.definition.return-value.end.apl"
|
316
|
+
},
|
317
|
+
"12": {
|
318
|
+
"name": "keyword.operator.assignment.apl"
|
319
|
+
},
|
320
|
+
"13": {
|
321
|
+
"name": "entity.function.name.apl"
|
322
|
+
},
|
323
|
+
"14": {
|
324
|
+
"name": "entity.function.axis.apl"
|
325
|
+
},
|
326
|
+
"15": {
|
327
|
+
"name": "punctuation.definition.axis.begin.apl"
|
328
|
+
},
|
329
|
+
"16": {
|
330
|
+
"name": "invalid.illegal.extra-characters.apl"
|
331
|
+
},
|
332
|
+
"17": {
|
333
|
+
"name": "invalid.illegal.apl"
|
334
|
+
},
|
335
|
+
"18": {
|
336
|
+
"name": "punctuation.definition.axis.end.apl"
|
337
|
+
},
|
338
|
+
"19": {
|
339
|
+
"name": "entity.function.arguments.right.apl"
|
340
|
+
},
|
341
|
+
"2": {
|
342
|
+
"name": "entity.function.return-value.apl"
|
343
|
+
},
|
344
|
+
"20": {
|
345
|
+
"name": "punctuation.definition.arguments.begin.apl"
|
346
|
+
},
|
347
|
+
"21": {
|
348
|
+
"name": "punctuation.definition.arguments.end.apl"
|
349
|
+
},
|
350
|
+
"22": {
|
351
|
+
"name": "entity.function.arguments.left.apl"
|
352
|
+
},
|
353
|
+
"23": {
|
354
|
+
"name": "entity.function.arguments.left.optional.apl"
|
355
|
+
},
|
356
|
+
"24": {
|
357
|
+
"name": "punctuation.definition.arguments.begin.apl"
|
358
|
+
},
|
359
|
+
"25": {
|
360
|
+
"name": "punctuation.definition.arguments.end.apl"
|
361
|
+
},
|
362
|
+
"26": {
|
363
|
+
"name": "punctuation.definition.arguments.begin.apl"
|
364
|
+
},
|
365
|
+
"27": {
|
366
|
+
"name": "punctuation.definition.arguments.end.apl"
|
367
|
+
},
|
368
|
+
"28": {
|
369
|
+
"name": "punctuation.definition.arguments.begin.apl"
|
370
|
+
},
|
371
|
+
"29": {
|
372
|
+
"name": "punctuation.definition.arguments.end.apl"
|
373
|
+
},
|
374
|
+
"3": {
|
375
|
+
"name": "entity.function.return-value.shy.apl"
|
376
|
+
},
|
377
|
+
"30": {
|
378
|
+
"name": "entity.function.name.apl"
|
379
|
+
},
|
380
|
+
"31": {
|
381
|
+
"name": "entity.function.axis.apl"
|
382
|
+
},
|
383
|
+
"32": {
|
384
|
+
"name": "punctuation.definition.axis.begin.apl"
|
385
|
+
},
|
386
|
+
"33": {
|
387
|
+
"name": "invalid.illegal.extra-characters.apl"
|
388
|
+
},
|
389
|
+
"34": {
|
390
|
+
"name": "invalid.illegal.apl"
|
391
|
+
},
|
392
|
+
"35": {
|
393
|
+
"name": "punctuation.definition.axis.end.apl"
|
394
|
+
},
|
395
|
+
"36": {
|
396
|
+
"name": "entity.function.operands.apl"
|
397
|
+
},
|
398
|
+
"37": {
|
399
|
+
"name": "punctuation.definition.operands.begin.apl"
|
400
|
+
},
|
401
|
+
"38": {
|
402
|
+
"name": "entity.function.operands.left.apl"
|
403
|
+
},
|
404
|
+
"39": {
|
405
|
+
"name": "entity.function.name.apl"
|
406
|
+
},
|
407
|
+
"4": {
|
408
|
+
"name": "punctuation.definition.return-value.begin.apl"
|
409
|
+
},
|
410
|
+
"40": {
|
411
|
+
"name": "entity.function.axis.apl"
|
412
|
+
},
|
413
|
+
"41": {
|
414
|
+
"name": "punctuation.definition.axis.begin.apl"
|
415
|
+
},
|
416
|
+
"42": {
|
417
|
+
"name": "invalid.illegal.extra-characters.apl"
|
418
|
+
},
|
419
|
+
"43": {
|
420
|
+
"name": "invalid.illegal.apl"
|
421
|
+
},
|
422
|
+
"44": {
|
423
|
+
"name": "punctuation.definition.axis.end.apl"
|
424
|
+
},
|
425
|
+
"45": {
|
426
|
+
"name": "entity.function.operands.right.apl"
|
427
|
+
},
|
428
|
+
"46": {
|
429
|
+
"name": "punctuation.definition.operands.end.apl"
|
430
|
+
},
|
431
|
+
"47": {
|
432
|
+
"name": "entity.function.arguments.right.apl"
|
433
|
+
},
|
434
|
+
"48": {
|
435
|
+
"name": "punctuation.definition.arguments.begin.apl"
|
436
|
+
},
|
437
|
+
"49": {
|
438
|
+
"name": "punctuation.definition.arguments.end.apl"
|
439
|
+
},
|
440
|
+
"5": {
|
441
|
+
"name": "punctuation.definition.return-value.end.apl"
|
442
|
+
},
|
443
|
+
"50": {
|
444
|
+
"name": "invalid.illegal.arguments.right.apl"
|
445
|
+
},
|
446
|
+
"51": {
|
447
|
+
"name": "entity.function.local-variables.apl"
|
448
|
+
},
|
449
|
+
"52": {
|
450
|
+
"patterns": [
|
451
|
+
{
|
452
|
+
"name": "punctuation.separator.apl",
|
453
|
+
"match": ";"
|
454
|
+
}
|
455
|
+
]
|
456
|
+
},
|
457
|
+
"53": {
|
458
|
+
"name": "invalid.illegal.local-variables.apl"
|
459
|
+
},
|
460
|
+
"54": {
|
461
|
+
"name": "comment.line.apl"
|
462
|
+
},
|
463
|
+
"6": {
|
464
|
+
"name": "punctuation.definition.return-value.begin.apl"
|
465
|
+
},
|
466
|
+
"7": {
|
467
|
+
"name": "punctuation.definition.return-value.end.apl"
|
468
|
+
},
|
469
|
+
"8": {
|
470
|
+
"name": "punctuation.definition.return-value.begin.apl"
|
471
|
+
},
|
472
|
+
"9": {
|
473
|
+
"name": "punctuation.definition.return-value.end.apl"
|
260
474
|
}
|
261
475
|
},
|
476
|
+
"endCaptures": {
|
477
|
+
"1": {
|
478
|
+
"name": "keyword.operator.nabla.apl"
|
479
|
+
},
|
480
|
+
"2": {
|
481
|
+
"name": "keyword.operator.lock.apl"
|
482
|
+
},
|
483
|
+
"3": {
|
484
|
+
"name": "comment.line.apl"
|
485
|
+
}
|
486
|
+
}
|
487
|
+
}
|
488
|
+
]
|
489
|
+
},
|
490
|
+
"embedded-apl": {
|
491
|
+
"patterns": [
|
492
|
+
{
|
493
|
+
"name": "meta.embedded.block.apl",
|
494
|
+
"begin": "(?i)(\u003c(\\?|%)(?:apl(?=\\s+)|=))",
|
495
|
+
"end": "(?\u003c=\\s)(\\2\u003e)",
|
262
496
|
"patterns": [
|
263
497
|
{
|
264
|
-
"
|
265
|
-
"name": "invalid.illegal.string.apl"
|
498
|
+
"include": "#main"
|
266
499
|
}
|
267
|
-
]
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"name": "string.quoted.double.apl",
|
271
|
-
"begin": "\"",
|
272
|
-
"end": "\"|$",
|
500
|
+
],
|
273
501
|
"beginCaptures": {
|
274
|
-
"
|
275
|
-
"name": "punctuation.
|
502
|
+
"1": {
|
503
|
+
"name": "punctuation.section.embedded.begin.apl"
|
276
504
|
}
|
277
505
|
},
|
278
506
|
"endCaptures": {
|
279
|
-
"
|
280
|
-
"name": "punctuation.
|
281
|
-
}
|
282
|
-
},
|
283
|
-
"patterns": [
|
284
|
-
{
|
285
|
-
"match": "[^\"]*[^\"\\n\\r\\\\]$",
|
286
|
-
"name": "invalid.illegal.string.apl"
|
507
|
+
"1": {
|
508
|
+
"name": "punctuation.section.embedded.end.apl"
|
287
509
|
}
|
288
|
-
|
289
|
-
}
|
290
|
-
]
|
291
|
-
},
|
292
|
-
"name": {
|
293
|
-
"patterns": [
|
294
|
-
{
|
295
|
-
"name": "storage.type.name.apl",
|
296
|
-
"match": "[A-Za-z_∆⍙]+[\\w∆⍙¯]*"
|
510
|
+
}
|
297
511
|
}
|
298
512
|
]
|
299
513
|
},
|
300
|
-
"
|
514
|
+
"float": {
|
301
515
|
"patterns": [
|
302
516
|
{
|
303
|
-
"name": "
|
304
|
-
"match": "
|
517
|
+
"name": "constant.numeric.float.apl",
|
518
|
+
"match": "\\b(\\d+)(\\.)(\\d*([Ee]¯?\\d+)?)",
|
305
519
|
"captures": {
|
306
520
|
"1": {
|
307
|
-
"name": "
|
521
|
+
"name": "leading.decimal"
|
308
522
|
},
|
309
523
|
"2": {
|
310
|
-
"name": "
|
524
|
+
"name": "decimal.separator"
|
525
|
+
},
|
526
|
+
"3": {
|
527
|
+
"name": "trailing.decimal"
|
528
|
+
},
|
529
|
+
"4": {
|
530
|
+
"name": "exponential.decimal"
|
311
531
|
}
|
312
532
|
}
|
313
|
-
}
|
314
|
-
]
|
315
|
-
},
|
316
|
-
"symbols": {
|
317
|
-
"patterns": [
|
318
|
-
{
|
319
|
-
"match": "\\+",
|
320
|
-
"name": "keyword.operator.plus.apl"
|
321
533
|
},
|
322
534
|
{
|
323
|
-
"
|
324
|
-
"
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
},
|
334
|
-
{
|
335
|
-
"match": "⌊",
|
336
|
-
"name": "keyword.operator.floor.apl"
|
535
|
+
"name": "constant.numeric.float.no-trailing-digits.apl",
|
536
|
+
"match": "\\b(\\d+)(\\.)(?!\\w)",
|
537
|
+
"captures": {
|
538
|
+
"1": {
|
539
|
+
"name": "leading.decimal"
|
540
|
+
},
|
541
|
+
"2": {
|
542
|
+
"name": "decimal.separator"
|
543
|
+
}
|
544
|
+
}
|
337
545
|
},
|
338
546
|
{
|
339
|
-
"
|
340
|
-
"
|
341
|
-
|
547
|
+
"name": "constant.numeric.float.no-leading-digits.apl",
|
548
|
+
"match": "(?\u003c!\\w)(\\.)(\\d+([Ee]¯?\\d+)?)",
|
549
|
+
"captures": {
|
550
|
+
"1": {
|
551
|
+
"name": "decimal.separator"
|
552
|
+
},
|
553
|
+
"2": {
|
554
|
+
"name": "trailing.decimal"
|
555
|
+
},
|
556
|
+
"3": {
|
557
|
+
"name": "exponential.decimal"
|
558
|
+
}
|
559
|
+
}
|
560
|
+
}
|
561
|
+
]
|
562
|
+
},
|
563
|
+
"heredocs": {
|
564
|
+
"patterns": [
|
342
565
|
{
|
343
|
-
"
|
344
|
-
"
|
566
|
+
"name": "meta.heredoc.apl",
|
567
|
+
"contentName": "text.embedded.html.basic",
|
568
|
+
"begin": "^.*?⎕INP\\s+('|\")((?i).*?HTML?.*?|END-OF-⎕INP)\\1.*$",
|
569
|
+
"end": "^.*?\\2.*?$",
|
570
|
+
"patterns": [
|
571
|
+
{
|
572
|
+
"include": "text.html.basic"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"include": "#embedded-apl"
|
576
|
+
}
|
577
|
+
],
|
578
|
+
"beginCaptures": {
|
579
|
+
"0": {
|
580
|
+
"patterns": [
|
581
|
+
{
|
582
|
+
"include": "#main"
|
583
|
+
}
|
584
|
+
]
|
585
|
+
}
|
586
|
+
},
|
587
|
+
"endCaptures": {
|
588
|
+
"0": {
|
589
|
+
"name": "constant.other.apl"
|
590
|
+
}
|
591
|
+
}
|
345
592
|
},
|
346
593
|
{
|
347
|
-
"
|
348
|
-
"
|
594
|
+
"name": "meta.heredoc.apl",
|
595
|
+
"contentName": "text.embedded.xml",
|
596
|
+
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:XML|XSLT|SVG|RSS).*?)\\1.*$",
|
597
|
+
"end": "^.*?\\2.*?$",
|
598
|
+
"patterns": [
|
599
|
+
{
|
600
|
+
"include": "text.xml"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"include": "#embedded-apl"
|
604
|
+
}
|
605
|
+
],
|
606
|
+
"beginCaptures": {
|
607
|
+
"0": {
|
608
|
+
"patterns": [
|
609
|
+
{
|
610
|
+
"include": "#main"
|
611
|
+
}
|
612
|
+
]
|
613
|
+
}
|
614
|
+
},
|
615
|
+
"endCaptures": {
|
616
|
+
"0": {
|
617
|
+
"name": "constant.other.apl"
|
618
|
+
}
|
619
|
+
}
|
349
620
|
},
|
350
621
|
{
|
351
|
-
"
|
352
|
-
"
|
622
|
+
"name": "meta.heredoc.apl",
|
623
|
+
"contentName": "source.embedded.css",
|
624
|
+
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:CSS|stylesheet).*?)\\1.*$",
|
625
|
+
"end": "^.*?\\2.*?$",
|
626
|
+
"patterns": [
|
627
|
+
{
|
628
|
+
"include": "source.css"
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"include": "#embedded-apl"
|
632
|
+
}
|
633
|
+
],
|
634
|
+
"beginCaptures": {
|
635
|
+
"0": {
|
636
|
+
"patterns": [
|
637
|
+
{
|
638
|
+
"include": "#main"
|
639
|
+
}
|
640
|
+
]
|
641
|
+
}
|
642
|
+
},
|
643
|
+
"endCaptures": {
|
644
|
+
"0": {
|
645
|
+
"name": "constant.other.apl"
|
646
|
+
}
|
647
|
+
}
|
353
648
|
},
|
354
649
|
{
|
355
|
-
"
|
356
|
-
"
|
650
|
+
"name": "meta.heredoc.apl",
|
651
|
+
"contentName": "source.embedded.js",
|
652
|
+
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:JS(?!ON)|(?:ECMA|J|Java).?Script).*?)\\1.*$",
|
653
|
+
"end": "^.*?\\2.*?$",
|
654
|
+
"patterns": [
|
655
|
+
{
|
656
|
+
"include": "source.js"
|
657
|
+
},
|
658
|
+
{
|
659
|
+
"include": "#embedded-apl"
|
660
|
+
}
|
661
|
+
],
|
662
|
+
"beginCaptures": {
|
663
|
+
"0": {
|
664
|
+
"patterns": [
|
665
|
+
{
|
666
|
+
"include": "#main"
|
667
|
+
}
|
668
|
+
]
|
669
|
+
}
|
670
|
+
},
|
671
|
+
"endCaptures": {
|
672
|
+
"0": {
|
673
|
+
"name": "constant.other.apl"
|
674
|
+
}
|
675
|
+
}
|
357
676
|
},
|
358
677
|
{
|
359
|
-
"
|
360
|
-
"
|
678
|
+
"name": "meta.heredoc.apl",
|
679
|
+
"contentName": "source.embedded.json",
|
680
|
+
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:JSON).*?)\\1.*$",
|
681
|
+
"end": "^.*?\\2.*?$",
|
682
|
+
"patterns": [
|
683
|
+
{
|
684
|
+
"include": "source.json"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"include": "#embedded-apl"
|
688
|
+
}
|
689
|
+
],
|
690
|
+
"beginCaptures": {
|
691
|
+
"0": {
|
692
|
+
"patterns": [
|
693
|
+
{
|
694
|
+
"include": "#main"
|
695
|
+
}
|
696
|
+
]
|
697
|
+
}
|
698
|
+
},
|
699
|
+
"endCaptures": {
|
700
|
+
"0": {
|
701
|
+
"name": "constant.other.apl"
|
702
|
+
}
|
703
|
+
}
|
361
704
|
},
|
362
705
|
{
|
363
|
-
"
|
364
|
-
"
|
706
|
+
"name": "meta.heredoc.apl",
|
707
|
+
"contentName": "text.embedded.plain",
|
708
|
+
"begin": "^.*?⎕INP\\s+('|\")(?i)((?:Raw|Plain)?\\s*Te?xt)\\1.*$",
|
709
|
+
"end": "^.*?\\2.*?$",
|
710
|
+
"patterns": [
|
711
|
+
{
|
712
|
+
"include": "#embedded-apl"
|
713
|
+
}
|
714
|
+
],
|
715
|
+
"beginCaptures": {
|
716
|
+
"0": {
|
717
|
+
"patterns": [
|
718
|
+
{
|
719
|
+
"include": "#main"
|
720
|
+
}
|
721
|
+
]
|
722
|
+
}
|
723
|
+
},
|
724
|
+
"endCaptures": {
|
725
|
+
"0": {
|
726
|
+
"name": "constant.other.apl"
|
727
|
+
}
|
728
|
+
}
|
365
729
|
},
|
366
730
|
{
|
367
|
-
"
|
368
|
-
"
|
369
|
-
|
731
|
+
"name": "meta.heredoc.apl",
|
732
|
+
"begin": "^.*?⎕INP\\s+('|\")(.*?)\\1.*$",
|
733
|
+
"end": "^.*?\\2.*?$",
|
734
|
+
"patterns": [
|
735
|
+
{
|
736
|
+
"include": "$self"
|
737
|
+
}
|
738
|
+
],
|
739
|
+
"beginCaptures": {
|
740
|
+
"0": {
|
741
|
+
"patterns": [
|
742
|
+
{
|
743
|
+
"include": "#main"
|
744
|
+
}
|
745
|
+
]
|
746
|
+
}
|
747
|
+
},
|
748
|
+
"endCaptures": {
|
749
|
+
"0": {
|
750
|
+
"name": "constant.other.apl"
|
751
|
+
}
|
752
|
+
}
|
753
|
+
}
|
754
|
+
]
|
755
|
+
},
|
756
|
+
"int": {
|
757
|
+
"patterns": [
|
370
758
|
{
|
371
|
-
"
|
372
|
-
"
|
759
|
+
"name": "constant.numeric.int.exponential.apl",
|
760
|
+
"match": "\\b\\d+[Ee]¯?\\d+"
|
373
761
|
},
|
374
762
|
{
|
375
|
-
"
|
376
|
-
"
|
377
|
-
}
|
763
|
+
"name": "constant.numeric.int.basic.apl",
|
764
|
+
"match": "\\b\\d+(?!\\.?[Ee][\\d¯])"
|
765
|
+
}
|
766
|
+
]
|
767
|
+
},
|
768
|
+
"label": {
|
769
|
+
"patterns": [
|
378
770
|
{
|
379
|
-
"
|
380
|
-
"
|
381
|
-
|
771
|
+
"name": "meta.label.apl",
|
772
|
+
"match": "^\\s*([A-Za-z_∆⍙]+[\\w∆⍙¯]*)(:)",
|
773
|
+
"captures": {
|
774
|
+
"1": {
|
775
|
+
"name": "entity.label.name.apl"
|
776
|
+
},
|
777
|
+
"2": {
|
778
|
+
"name": "punctuation.definition.label.end.apl"
|
779
|
+
}
|
780
|
+
}
|
781
|
+
}
|
782
|
+
]
|
783
|
+
},
|
784
|
+
"lambda": {
|
785
|
+
"name": "meta.lambda.function.apl",
|
786
|
+
"begin": "\\{",
|
787
|
+
"end": "\\}",
|
788
|
+
"patterns": [
|
382
789
|
{
|
383
|
-
"
|
384
|
-
"name": "keyword.operator.less-or-equal.apl"
|
790
|
+
"include": "#main"
|
385
791
|
},
|
386
792
|
{
|
387
|
-
"
|
388
|
-
|
389
|
-
|
793
|
+
"include": "#lambda-variables"
|
794
|
+
}
|
795
|
+
],
|
796
|
+
"beginCaptures": {
|
797
|
+
"0": {
|
798
|
+
"name": "punctuation.definition.lambda.begin.apl"
|
799
|
+
}
|
800
|
+
},
|
801
|
+
"endCaptures": {
|
802
|
+
"0": {
|
803
|
+
"name": "punctuation.definition.lambda.end.apl"
|
804
|
+
}
|
805
|
+
}
|
806
|
+
},
|
807
|
+
"lambda-variables": {
|
808
|
+
"patterns": [
|
390
809
|
{
|
391
|
-
"
|
392
|
-
"
|
810
|
+
"name": "variable.lambda.operands.left.apl",
|
811
|
+
"match": "⍺⍺"
|
393
812
|
},
|
394
813
|
{
|
395
|
-
"
|
396
|
-
"
|
814
|
+
"name": "variable.lambda.operands.right.apl",
|
815
|
+
"match": "⍵⍵"
|
397
816
|
},
|
398
817
|
{
|
399
|
-
"
|
400
|
-
"
|
818
|
+
"name": "variable.lambda.arguments.left.apl",
|
819
|
+
"match": "[⍺⍶]"
|
401
820
|
},
|
402
821
|
{
|
403
|
-
"
|
404
|
-
"
|
822
|
+
"name": "variable.lambda.arguments.right.apl",
|
823
|
+
"match": "[⍵⍹]"
|
405
824
|
},
|
406
825
|
{
|
407
|
-
"
|
408
|
-
"
|
826
|
+
"name": "variable.lambda.arguments.axis.apl",
|
827
|
+
"match": "χ"
|
409
828
|
},
|
410
829
|
{
|
411
|
-
"
|
412
|
-
"
|
413
|
-
}
|
830
|
+
"name": "variable.lambda.symbol.apl",
|
831
|
+
"match": "λ"
|
832
|
+
}
|
833
|
+
]
|
834
|
+
},
|
835
|
+
"main": {
|
836
|
+
"patterns": [
|
414
837
|
{
|
415
|
-
"
|
416
|
-
"name": "keyword.operator.find.apl"
|
838
|
+
"include": "#class"
|
417
839
|
},
|
418
840
|
{
|
419
|
-
"
|
420
|
-
"name": "keyword.operator.comma.apl"
|
841
|
+
"include": "#definition"
|
421
842
|
},
|
422
843
|
{
|
423
|
-
"
|
424
|
-
"name": "keyword.operator.comma-bar.apl"
|
844
|
+
"include": "#comment"
|
425
845
|
},
|
426
846
|
{
|
427
|
-
"
|
428
|
-
"name": "keyword.operator.squad.apl"
|
847
|
+
"include": "#label"
|
429
848
|
},
|
430
849
|
{
|
431
|
-
"
|
432
|
-
|
850
|
+
"include": "#sck"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"include": "#strings"
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"include": "#float"
|
857
|
+
},
|
858
|
+
{
|
859
|
+
"include": "#int"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"include": "#name"
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"include": "#lambda"
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"include": "#sysvars"
|
869
|
+
},
|
870
|
+
{
|
871
|
+
"include": "#symbols"
|
872
|
+
}
|
873
|
+
]
|
874
|
+
},
|
875
|
+
"name": {
|
876
|
+
"patterns": [
|
877
|
+
{
|
878
|
+
"name": "storage.type.name.apl",
|
879
|
+
"match": "[A-Za-z_∆⍙]+[\\w∆⍙¯]*"
|
880
|
+
}
|
881
|
+
]
|
882
|
+
},
|
883
|
+
"sck": {
|
884
|
+
"patterns": [
|
885
|
+
{
|
886
|
+
"name": "keyword.control.sck.apl",
|
887
|
+
"match": "(?\u003c=\\s|^)(:)([A-Za-z]+)",
|
888
|
+
"captures": {
|
889
|
+
"1": {
|
890
|
+
"name": "punctuation.definition.sck.begin.apl"
|
891
|
+
},
|
892
|
+
"2": {
|
893
|
+
"name": "entity.sck.name.apl"
|
894
|
+
}
|
895
|
+
}
|
896
|
+
}
|
897
|
+
]
|
898
|
+
},
|
899
|
+
"strings": {
|
900
|
+
"patterns": [
|
901
|
+
{
|
902
|
+
"name": "string.quoted.single.apl",
|
903
|
+
"begin": "'",
|
904
|
+
"end": "'|$",
|
905
|
+
"patterns": [
|
906
|
+
{
|
907
|
+
"name": "invalid.illegal.string.apl",
|
908
|
+
"match": "[^']*[^'\\n\\r\\\\]$"
|
909
|
+
}
|
910
|
+
],
|
911
|
+
"beginCaptures": {
|
912
|
+
"0": {
|
913
|
+
"name": "punctuation.definition.string.begin.apl"
|
914
|
+
}
|
915
|
+
},
|
916
|
+
"endCaptures": {
|
917
|
+
"0": {
|
918
|
+
"name": "punctuation.definition.string.end.apl"
|
919
|
+
}
|
920
|
+
}
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"name": "string.quoted.double.apl",
|
924
|
+
"begin": "\"",
|
925
|
+
"end": "\"|$",
|
926
|
+
"patterns": [
|
927
|
+
{
|
928
|
+
"name": "invalid.illegal.string.apl",
|
929
|
+
"match": "[^\"]*[^\"\\n\\r\\\\]$"
|
930
|
+
}
|
931
|
+
],
|
932
|
+
"beginCaptures": {
|
933
|
+
"0": {
|
934
|
+
"name": "punctuation.definition.string.begin.apl"
|
935
|
+
}
|
936
|
+
},
|
937
|
+
"endCaptures": {
|
938
|
+
"0": {
|
939
|
+
"name": "punctuation.definition.string.end.apl"
|
940
|
+
}
|
941
|
+
}
|
942
|
+
}
|
943
|
+
]
|
944
|
+
},
|
945
|
+
"symbols": {
|
946
|
+
"patterns": [
|
947
|
+
{
|
948
|
+
"name": "keyword.spaced.operator.assignment.apl",
|
949
|
+
"match": "(?\u003c=\\s)←(?=\\s|$)"
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"name": "keyword.spaced.control.goto.apl",
|
953
|
+
"match": "(?\u003c=\\s)→(?=\\s|$)"
|
954
|
+
},
|
955
|
+
{
|
956
|
+
"name": "keyword.spaced.operator.identical.apl",
|
957
|
+
"match": "(?\u003c=\\s)≡(?=\\s|$)"
|
958
|
+
},
|
959
|
+
{
|
960
|
+
"name": "keyword.spaced.operator.not-identical.apl",
|
961
|
+
"match": "(?\u003c=\\s)≢(?=\\s|$)"
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"name": "keyword.operator.plus.apl",
|
965
|
+
"match": "\\+"
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"name": "keyword.operator.minus.apl",
|
969
|
+
"match": "[-−]"
|
970
|
+
},
|
971
|
+
{
|
972
|
+
"name": "keyword.operator.times.apl",
|
973
|
+
"match": "×"
|
974
|
+
},
|
975
|
+
{
|
976
|
+
"name": "keyword.operator.divide.apl",
|
977
|
+
"match": "÷"
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"name": "keyword.operator.floor.apl",
|
981
|
+
"match": "⌊"
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"name": "keyword.operator.ceiling.apl",
|
985
|
+
"match": "⌈"
|
986
|
+
},
|
987
|
+
{
|
988
|
+
"name": "keyword.operator.absolute.apl",
|
989
|
+
"match": "[∣|]"
|
990
|
+
},
|
991
|
+
{
|
992
|
+
"name": "keyword.operator.exponent.apl",
|
993
|
+
"match": "[⋆*]"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"name": "keyword.operator.logarithm.apl",
|
997
|
+
"match": "⍟"
|
998
|
+
},
|
999
|
+
{
|
1000
|
+
"name": "keyword.operator.circle.apl",
|
1001
|
+
"match": "○"
|
1002
|
+
},
|
1003
|
+
{
|
1004
|
+
"name": "keyword.operator.factorial.apl",
|
1005
|
+
"match": "!"
|
1006
|
+
},
|
1007
|
+
{
|
1008
|
+
"name": "keyword.operator.and.apl",
|
1009
|
+
"match": "∧"
|
1010
|
+
},
|
1011
|
+
{
|
1012
|
+
"name": "keyword.operator.or.apl",
|
1013
|
+
"match": "∨"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"name": "keyword.operator.nand.apl",
|
1017
|
+
"match": "⍲"
|
1018
|
+
},
|
1019
|
+
{
|
1020
|
+
"name": "keyword.operator.nor.apl",
|
1021
|
+
"match": "⍱"
|
1022
|
+
},
|
1023
|
+
{
|
1024
|
+
"name": "keyword.operator.less.apl",
|
1025
|
+
"match": "\u003c"
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
"name": "keyword.operator.less-or-equal.apl",
|
1029
|
+
"match": "≤"
|
1030
|
+
},
|
1031
|
+
{
|
1032
|
+
"name": "keyword.operator.equal.apl",
|
1033
|
+
"match": "="
|
1034
|
+
},
|
1035
|
+
{
|
1036
|
+
"name": "keyword.operator.greater-or-equal.apl",
|
1037
|
+
"match": "≥"
|
1038
|
+
},
|
1039
|
+
{
|
1040
|
+
"name": "keyword.operator.greater.apl",
|
1041
|
+
"match": "\u003e"
|
1042
|
+
},
|
1043
|
+
{
|
1044
|
+
"name": "keyword.operator.not-equal.apl",
|
1045
|
+
"match": "≠"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"name": "keyword.operator.tilde.apl",
|
1049
|
+
"match": "[∼~]"
|
1050
|
+
},
|
1051
|
+
{
|
1052
|
+
"name": "keyword.operator.random.apl",
|
1053
|
+
"match": "\\?"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"name": "keyword.operator.member-of.apl",
|
1057
|
+
"match": "[∊∈]"
|
1058
|
+
},
|
1059
|
+
{
|
1060
|
+
"name": "keyword.operator.find.apl",
|
1061
|
+
"match": "⍷"
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"name": "keyword.operator.comma.apl",
|
1065
|
+
"match": ","
|
1066
|
+
},
|
1067
|
+
{
|
1068
|
+
"name": "keyword.operator.comma-bar.apl",
|
1069
|
+
"match": "⍪"
|
1070
|
+
},
|
1071
|
+
{
|
1072
|
+
"name": "keyword.operator.squad.apl",
|
1073
|
+
"match": "⌷"
|
1074
|
+
},
|
1075
|
+
{
|
1076
|
+
"name": "keyword.operator.iota.apl",
|
1077
|
+
"match": "⍳"
|
433
1078
|
},
|
434
1079
|
{
|
435
|
-
"
|
436
|
-
"
|
1080
|
+
"name": "keyword.operator.rho.apl",
|
1081
|
+
"match": "⍴"
|
437
1082
|
},
|
438
1083
|
{
|
439
|
-
"
|
440
|
-
"
|
1084
|
+
"name": "keyword.operator.take.apl",
|
1085
|
+
"match": "↑"
|
441
1086
|
},
|
442
1087
|
{
|
443
|
-
"
|
444
|
-
"
|
1088
|
+
"name": "keyword.operator.drop.apl",
|
1089
|
+
"match": "↓"
|
445
1090
|
},
|
446
1091
|
{
|
447
|
-
"
|
448
|
-
"
|
1092
|
+
"name": "keyword.operator.left.apl",
|
1093
|
+
"match": "⊣"
|
449
1094
|
},
|
450
1095
|
{
|
451
|
-
"
|
452
|
-
"
|
1096
|
+
"name": "keyword.operator.right.apl",
|
1097
|
+
"match": "⊢"
|
453
1098
|
},
|
454
1099
|
{
|
455
|
-
"
|
456
|
-
"
|
1100
|
+
"name": "keyword.operator.encode.apl",
|
1101
|
+
"match": "⊤"
|
457
1102
|
},
|
458
1103
|
{
|
459
|
-
"
|
460
|
-
"
|
1104
|
+
"name": "keyword.operator.decode.apl",
|
1105
|
+
"match": "⊥"
|
461
1106
|
},
|
462
1107
|
{
|
463
|
-
"
|
464
|
-
"
|
1108
|
+
"name": "keyword.operator.slash.apl",
|
1109
|
+
"match": "\\/"
|
465
1110
|
},
|
466
1111
|
{
|
467
|
-
"
|
468
|
-
"
|
1112
|
+
"name": "keyword.operator.slash-bar.apl",
|
1113
|
+
"match": "⌿"
|
469
1114
|
},
|
470
1115
|
{
|
471
|
-
"
|
472
|
-
"
|
1116
|
+
"name": "keyword.operator.backslash.apl",
|
1117
|
+
"match": "\\x5C"
|
473
1118
|
},
|
474
1119
|
{
|
475
|
-
"
|
476
|
-
"
|
1120
|
+
"name": "keyword.operator.backslash-bar.apl",
|
1121
|
+
"match": "⍀"
|
477
1122
|
},
|
478
1123
|
{
|
479
|
-
"
|
480
|
-
"
|
1124
|
+
"name": "keyword.operator.rotate-last.apl",
|
1125
|
+
"match": "⌽"
|
481
1126
|
},
|
482
1127
|
{
|
483
|
-
"
|
484
|
-
"
|
1128
|
+
"name": "keyword.operator.rotate-first.apl",
|
1129
|
+
"match": "⊖"
|
485
1130
|
},
|
486
1131
|
{
|
487
|
-
"
|
488
|
-
"
|
1132
|
+
"name": "keyword.operator.transpose.apl",
|
1133
|
+
"match": "⍉"
|
489
1134
|
},
|
490
1135
|
{
|
491
|
-
"
|
492
|
-
"
|
1136
|
+
"name": "keyword.operator.grade-up.apl",
|
1137
|
+
"match": "⍋"
|
493
1138
|
},
|
494
1139
|
{
|
495
|
-
"
|
496
|
-
"
|
1140
|
+
"name": "keyword.operator.grade-down.apl",
|
1141
|
+
"match": "⍒"
|
497
1142
|
},
|
498
1143
|
{
|
499
|
-
"
|
500
|
-
"
|
1144
|
+
"name": "keyword.operator.quad-divide.apl",
|
1145
|
+
"match": "⌹"
|
501
1146
|
},
|
502
1147
|
{
|
503
|
-
"
|
504
|
-
"
|
1148
|
+
"name": "keyword.operator.identical.apl",
|
1149
|
+
"match": "≡"
|
505
1150
|
},
|
506
1151
|
{
|
507
|
-
"
|
508
|
-
"
|
1152
|
+
"name": "keyword.operator.not-identical.apl",
|
1153
|
+
"match": "≢"
|
509
1154
|
},
|
510
1155
|
{
|
511
|
-
"
|
512
|
-
"
|
1156
|
+
"name": "keyword.operator.enclose.apl",
|
1157
|
+
"match": "⊂"
|
513
1158
|
},
|
514
1159
|
{
|
515
|
-
"
|
516
|
-
"
|
1160
|
+
"name": "keyword.operator.pick.apl",
|
1161
|
+
"match": "⊃"
|
517
1162
|
},
|
518
1163
|
{
|
519
|
-
"
|
520
|
-
"
|
1164
|
+
"name": "keyword.operator.intersection.apl",
|
1165
|
+
"match": "∩"
|
521
1166
|
},
|
522
1167
|
{
|
523
|
-
"
|
524
|
-
"
|
1168
|
+
"name": "keyword.operator.union.apl",
|
1169
|
+
"match": "∪"
|
525
1170
|
},
|
526
1171
|
{
|
527
|
-
"
|
528
|
-
"
|
1172
|
+
"name": "keyword.operator.hydrant.apl",
|
1173
|
+
"match": "⍎"
|
529
1174
|
},
|
530
1175
|
{
|
531
|
-
"
|
532
|
-
"
|
1176
|
+
"name": "keyword.operator.thorn.apl",
|
1177
|
+
"match": "⍕"
|
533
1178
|
},
|
534
1179
|
{
|
535
|
-
"
|
536
|
-
"
|
1180
|
+
"name": "keyword.operator.each.apl",
|
1181
|
+
"match": "¨"
|
537
1182
|
},
|
538
1183
|
{
|
539
|
-
"
|
540
|
-
"
|
1184
|
+
"name": "keyword.operator.rank.apl",
|
1185
|
+
"match": "⍤"
|
541
1186
|
},
|
542
1187
|
{
|
543
|
-
"
|
544
|
-
"
|
1188
|
+
"name": "keyword.operator.quad-equal.apl",
|
1189
|
+
"match": "⌸"
|
545
1190
|
},
|
546
1191
|
{
|
547
|
-
"
|
548
|
-
"
|
1192
|
+
"name": "keyword.operator.commute.apl",
|
1193
|
+
"match": "⍨"
|
549
1194
|
},
|
550
1195
|
{
|
551
|
-
"
|
552
|
-
"
|
1196
|
+
"name": "keyword.operator.power.apl",
|
1197
|
+
"match": "⍣"
|
553
1198
|
},
|
554
1199
|
{
|
555
|
-
"
|
556
|
-
"
|
1200
|
+
"name": "keyword.operator.dot.apl",
|
1201
|
+
"match": "\\."
|
557
1202
|
},
|
558
1203
|
{
|
559
|
-
"
|
560
|
-
"
|
1204
|
+
"name": "keyword.operator.jot.apl",
|
1205
|
+
"match": "∘"
|
561
1206
|
},
|
562
1207
|
{
|
563
|
-
"
|
564
|
-
"
|
1208
|
+
"name": "keyword.operator.quad-colon.apl",
|
1209
|
+
"match": "⍠"
|
565
1210
|
},
|
566
1211
|
{
|
567
|
-
"
|
568
|
-
"
|
1212
|
+
"name": "keyword.operator.ampersand.apl",
|
1213
|
+
"match": "\u0026"
|
569
1214
|
},
|
570
1215
|
{
|
571
|
-
"
|
572
|
-
"
|
1216
|
+
"name": "keyword.operator.i-beam.apl",
|
1217
|
+
"match": "⌶"
|
573
1218
|
},
|
574
1219
|
{
|
575
|
-
"
|
576
|
-
"
|
1220
|
+
"name": "keyword.operator.lozenge.apl",
|
1221
|
+
"match": "◊"
|
577
1222
|
},
|
578
1223
|
{
|
579
|
-
"
|
580
|
-
"
|
1224
|
+
"name": "keyword.operator.semicolon.apl",
|
1225
|
+
"match": ";"
|
581
1226
|
},
|
582
1227
|
{
|
583
|
-
"
|
584
|
-
"
|
1228
|
+
"name": "keyword.operator.high-minus.apl",
|
1229
|
+
"match": "¯"
|
585
1230
|
},
|
586
1231
|
{
|
587
|
-
"
|
588
|
-
"
|
1232
|
+
"name": "keyword.operator.assignment.apl",
|
1233
|
+
"match": "←"
|
589
1234
|
},
|
590
1235
|
{
|
591
|
-
"
|
592
|
-
"
|
1236
|
+
"name": "keyword.control.goto.apl",
|
1237
|
+
"match": "→"
|
593
1238
|
},
|
594
1239
|
{
|
595
|
-
"
|
596
|
-
"
|
1240
|
+
"name": "constant.language.zilde.apl",
|
1241
|
+
"match": "⍬"
|
597
1242
|
},
|
598
1243
|
{
|
599
|
-
"
|
600
|
-
"
|
1244
|
+
"name": "keyword.operator.diamond.apl",
|
1245
|
+
"match": "⋄"
|
601
1246
|
},
|
602
1247
|
{
|
603
|
-
"
|
604
|
-
"
|
1248
|
+
"name": "keyword.operator.nabla.apl",
|
1249
|
+
"match": "∇"
|
605
1250
|
},
|
606
1251
|
{
|
607
|
-
"
|
608
|
-
"
|
1252
|
+
"name": "keyword.operator.lock.apl",
|
1253
|
+
"match": "⍫"
|
609
1254
|
},
|
610
1255
|
{
|
611
|
-
"
|
612
|
-
"
|
1256
|
+
"name": "keyword.operator.quad.apl",
|
1257
|
+
"match": "⎕"
|
613
1258
|
},
|
614
1259
|
{
|
615
|
-
"
|
616
|
-
"
|
1260
|
+
"name": "keyword.operator.quad-diamond.apl",
|
1261
|
+
"match": "⌺"
|
617
1262
|
},
|
618
1263
|
{
|
619
|
-
"
|
620
|
-
"
|
1264
|
+
"name": "keyword.operator.quad-jot.apl",
|
1265
|
+
"match": "⌻"
|
621
1266
|
},
|
622
1267
|
{
|
623
|
-
"
|
624
|
-
"
|
1268
|
+
"name": "keyword.operator.quad-circle.apl",
|
1269
|
+
"match": "⌼"
|
625
1270
|
},
|
626
1271
|
{
|
627
|
-
"
|
628
|
-
"
|
1272
|
+
"name": "keyword.operator.circle-jot.apl",
|
1273
|
+
"match": "⌾"
|
629
1274
|
},
|
630
1275
|
{
|
631
|
-
"
|
632
|
-
"
|
1276
|
+
"name": "keyword.operator.quad-slash.apl",
|
1277
|
+
"match": "⍁"
|
633
1278
|
},
|
634
1279
|
{
|
635
|
-
"
|
636
|
-
"
|
1280
|
+
"name": "keyword.operator.quad-backslash.apl",
|
1281
|
+
"match": "⍂"
|
637
1282
|
},
|
638
1283
|
{
|
639
|
-
"
|
640
|
-
"
|
1284
|
+
"name": "keyword.operator.quad-less.apl",
|
1285
|
+
"match": "⍃"
|
641
1286
|
},
|
642
1287
|
{
|
643
|
-
"
|
644
|
-
"
|
1288
|
+
"name": "keyword.operator.greater.apl",
|
1289
|
+
"match": "⍄"
|
645
1290
|
},
|
646
1291
|
{
|
647
|
-
"
|
648
|
-
"
|
1292
|
+
"name": "keyword.operator.vane-left.apl",
|
1293
|
+
"match": "⍅"
|
649
1294
|
},
|
650
1295
|
{
|
651
|
-
"
|
652
|
-
"
|
1296
|
+
"name": "keyword.operator.vane-right.apl",
|
1297
|
+
"match": "⍆"
|
653
1298
|
},
|
654
1299
|
{
|
655
|
-
"
|
656
|
-
"
|
1300
|
+
"name": "keyword.operator.quad-arrow-left.apl",
|
1301
|
+
"match": "⍇"
|
657
1302
|
},
|
658
1303
|
{
|
659
|
-
"
|
660
|
-
"
|
1304
|
+
"name": "keyword.operator.quad-arrow-right.apl",
|
1305
|
+
"match": "⍈"
|
661
1306
|
},
|
662
1307
|
{
|
663
|
-
"
|
664
|
-
"
|
1308
|
+
"name": "keyword.operator.tack-down.apl",
|
1309
|
+
"match": "⍊"
|
665
1310
|
},
|
666
1311
|
{
|
667
|
-
"
|
668
|
-
"
|
1312
|
+
"name": "keyword.operator.quad-caret-down.apl",
|
1313
|
+
"match": "⍌"
|
669
1314
|
},
|
670
1315
|
{
|
671
|
-
"
|
672
|
-
"
|
1316
|
+
"name": "keyword.operator.quad-del-up.apl",
|
1317
|
+
"match": "⍍"
|
673
1318
|
},
|
674
1319
|
{
|
675
|
-
"
|
676
|
-
"
|
1320
|
+
"name": "keyword.operator.vane-up.apl",
|
1321
|
+
"match": "⍏"
|
677
1322
|
},
|
678
1323
|
{
|
679
|
-
"
|
680
|
-
"
|
1324
|
+
"name": "keyword.operator.quad-arrow-up.apl",
|
1325
|
+
"match": "⍐"
|
681
1326
|
},
|
682
1327
|
{
|
683
|
-
"
|
684
|
-
"
|
1328
|
+
"name": "keyword.operator.tack-up.apl",
|
1329
|
+
"match": "⍑"
|
685
1330
|
},
|
686
1331
|
{
|
687
|
-
"
|
688
|
-
"
|
1332
|
+
"name": "keyword.operator.quad-caret-up.apl",
|
1333
|
+
"match": "⍓"
|
689
1334
|
},
|
690
1335
|
{
|
691
|
-
"
|
692
|
-
"
|
1336
|
+
"name": "keyword.operator.quad-del-down.apl",
|
1337
|
+
"match": "⍔"
|
693
1338
|
},
|
694
1339
|
{
|
695
|
-
"
|
696
|
-
"
|
1340
|
+
"name": "keyword.operator.vane-down.apl",
|
1341
|
+
"match": "⍖"
|
697
1342
|
},
|
698
1343
|
{
|
699
|
-
"
|
700
|
-
"
|
1344
|
+
"name": "keyword.operator.quad-arrow-down.apl",
|
1345
|
+
"match": "⍗"
|
701
1346
|
},
|
702
1347
|
{
|
703
|
-
"
|
704
|
-
"
|
1348
|
+
"name": "keyword.operator.underbar-quote.apl",
|
1349
|
+
"match": "⍘"
|
705
1350
|
},
|
706
1351
|
{
|
707
|
-
"
|
708
|
-
"
|
1352
|
+
"name": "keyword.operator.underbar-diamond.apl",
|
1353
|
+
"match": "⍚"
|
709
1354
|
},
|
710
1355
|
{
|
711
|
-
"
|
712
|
-
"
|
1356
|
+
"name": "keyword.operator.underbar-jot.apl",
|
1357
|
+
"match": "⍛"
|
713
1358
|
},
|
714
1359
|
{
|
715
|
-
"
|
716
|
-
"
|
1360
|
+
"name": "keyword.operator.underbar-circle.apl",
|
1361
|
+
"match": "⍜"
|
717
1362
|
},
|
718
1363
|
{
|
719
|
-
"
|
720
|
-
"
|
1364
|
+
"name": "keyword.operator.quad-quote.apl",
|
1365
|
+
"match": "⍞"
|
721
1366
|
},
|
722
1367
|
{
|
723
|
-
"
|
724
|
-
"
|
1368
|
+
"name": "keyword.operator.dotted-tack-up.apl",
|
1369
|
+
"match": "⍡"
|
725
1370
|
},
|
726
1371
|
{
|
727
|
-
"
|
728
|
-
"
|
1372
|
+
"name": "keyword.operator.dotted-del.apl",
|
1373
|
+
"match": "⍢"
|
729
1374
|
},
|
730
1375
|
{
|
731
|
-
"
|
732
|
-
"
|
1376
|
+
"name": "keyword.operator.dotted-circle.apl",
|
1377
|
+
"match": "⍥"
|
733
1378
|
},
|
734
1379
|
{
|
735
|
-
"
|
736
|
-
"
|
1380
|
+
"name": "keyword.operator.stile-shoe-up.apl",
|
1381
|
+
"match": "⍦"
|
737
1382
|
},
|
738
1383
|
{
|
739
|
-
"
|
740
|
-
"
|
1384
|
+
"name": "keyword.operator.stile-shoe-left.apl",
|
1385
|
+
"match": "⍧"
|
741
1386
|
},
|
742
1387
|
{
|
743
|
-
"
|
744
|
-
"
|
1388
|
+
"name": "keyword.operator.dotted-greater.apl",
|
1389
|
+
"match": "⍩"
|
745
1390
|
},
|
746
1391
|
{
|
747
|
-
"
|
748
|
-
"
|
1392
|
+
"name": "keyword.operator.stile-tilde.apl",
|
1393
|
+
"match": "⍭"
|
749
1394
|
},
|
750
1395
|
{
|
751
|
-
"
|
752
|
-
"
|
1396
|
+
"name": "keyword.operator.underbar-semicolon.apl",
|
1397
|
+
"match": "⍮"
|
753
1398
|
},
|
754
1399
|
{
|
755
|
-
"
|
756
|
-
"
|
1400
|
+
"name": "keyword.operator.quad-not-equal.apl",
|
1401
|
+
"match": "⍯"
|
757
1402
|
},
|
758
1403
|
{
|
759
|
-
"
|
760
|
-
"
|
1404
|
+
"name": "keyword.operator.quad-question.apl",
|
1405
|
+
"match": "⍰"
|
761
1406
|
},
|
762
1407
|
{
|
763
|
-
"
|
764
|
-
"
|
765
|
-
}
|
766
|
-
]
|
767
|
-
},
|
768
|
-
"definition": {
|
769
|
-
"patterns": [
|
770
|
-
{
|
771
|
-
"name": "meta.function.apl",
|
772
|
-
"begin": "(?x) ^\\s*? (?# 1: keyword.operator.nabla.apl) (∇) (?: \\s* (?: (?# 2: entity.function.return-value.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) | \\s* (?# 3: entity.function.return-value.shy.apl) ( (\\{) (?# 4: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}) (?# 5: punctuation.definition.return-value.end.apl) | (\\() (?# 6: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)) (?# 7: punctuation.definition.return-value.end.apl) | (\\(\\s*\\{) (?# 8: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}\\s*\\)) (?# 9: punctuation.definition.return-value.end.apl) | (\\{\\s*\\() (?# 10: punctuation.definition.return-value.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)\\s*\\}) (?# 11: punctuation.definition.return-value.end.apl) ) \\s* ) \\s* (?# 12: keyword.operator.assignment.apl) (←) )? \\s* (?: (?# MONADIC) (?: (?# 13: entity.function.name.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) \\s* (?# 14: entity.function.axis.apl) ( (?# 15: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\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) ( (?<=\\s|\\])[A-Za-z_∆⍙][\\w∆⍙¯]* | (\\() (?# 20: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)) (?# 21: punctuation.definition.arguments.end.apl) ) \\s* (?=;|$) ) | (?# DYADIC/AMBIVALENT) (?#==================) (?: (?# 22: entity.function.arguments.left.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*\\s+) | (?# 23: entity.function.arguments.left.optional.apl) ( (\\{) (?# 24: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}) (?# 25: punctuation.definition.arguments.end.apl) | (\\(\\s*\\{) (?# 26: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\}\\s*\\)) (?# 27: punctuation.definition.arguments.end.apl) | (\\{\\s*\\() (?# 28: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)\\s*\\}) (?# 29: punctuation.definition.arguments.end.apl) ) )? \\s* (?: (?# 30: entity.function.name.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) \\s* (?# 31: entity.function.axis.apl) ( (?# 32: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\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-Za-z_∆⍙][\\w∆⍙¯]*)? \\s* (?# 39: entity.function.name.apl) ([A-Za-z_∆⍙][\\w∆⍙¯]*) \\s*? (?# 40: entity.function.axis.apl) ( (?# 41: punctuation.definition.axis.begin.apl) (\\[) \\s* (?: \\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\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-Za-z_∆⍙][\\w∆⍙¯]*\\s*)? (?# 46: punctuation.definition.operands.end.apl) (\\)) ) ) \\s* (?# 47: entity.function.arguments.right.apl) ( (?<=\\s|\\])[A-Za-z_∆⍙][\\w∆⍙¯]* | \\s* (\\() (?# 48: punctuation.definition.arguments.begin.apl) (?:\\s*[A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)* (\\)) (?# 49: punctuation.definition.arguments.end.apl) )? (?#==================) ) \\s* (?# 50: invalid.illegal.arguments.right.apl) ([^;]+)? (?# 51: entity.function.local-variables.apl) ( (?# 52: Include “;”) ( (?: \\s* ; (?:\\s*[⎕A-Za-z_∆⍙][\\w∆⍙¯]*\\s*)+ )+ ) | (?# 53: invalid.illegal.local-variables.apl) ([^⍝]+) )? \\s* (?# 54: comment.line.apl) (⍝.*)? $",
|
773
|
-
"end": "^\\s*?(?:(∇)|(⍫))\\s*?(⍝.*?)?$",
|
774
|
-
"patterns": [
|
775
|
-
{
|
776
|
-
"include": "$self"
|
777
|
-
}
|
778
|
-
],
|
779
|
-
"beginCaptures": {
|
780
|
-
"0": {
|
781
|
-
"name": "entity.function.definition.apl"
|
782
|
-
},
|
783
|
-
"1": {
|
784
|
-
"name": "keyword.operator.nabla.apl"
|
785
|
-
},
|
786
|
-
"2": {
|
787
|
-
"name": "entity.function.return-value.apl"
|
788
|
-
},
|
789
|
-
"3": {
|
790
|
-
"name": "entity.function.return-value.shy.apl"
|
791
|
-
},
|
792
|
-
"4": {
|
793
|
-
"name": "punctuation.definition.return-value.begin.apl"
|
794
|
-
},
|
795
|
-
"5": {
|
796
|
-
"name": "punctuation.definition.return-value.end.apl"
|
797
|
-
},
|
798
|
-
"6": {
|
799
|
-
"name": "punctuation.definition.return-value.begin.apl"
|
800
|
-
},
|
801
|
-
"7": {
|
802
|
-
"name": "punctuation.definition.return-value.end.apl"
|
803
|
-
},
|
804
|
-
"8": {
|
805
|
-
"name": "punctuation.definition.return-value.begin.apl"
|
806
|
-
},
|
807
|
-
"9": {
|
808
|
-
"name": "punctuation.definition.return-value.end.apl"
|
809
|
-
},
|
810
|
-
"10": {
|
811
|
-
"name": "punctuation.definition.return-value.begin.apl"
|
812
|
-
},
|
813
|
-
"11": {
|
814
|
-
"name": "punctuation.definition.return-value.end.apl"
|
815
|
-
},
|
816
|
-
"12": {
|
817
|
-
"name": "keyword.operator.assignment.apl"
|
818
|
-
},
|
819
|
-
"13": {
|
820
|
-
"name": "entity.function.name.apl"
|
821
|
-
},
|
822
|
-
"14": {
|
823
|
-
"name": "entity.function.axis.apl"
|
824
|
-
},
|
825
|
-
"15": {
|
826
|
-
"name": "punctuation.definition.axis.begin.apl"
|
827
|
-
},
|
828
|
-
"16": {
|
829
|
-
"name": "invalid.illegal.extra-characters.apl"
|
830
|
-
},
|
831
|
-
"17": {
|
832
|
-
"name": "invalid.illegal.apl"
|
833
|
-
},
|
834
|
-
"18": {
|
835
|
-
"name": "punctuation.definition.axis.end.apl"
|
836
|
-
},
|
837
|
-
"19": {
|
838
|
-
"name": "entity.function.arguments.right.apl"
|
839
|
-
},
|
840
|
-
"20": {
|
841
|
-
"name": "punctuation.definition.arguments.begin.apl"
|
842
|
-
},
|
843
|
-
"21": {
|
844
|
-
"name": "punctuation.definition.arguments.end.apl"
|
845
|
-
},
|
846
|
-
"22": {
|
847
|
-
"name": "entity.function.arguments.left.apl"
|
848
|
-
},
|
849
|
-
"23": {
|
850
|
-
"name": "entity.function.arguments.left.optional.apl"
|
851
|
-
},
|
852
|
-
"24": {
|
853
|
-
"name": "punctuation.definition.arguments.begin.apl"
|
854
|
-
},
|
855
|
-
"25": {
|
856
|
-
"name": "punctuation.definition.arguments.end.apl"
|
857
|
-
},
|
858
|
-
"26": {
|
859
|
-
"name": "punctuation.definition.arguments.begin.apl"
|
860
|
-
},
|
861
|
-
"27": {
|
862
|
-
"name": "punctuation.definition.arguments.end.apl"
|
863
|
-
},
|
864
|
-
"28": {
|
865
|
-
"name": "punctuation.definition.arguments.begin.apl"
|
866
|
-
},
|
867
|
-
"29": {
|
868
|
-
"name": "punctuation.definition.arguments.end.apl"
|
869
|
-
},
|
870
|
-
"30": {
|
871
|
-
"name": "entity.function.name.apl"
|
872
|
-
},
|
873
|
-
"31": {
|
874
|
-
"name": "entity.function.axis.apl"
|
875
|
-
},
|
876
|
-
"32": {
|
877
|
-
"name": "punctuation.definition.axis.begin.apl"
|
878
|
-
},
|
879
|
-
"33": {
|
880
|
-
"name": "invalid.illegal.extra-characters.apl"
|
881
|
-
},
|
882
|
-
"34": {
|
883
|
-
"name": "invalid.illegal.apl"
|
884
|
-
},
|
885
|
-
"35": {
|
886
|
-
"name": "punctuation.definition.axis.end.apl"
|
887
|
-
},
|
888
|
-
"36": {
|
889
|
-
"name": "entity.function.operands.apl"
|
890
|
-
},
|
891
|
-
"37": {
|
892
|
-
"name": "punctuation.definition.operands.begin.apl"
|
893
|
-
},
|
894
|
-
"38": {
|
895
|
-
"name": "entity.function.operands.left.apl"
|
896
|
-
},
|
897
|
-
"39": {
|
898
|
-
"name": "entity.function.name.apl"
|
899
|
-
},
|
900
|
-
"40": {
|
901
|
-
"name": "entity.function.axis.apl"
|
902
|
-
},
|
903
|
-
"41": {
|
904
|
-
"name": "punctuation.definition.axis.begin.apl"
|
905
|
-
},
|
906
|
-
"42": {
|
907
|
-
"name": "invalid.illegal.extra-characters.apl"
|
908
|
-
},
|
909
|
-
"43": {
|
910
|
-
"name": "invalid.illegal.apl"
|
911
|
-
},
|
912
|
-
"44": {
|
913
|
-
"name": "punctuation.definition.axis.end.apl"
|
914
|
-
},
|
915
|
-
"45": {
|
916
|
-
"name": "entity.function.operands.right.apl"
|
917
|
-
},
|
918
|
-
"46": {
|
919
|
-
"name": "punctuation.definition.operands.end.apl"
|
920
|
-
},
|
921
|
-
"47": {
|
922
|
-
"name": "entity.function.arguments.right.apl"
|
923
|
-
},
|
924
|
-
"48": {
|
925
|
-
"name": "punctuation.definition.arguments.begin.apl"
|
926
|
-
},
|
927
|
-
"49": {
|
928
|
-
"name": "punctuation.definition.arguments.end.apl"
|
929
|
-
},
|
930
|
-
"50": {
|
931
|
-
"name": "invalid.illegal.arguments.right.apl"
|
932
|
-
},
|
933
|
-
"51": {
|
934
|
-
"name": "entity.function.local-variables.apl"
|
935
|
-
},
|
936
|
-
"52": {
|
937
|
-
"patterns": [
|
938
|
-
{
|
939
|
-
"name": "punctuation.separator.apl",
|
940
|
-
"match": ";"
|
941
|
-
}
|
942
|
-
]
|
943
|
-
},
|
944
|
-
"53": {
|
945
|
-
"name": "invalid.illegal.local-variables.apl"
|
946
|
-
},
|
947
|
-
"54": {
|
948
|
-
"name": "comment.line.apl"
|
949
|
-
}
|
950
|
-
},
|
951
|
-
"endCaptures": {
|
952
|
-
"1": {
|
953
|
-
"name": "keyword.operator.nabla.apl"
|
954
|
-
},
|
955
|
-
"2": {
|
956
|
-
"name": "keyword.operator.lock.apl"
|
957
|
-
},
|
958
|
-
"3": {
|
959
|
-
"name": "comment.line.apl"
|
960
|
-
}
|
961
|
-
}
|
962
|
-
}
|
963
|
-
]
|
964
|
-
},
|
965
|
-
"lambda": {
|
966
|
-
"name": "meta.lambda.function.apl",
|
967
|
-
"begin": "\\{",
|
968
|
-
"end": "\\}",
|
969
|
-
"beginCaptures": {
|
970
|
-
"0": {
|
971
|
-
"name": "punctuation.definition.lambda.begin.apl"
|
972
|
-
}
|
973
|
-
},
|
974
|
-
"endCaptures": {
|
975
|
-
"0": {
|
976
|
-
"name": "punctuation.definition.lambda.end.apl"
|
977
|
-
}
|
978
|
-
},
|
979
|
-
"patterns": [
|
980
|
-
{
|
981
|
-
"include": "#main"
|
982
|
-
},
|
983
|
-
{
|
984
|
-
"include": "#lambda-variables"
|
985
|
-
}
|
986
|
-
]
|
987
|
-
},
|
988
|
-
"lambda-variables": {
|
989
|
-
"patterns": [
|
990
|
-
{
|
991
|
-
"match": "⍺⍺",
|
992
|
-
"name": "variable.lambda.operands.left.apl"
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"match": "⍵⍵",
|
996
|
-
"name": "variable.lambda.operands.right.apl"
|
997
|
-
},
|
998
|
-
{
|
999
|
-
"match": "[⍺⍶]",
|
1000
|
-
"name": "variable.lambda.arguments.left.apl"
|
1001
|
-
},
|
1002
|
-
{
|
1003
|
-
"match": "[⍵⍹]",
|
1004
|
-
"name": "variable.lambda.arguments.right.apl"
|
1005
|
-
},
|
1006
|
-
{
|
1007
|
-
"match": "χ",
|
1008
|
-
"name": "variable.lambda.arguments.axis.apl"
|
1009
|
-
},
|
1010
|
-
{
|
1011
|
-
"match": "λ",
|
1012
|
-
"name": "variable.lambda.symbol.apl"
|
1408
|
+
"name": "keyword.operator.underbar-iota.apl",
|
1409
|
+
"match": "⍸"
|
1013
1410
|
}
|
1014
1411
|
]
|
1015
1412
|
},
|
1016
1413
|
"sysvars": {
|
1017
|
-
"match": "(⎕)[A-Z]*",
|
1018
1414
|
"name": "support.system.variable.apl",
|
1415
|
+
"match": "(⎕)[A-Z]*",
|
1019
1416
|
"captures": {
|
1020
1417
|
"1": {
|
1021
1418
|
"name": "punctuation.definition.quad.apl"
|
1022
1419
|
}
|
1023
1420
|
}
|
1024
|
-
},
|
1025
|
-
"command-arguments": {
|
1026
|
-
"patterns": [
|
1027
|
-
{
|
1028
|
-
"name": "variable.parameter.argument.apl",
|
1029
|
-
"begin": "\\b(?=\\S)",
|
1030
|
-
"end": "\\b(?=\\s)",
|
1031
|
-
"patterns": [
|
1032
|
-
{
|
1033
|
-
"include": "#main"
|
1034
|
-
}
|
1035
|
-
]
|
1036
|
-
}
|
1037
|
-
]
|
1038
|
-
},
|
1039
|
-
"command-switches": {
|
1040
|
-
"patterns": [
|
1041
|
-
{
|
1042
|
-
"name": "variable.parameter.switch.apl",
|
1043
|
-
"begin": "(?<=\\s)(-)([\\w∆⍙]+[\\w∆⍙¯]*)(=)",
|
1044
|
-
"end": "\\b(?=\\s)",
|
1045
|
-
"beginCaptures": {
|
1046
|
-
"1": {
|
1047
|
-
"name": "punctuation.delimiter.switch.apl"
|
1048
|
-
},
|
1049
|
-
"2": {
|
1050
|
-
"name": "entity.name.switch.apl"
|
1051
|
-
},
|
1052
|
-
"3": {
|
1053
|
-
"name": "punctuation.assignment.switch.apl"
|
1054
|
-
}
|
1055
|
-
},
|
1056
|
-
"patterns": [
|
1057
|
-
{
|
1058
|
-
"include": "#main"
|
1059
|
-
}
|
1060
|
-
]
|
1061
|
-
}
|
1062
|
-
]
|
1063
|
-
},
|
1064
|
-
"sck": {
|
1065
|
-
"patterns": [
|
1066
|
-
{
|
1067
|
-
"name": "keyword.control.sck.apl",
|
1068
|
-
"match": "(?<=\\s|^)(:)([A-Za-z]+)",
|
1069
|
-
"captures": {
|
1070
|
-
"1": {
|
1071
|
-
"name": "punctuation.definition.sck.begin.apl"
|
1072
|
-
},
|
1073
|
-
"2": {
|
1074
|
-
"name": "entity.sck.name.apl"
|
1075
|
-
}
|
1076
|
-
}
|
1077
|
-
}
|
1078
|
-
]
|
1079
|
-
},
|
1080
|
-
"class": {
|
1081
|
-
"patterns": [
|
1082
|
-
{
|
1083
|
-
"begin": "(?<=\\s|^)((:)Class)\\s+('[^']*'?|[A-Za-z_∆⍙]+[\\w∆⍙¯]*)\\s*((:)\\s*(?:('[^']*'?|[A-Za-z_∆⍙]+[\\w∆⍙¯]*)\\s*)?)?(.*?)$",
|
1084
|
-
"end": "(?<=\\s|^)((:)EndClass)(?=\\b)",
|
1085
|
-
"beginCaptures": {
|
1086
|
-
"0": {
|
1087
|
-
"name": "meta.class.apl"
|
1088
|
-
},
|
1089
|
-
"1": {
|
1090
|
-
"name": "keyword.control.class.apl"
|
1091
|
-
},
|
1092
|
-
"2": {
|
1093
|
-
"name": "punctuation.definition.class.apl"
|
1094
|
-
},
|
1095
|
-
"3": {
|
1096
|
-
"name": "entity.name.type.class.apl",
|
1097
|
-
"patterns": [
|
1098
|
-
{
|
1099
|
-
"include": "#strings"
|
1100
|
-
}
|
1101
|
-
]
|
1102
|
-
},
|
1103
|
-
"4": {
|
1104
|
-
"name": "entity.other.inherited-class.apl"
|
1105
|
-
},
|
1106
|
-
"5": {
|
1107
|
-
"name": "punctuation.separator.inheritance.apl"
|
1108
|
-
},
|
1109
|
-
"6": {
|
1110
|
-
"patterns": [
|
1111
|
-
{
|
1112
|
-
"include": "#strings"
|
1113
|
-
}
|
1114
|
-
]
|
1115
|
-
},
|
1116
|
-
"7": {
|
1117
|
-
"name": "entity.other.class.interfaces.apl",
|
1118
|
-
"patterns": [
|
1119
|
-
{
|
1120
|
-
"include": "#csv"
|
1121
|
-
}
|
1122
|
-
]
|
1123
|
-
}
|
1124
|
-
},
|
1125
|
-
"endCaptures": {
|
1126
|
-
"1": {
|
1127
|
-
"name": "keyword.control.class.apl"
|
1128
|
-
},
|
1129
|
-
"2": {
|
1130
|
-
"name": "punctuation.definition.class.apl"
|
1131
|
-
}
|
1132
|
-
},
|
1133
|
-
"patterns": [
|
1134
|
-
{
|
1135
|
-
"name": "meta.field.apl",
|
1136
|
-
"begin": "(?<=\\s|^)(:)Field(?=\\s)",
|
1137
|
-
"end": "\\s*(←.*)?(?:$|(?=⍝))",
|
1138
|
-
"beginCaptures": {
|
1139
|
-
"0": {
|
1140
|
-
"name": "keyword.control.field.apl"
|
1141
|
-
},
|
1142
|
-
"1": {
|
1143
|
-
"name": "punctuation.definition.field.apl"
|
1144
|
-
}
|
1145
|
-
},
|
1146
|
-
"endCaptures": {
|
1147
|
-
"0": {
|
1148
|
-
"name": "entity.other.initial-value.apl"
|
1149
|
-
},
|
1150
|
-
"1": {
|
1151
|
-
"patterns": [
|
1152
|
-
{
|
1153
|
-
"include": "#main"
|
1154
|
-
}
|
1155
|
-
]
|
1156
|
-
}
|
1157
|
-
},
|
1158
|
-
"patterns": [
|
1159
|
-
{
|
1160
|
-
"name": "storage.modifier.access.${1:/downcase}.apl",
|
1161
|
-
"match": "(?<=\\s|^)(Public|Private)(?=\\s|$)"
|
1162
|
-
},
|
1163
|
-
{
|
1164
|
-
"name": "storage.modifier.${1:/downcase}.apl",
|
1165
|
-
"match": "(?<=\\s|^)(Shared|Instance|ReadOnly)(?=\\s|$)"
|
1166
|
-
},
|
1167
|
-
{
|
1168
|
-
"name": "entity.name.type.apl",
|
1169
|
-
"match": "('[^']*'?|[A-Za-z_∆⍙]+[\\w∆⍙¯]*)",
|
1170
|
-
"captures": {
|
1171
|
-
"1": {
|
1172
|
-
"include": "#strings"
|
1173
|
-
}
|
1174
|
-
}
|
1175
|
-
}
|
1176
|
-
]
|
1177
|
-
},
|
1178
|
-
{
|
1179
|
-
"include": "$self"
|
1180
|
-
}
|
1181
|
-
]
|
1182
|
-
}
|
1183
|
-
]
|
1184
|
-
},
|
1185
|
-
"csv": {
|
1186
|
-
"patterns": [
|
1187
|
-
{
|
1188
|
-
"match": ",",
|
1189
|
-
"name": "punctuation.separator.apl"
|
1190
|
-
},
|
1191
|
-
{
|
1192
|
-
"include": "$self"
|
1193
|
-
}
|
1194
|
-
]
|
1195
|
-
},
|
1196
|
-
"heredocs": {
|
1197
|
-
"patterns": [
|
1198
|
-
{
|
1199
|
-
"name": "meta.heredoc.apl",
|
1200
|
-
"begin": "^.*?⎕INP\\s+('|\")((?i).*?HTML?.*?|END-OF-⎕INP)\\1.*$",
|
1201
|
-
"end": "^.*?\\2.*?$",
|
1202
|
-
"beginCaptures": {
|
1203
|
-
"0": {
|
1204
|
-
"patterns": [
|
1205
|
-
{
|
1206
|
-
"include": "#main"
|
1207
|
-
}
|
1208
|
-
]
|
1209
|
-
}
|
1210
|
-
},
|
1211
|
-
"endCaptures": {
|
1212
|
-
"0": {
|
1213
|
-
"name": "constant.other.apl"
|
1214
|
-
}
|
1215
|
-
},
|
1216
|
-
"contentName": "text.embedded.html.basic",
|
1217
|
-
"patterns": [
|
1218
|
-
{
|
1219
|
-
"include": "text.html.basic"
|
1220
|
-
},
|
1221
|
-
{
|
1222
|
-
"include": "#embedded-apl"
|
1223
|
-
}
|
1224
|
-
]
|
1225
|
-
},
|
1226
|
-
{
|
1227
|
-
"name": "meta.heredoc.apl",
|
1228
|
-
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:XML|XSLT|SVG|RSS).*?)\\1.*$",
|
1229
|
-
"end": "^.*?\\2.*?$",
|
1230
|
-
"beginCaptures": {
|
1231
|
-
"0": {
|
1232
|
-
"patterns": [
|
1233
|
-
{
|
1234
|
-
"include": "#main"
|
1235
|
-
}
|
1236
|
-
]
|
1237
|
-
}
|
1238
|
-
},
|
1239
|
-
"endCaptures": {
|
1240
|
-
"0": {
|
1241
|
-
"name": "constant.other.apl"
|
1242
|
-
}
|
1243
|
-
},
|
1244
|
-
"contentName": "text.embedded.xml",
|
1245
|
-
"patterns": [
|
1246
|
-
{
|
1247
|
-
"include": "text.xml"
|
1248
|
-
},
|
1249
|
-
{
|
1250
|
-
"include": "#embedded-apl"
|
1251
|
-
}
|
1252
|
-
]
|
1253
|
-
},
|
1254
|
-
{
|
1255
|
-
"name": "meta.heredoc.apl",
|
1256
|
-
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:CSS|stylesheet).*?)\\1.*$",
|
1257
|
-
"end": "^.*?\\2.*?$",
|
1258
|
-
"beginCaptures": {
|
1259
|
-
"0": {
|
1260
|
-
"patterns": [
|
1261
|
-
{
|
1262
|
-
"include": "#main"
|
1263
|
-
}
|
1264
|
-
]
|
1265
|
-
}
|
1266
|
-
},
|
1267
|
-
"endCaptures": {
|
1268
|
-
"0": {
|
1269
|
-
"name": "constant.other.apl"
|
1270
|
-
}
|
1271
|
-
},
|
1272
|
-
"contentName": "source.embedded.css",
|
1273
|
-
"patterns": [
|
1274
|
-
{
|
1275
|
-
"include": "source.css"
|
1276
|
-
},
|
1277
|
-
{
|
1278
|
-
"include": "#embedded-apl"
|
1279
|
-
}
|
1280
|
-
]
|
1281
|
-
},
|
1282
|
-
{
|
1283
|
-
"name": "meta.heredoc.apl",
|
1284
|
-
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:JS(?!ON)|(?:ECMA|J|Java).?Script).*?)\\1.*$",
|
1285
|
-
"end": "^.*?\\2.*?$",
|
1286
|
-
"beginCaptures": {
|
1287
|
-
"0": {
|
1288
|
-
"patterns": [
|
1289
|
-
{
|
1290
|
-
"include": "#main"
|
1291
|
-
}
|
1292
|
-
]
|
1293
|
-
}
|
1294
|
-
},
|
1295
|
-
"endCaptures": {
|
1296
|
-
"0": {
|
1297
|
-
"name": "constant.other.apl"
|
1298
|
-
}
|
1299
|
-
},
|
1300
|
-
"contentName": "source.embedded.js",
|
1301
|
-
"patterns": [
|
1302
|
-
{
|
1303
|
-
"include": "source.js"
|
1304
|
-
},
|
1305
|
-
{
|
1306
|
-
"include": "#embedded-apl"
|
1307
|
-
}
|
1308
|
-
]
|
1309
|
-
},
|
1310
|
-
{
|
1311
|
-
"name": "meta.heredoc.apl",
|
1312
|
-
"begin": "^.*?⎕INP\\s+('|\")((?i).*?(?:JSON).*?)\\1.*$",
|
1313
|
-
"end": "^.*?\\2.*?$",
|
1314
|
-
"beginCaptures": {
|
1315
|
-
"0": {
|
1316
|
-
"patterns": [
|
1317
|
-
{
|
1318
|
-
"include": "#main"
|
1319
|
-
}
|
1320
|
-
]
|
1321
|
-
}
|
1322
|
-
},
|
1323
|
-
"endCaptures": {
|
1324
|
-
"0": {
|
1325
|
-
"name": "constant.other.apl"
|
1326
|
-
}
|
1327
|
-
},
|
1328
|
-
"contentName": "source.embedded.json",
|
1329
|
-
"patterns": [
|
1330
|
-
{
|
1331
|
-
"include": "source.json"
|
1332
|
-
},
|
1333
|
-
{
|
1334
|
-
"include": "#embedded-apl"
|
1335
|
-
}
|
1336
|
-
]
|
1337
|
-
},
|
1338
|
-
{
|
1339
|
-
"name": "meta.heredoc.apl",
|
1340
|
-
"begin": "^.*?⎕INP\\s+('|\")(?i)((?:Raw|Plain)?\\s*Te?xt)\\1.*$",
|
1341
|
-
"end": "^.*?\\2.*?$",
|
1342
|
-
"beginCaptures": {
|
1343
|
-
"0": {
|
1344
|
-
"patterns": [
|
1345
|
-
{
|
1346
|
-
"include": "#main"
|
1347
|
-
}
|
1348
|
-
]
|
1349
|
-
}
|
1350
|
-
},
|
1351
|
-
"endCaptures": {
|
1352
|
-
"0": {
|
1353
|
-
"name": "constant.other.apl"
|
1354
|
-
}
|
1355
|
-
},
|
1356
|
-
"contentName": "text.embedded.plain",
|
1357
|
-
"patterns": [
|
1358
|
-
{
|
1359
|
-
"include": "#embedded-apl"
|
1360
|
-
}
|
1361
|
-
]
|
1362
|
-
},
|
1363
|
-
{
|
1364
|
-
"name": "meta.heredoc.apl",
|
1365
|
-
"begin": "^.*?⎕INP\\s+('|\")(.*?)\\1.*$",
|
1366
|
-
"end": "^.*?\\2.*?$",
|
1367
|
-
"beginCaptures": {
|
1368
|
-
"0": {
|
1369
|
-
"patterns": [
|
1370
|
-
{
|
1371
|
-
"include": "#main"
|
1372
|
-
}
|
1373
|
-
]
|
1374
|
-
}
|
1375
|
-
},
|
1376
|
-
"endCaptures": {
|
1377
|
-
"0": {
|
1378
|
-
"name": "constant.other.apl"
|
1379
|
-
}
|
1380
|
-
},
|
1381
|
-
"patterns": [
|
1382
|
-
{
|
1383
|
-
"include": "$self"
|
1384
|
-
}
|
1385
|
-
]
|
1386
|
-
}
|
1387
|
-
]
|
1388
|
-
},
|
1389
|
-
"embedded-apl": {
|
1390
|
-
"patterns": [
|
1391
|
-
{
|
1392
|
-
"name": "meta.embedded.block.apl",
|
1393
|
-
"begin": "(?i)(<(\\?|%)(?:apl(?=\\s+)|=))",
|
1394
|
-
"end": "(?<=\\s)(\\2>)",
|
1395
|
-
"patterns": [
|
1396
|
-
{
|
1397
|
-
"include": "#main"
|
1398
|
-
}
|
1399
|
-
],
|
1400
|
-
"beginCaptures": {
|
1401
|
-
"1": {
|
1402
|
-
"name": "punctuation.section.embedded.begin.apl"
|
1403
|
-
}
|
1404
|
-
},
|
1405
|
-
"endCaptures": {
|
1406
|
-
"1": {
|
1407
|
-
"name": "punctuation.section.embedded.end.apl"
|
1408
|
-
}
|
1409
|
-
}
|
1410
|
-
}
|
1411
|
-
]
|
1412
1421
|
}
|
1413
1422
|
}
|
1414
|
-
}
|
1423
|
+
}
|