@oscloudlab/knowledge-card 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abap-bNFqRLO1.js +84 -0
- package/dist/abnf-hvXtkKLY.js +87 -0
- package/dist/actionscript-6i80VbAv.js +43 -0
- package/dist/ada-CiSKRw34.js +52 -0
- package/dist/agda-BELchEdZ.js +56 -0
- package/dist/al-DkPZllof.js +56 -0
- package/dist/antlr4-D6U2qvIr.js +96 -0
- package/dist/apacheconf-DoADUQkC.js +80 -0
- package/dist/apex-Dwxgykqz.js +104 -0
- package/dist/apl-n43gQAL3.js +65 -0
- package/dist/applescript-DUNzhl2t.js +50 -0
- package/dist/aql-BNnsomU8.js +82 -0
- package/dist/arduino-Ctiiir5A.js +41 -0
- package/dist/arff-CF3A9Ff-.js +43 -0
- package/dist/asciidoc-BORHAu3L.js +240 -0
- package/dist/asm6502-OhJaS22O.js +62 -0
- package/dist/asmatmel-CG3mJBJs.js +74 -0
- package/dist/aspnet-Bgu9cVxS.js +83 -0
- package/dist/autohotkey-BMzF8w3W.js +64 -0
- package/dist/autoit-BUz7W_A-.js +67 -0
- package/dist/avisynth-D_5DsX9W.js +195 -0
- package/dist/avro-idl-DXBF-8pT.js +74 -0
- package/dist/bash-0-vitIuH.js +223 -0
- package/dist/bash-CmPTK8K6.js +26 -0
- package/dist/basic-CBrKUqQp.js +28 -0
- package/dist/basic-CgjK_kM4.js +26 -0
- package/dist/batch-DDuJqYDJ.js +125 -0
- package/dist/bbcode-BBBJW4h9.js +60 -0
- package/dist/bicep-B7Vet2aR.js +102 -0
- package/dist/birb-DPs12VRI.js +53 -0
- package/dist/bison-BKvEoKEG.js +73 -0
- package/dist/bnf-CaE0Bt3T.js +52 -0
- package/dist/brainfuck-GdsepcND.js +53 -0
- package/dist/brightscript-CaQ-B4pE.js +76 -0
- package/dist/bro-C_rmjGgn.js +60 -0
- package/dist/bsl-DQhyt9j4.js +101 -0
- package/dist/c-D8-laUL_.js +26 -0
- package/dist/c-b2c4WJSm.js +83 -0
- package/dist/cfscript-DcwVkFDX.js +71 -0
- package/dist/chaiscript-C1jdPAs0.js +89 -0
- package/dist/cil-C54xDxMg.js +52 -0
- package/dist/clike-D8ff3B0t.js +61 -0
- package/dist/clojure-BtKUzyKV.js +63 -0
- package/dist/cmake-CcFmEv5M.js +62 -0
- package/dist/cobol-SnYz3b9P.js +82 -0
- package/dist/coffeescript-CKJzYVhc.js +110 -0
- package/dist/concurnas-C6YKMKIG.js +90 -0
- package/dist/coq-AH1nKVcq.js +81 -0
- package/dist/core-CcwoL92f.js +1712 -0
- package/dist/cpp-Bh1PKWEj.js +26 -0
- package/dist/cpp-C0j-5811.js +115 -0
- package/dist/crystal-ByWjq0Om.js +87 -0
- package/dist/csharp-BmDeN1AH.js +388 -0
- package/dist/csharp-C-RIlwgF.js +26 -0
- package/dist/cshtml-BX2903vs.js +134 -0
- package/dist/csp-BKqyZN9w.js +90 -0
- package/dist/css-9KZNpeR_.js +90 -0
- package/dist/css-extras-DWWoGQa1.js +139 -0
- package/dist/csv-6jawsFvm.js +37 -0
- package/dist/cypher-GT5Ln_K4.js +65 -0
- package/dist/d-DQuNeOB7.js +109 -0
- package/dist/dart-CHER8X1l.js +101 -0
- package/dist/dataweave-DL_Y2LqP.js +73 -0
- package/dist/dax-D27J9qU6.js +60 -0
- package/dist/dhall-C-Dtjrdj.js +95 -0
- package/dist/diff-Dg1kV9wC.js +78 -0
- package/dist/django-LEJ_YyjH.js +81 -0
- package/dist/dns-zone-file-CX7rXdX2.js +64 -0
- package/dist/docker-CtY3JCLx.js +127 -0
- package/dist/dot-od_DZdpT.js +102 -0
- package/dist/ebnf-DIuzViAe.js +53 -0
- package/dist/editorconfig-CX02cRV5.js +60 -0
- package/dist/eiffel-D3XUiBw2.js +67 -0
- package/dist/ejs-2AfMOM5A.js +58 -0
- package/dist/elixir-722y_YPp.js +129 -0
- package/dist/elm-CIyhdE5y.js +78 -0
- package/dist/erb-B4chbVqA.js +60 -0
- package/dist/erlang-DxizlpkP.js +76 -0
- package/dist/etlua-D_9hun9v.js +58 -0
- package/dist/excel-formula-CmpI_82m.js +95 -0
- package/dist/factor-krg_8lb-.js +949 -0
- package/dist/false-B2gdCewG.js +60 -0
- package/dist/firestore-security-rules-xige90gq.js +67 -0
- package/dist/flow-bpD4sbhm.js +57 -0
- package/dist/fortran-B4crZzNk.js +73 -0
- package/dist/fsharp-BnvVN9HC.js +105 -0
- package/dist/ftl-BoWDVp6s.js +146 -0
- package/dist/gap-DxJ82BxA.js +78 -0
- package/dist/gcode-u6kBGAFD.js +49 -0
- package/dist/gdscript-DvuFm0WL.js +60 -0
- package/dist/gedcom-D6YNHC5R.js +61 -0
- package/dist/gherkin-DhC07ENE.js +115 -0
- package/dist/git-5vwNu_fL.js +96 -0
- package/dist/glsl-BGzQvWQa.js +39 -0
- package/dist/gml-DQQsqa0X.js +40 -0
- package/dist/gn-Bz3fehJS.js +76 -0
- package/dist/go-DQVNbr0F.js +57 -0
- package/dist/go-module-DAdBkEV6.js +55 -0
- package/dist/graphql-b5aI1fau.js +154 -0
- package/dist/groovy-C4Zi8h0f.js +82 -0
- package/dist/haml-B9jL77OH.js +172 -0
- package/dist/handlebars-BWszzUxR.js +74 -0
- package/dist/haskell-BrIvnyGx.js +26 -0
- package/dist/haskell-DR6jYji5.js +75 -0
- package/dist/haxe-DUpmVd5P.js +105 -0
- package/dist/hcl-CLqVpYtA.js +93 -0
- package/dist/hlsl-CsYJVSWg.js +55 -0
- package/dist/hoon-D0TgxHvB.js +47 -0
- package/dist/hpkp-BiU-mQjG.js +41 -0
- package/dist/hsts-DE54dR1b.js +41 -0
- package/dist/http-CfgOm4UI.js +155 -0
- package/dist/ichigojam-CVZ6Aj_t.js +46 -0
- package/dist/icon-CekiVVmc.js +53 -0
- package/dist/icu-message-format-CJA9loKb.js +165 -0
- package/dist/idris-KG9ztadM.js +51 -0
- package/dist/iecst-wFMMjMpf.js +65 -0
- package/dist/ignore-Byv4NN_B.js +51 -0
- package/dist/index-Sj89RFCY.js +136569 -0
- package/dist/index.esm.js +2 -683
- package/dist/index.umd.js +1611 -15
- package/dist/inform7-YsL-LiaC.js +90 -0
- package/dist/ini-ChNiYeuM.js +73 -0
- package/dist/io-BzLClKN_.js +55 -0
- package/dist/j-BuLAn7Gf.js +61 -0
- package/dist/java-3PJ6FLyt.js +26 -0
- package/dist/java-DYIb7l3j.js +98 -0
- package/dist/javadoc-BnSaiIyg.js +118 -0
- package/dist/javadoclike-BSqXhy54.js +26 -0
- package/dist/javadoclike-CHbTYI14.js +59 -0
- package/dist/javascript-Cl708kfq.js +152 -0
- package/dist/javastacktrace-DVGIqwxN.js +167 -0
- package/dist/jexl-DMjq6Vaw.js +47 -0
- package/dist/jolie-DXoSR52A.js +72 -0
- package/dist/jq-Dp1c5kuj.js +100 -0
- package/dist/js-extras-DJfB1MC8.js +150 -0
- package/dist/js-templates--GrCX2F1.js +197 -0
- package/dist/jsdoc-vErSu9Cr.js +116 -0
- package/dist/json-BW8KBIeJ.js +35 -0
- package/dist/json-BefNJCW-.js +26 -0
- package/dist/json5-CsdIXkOZ.js +56 -0
- package/dist/jsonp-Dz_5Lt-E.js +41 -0
- package/dist/jsstacktrace-DbBQ3Cv7.js +74 -0
- package/dist/jsx-Bv5_R7Yd.js +26 -0
- package/dist/jsx-FTe7XA1B.js +77 -0
- package/dist/julia-CoYGw2IR.js +68 -0
- package/dist/keepalived-CPWdwddz.js +81 -0
- package/dist/keyman-DNslP0Yy.js +76 -0
- package/dist/kotlin-CbZgjbyh.js +108 -0
- package/dist/kumir-Q_jLwxfZ.js +120 -0
- package/dist/kusto-dM9uOfWk.js +71 -0
- package/dist/latex-Bfeq39tO.js +92 -0
- package/dist/latte-CFxOlcdj.js +101 -0
- package/dist/less-DwfFB3qp.js +75 -0
- package/dist/lilypond-DaH_baew.js +104 -0
- package/dist/liquid-5rAVI9Ad.js +97 -0
- package/dist/lisp-Btc3xid7.js +194 -0
- package/dist/livescript-DQvJc3cA.js +150 -0
- package/dist/llvm-B7k0U20m.js +52 -0
- package/dist/log-B7ulCZCI.js +133 -0
- package/dist/lolcode-BEEMlfuU.js +81 -0
- package/dist/lua-BggcDXQp.js +31 -0
- package/dist/lua-D-T62TZ5.js +26 -0
- package/dist/magma-DAN3ZGAI.js +63 -0
- package/dist/makefile-Bjl-N6S3.js +63 -0
- package/dist/markdown-6Q2QSFJe.js +355 -0
- package/dist/markup-Bwuswjib.js +194 -0
- package/dist/markup-templating-BLspI5oq.js +26 -0
- package/dist/markup-templating-CVTxtFGH.js +77 -0
- package/dist/matlab-Bim6HLuO.js +46 -0
- package/dist/maxscript-BJqnafAC.js +97 -0
- package/dist/mel-C4iJe_aZ.js +74 -0
- package/dist/mermaid-DbKsw5IU.js +137 -0
- package/dist/mizar-DdUuEnQ0.js +45 -0
- package/dist/mongodb-C7OZqIiL.js +321 -0
- package/dist/monkey-CFQNpGhn.js +61 -0
- package/dist/moonscript-BDdCZd5M.js +87 -0
- package/dist/n1ql-C-ll6pgt.js +55 -0
- package/dist/n4js-DCLtuFdY.js +43 -0
- package/dist/nand2tetris-hdl-DJsK5r3l.js +42 -0
- package/dist/naniscript-DtHo8Sfl.js +165 -0
- package/dist/nasm-gJZT8LPh.js +57 -0
- package/dist/neon-SaMGcsnU.js +73 -0
- package/dist/nevod-Dqvto6vw.js +158 -0
- package/dist/nginx-Cp89qRQy.js +82 -0
- package/dist/nim-CdGVC6Mb.js +75 -0
- package/dist/nix-jnfiSyYI.js +69 -0
- package/dist/nsis-BZ4yPak6.js +58 -0
- package/dist/objectivec-B9lo2Gq2.js +44 -0
- package/dist/ocaml-DtZ_IyiS.js +88 -0
- package/dist/opencl-CtUznKol.js +83 -0
- package/dist/openqasm-BAmjbx7B.js +50 -0
- package/dist/oz-mvOvhn7u.js +61 -0
- package/dist/parigp-B5Xdmiju.js +81 -0
- package/dist/parser-Ct77dMe3.js +106 -0
- package/dist/pascal-Dwf-aqDs.js +95 -0
- package/dist/pascaligo-DWTvG1fw.js +115 -0
- package/dist/pcaxis-BUnNg5h_.js +84 -0
- package/dist/peoplecode-CewkQs1u.js +74 -0
- package/dist/perl-CmRi-uRU.js +164 -0
- package/dist/php-C_FrOCG4.js +334 -0
- package/dist/php-e7f7GtZ8.js +26 -0
- package/dist/php-extras-ATZDccPm.js +50 -0
- package/dist/phpdoc-uba1O-5-.js +61 -0
- package/dist/plsql-BLNilzVM.js +51 -0
- package/dist/powerquery-CddEWH0P.js +83 -0
- package/dist/powershell-SimxvdWh.js +88 -0
- package/dist/processing-IeXhsRmw.js +46 -0
- package/dist/prolog-CnTr7enQ.js +52 -0
- package/dist/promql-DpmXmCiA.js +120 -0
- package/dist/properties-BraQbkIL.js +42 -0
- package/dist/protobuf-BKmtm9wI.js +71 -0
- package/dist/psl-DfJLNMzA.js +68 -0
- package/dist/pug-C7olXkyh.js +212 -0
- package/dist/puppet-DMdAuQ_Z.js +167 -0
- package/dist/pure-BVQraXQo.js +111 -0
- package/dist/purebasic-DnAwivDW.js +87 -0
- package/dist/purescript-BBcUX3cf.js +62 -0
- package/dist/python-C9JXUpy2.js +94 -0
- package/dist/q-Ct9Ut4C4.js +83 -0
- package/dist/qml-DubjWeE3.js +103 -0
- package/dist/qore-CDjxpVlT.js +53 -0
- package/dist/qsharp-Dyr5mrma.js +128 -0
- package/dist/r-B4F2KUJL.js +55 -0
- package/dist/racket-D5k9UW-t.js +50 -0
- package/dist/reason-Cs82zJO7.js +54 -0
- package/dist/regex-Z8MvaNEm.js +124 -0
- package/dist/rego-CcGrxeab.js +58 -0
- package/dist/renpy-mByYQWSM.js +51 -0
- package/dist/rest-BoR9ZMoX.js +231 -0
- package/dist/rip-C3Bf4Bpl.js +62 -0
- package/dist/roboconf-1MYmsJJ7.js +60 -0
- package/dist/robotframework-fBSrPGHK.js +122 -0
- package/dist/ruby-BQlisu6i.js +182 -0
- package/dist/ruby-DRrUXRqW.js +26 -0
- package/dist/rust-DhUR7ICB.js +149 -0
- package/dist/sas-D7DM5vmM.js +362 -0
- package/dist/sass-B-3W9xmk.js +96 -0
- package/dist/scala-DmHnWeTz.js +80 -0
- package/dist/scheme-B-TWMKN_.js +122 -0
- package/dist/scheme-egHBLRqV.js +26 -0
- package/dist/scss-BU4D1BLj.js +106 -0
- package/dist/shell-session-6QFBv7G6.js +93 -0
- package/dist/smali-B48Y4QYt.js +112 -0
- package/dist/smalltalk-w59b04aF.js +71 -0
- package/dist/smarty-CnWvL-Ef.js +147 -0
- package/dist/sml-cUUD1qMQ.js +91 -0
- package/dist/solidity-Drt__SLk.js +49 -0
- package/dist/solution-file-CYG1BOQK.js +79 -0
- package/dist/soy-BZNQzgkB.js +112 -0
- package/dist/sparql-BQDndvZG.js +49 -0
- package/dist/splunk-spl-ezOLCJwA.js +57 -0
- package/dist/sqf-C83ezg-4.js +63 -0
- package/dist/sql-CVBSuRzU.js +26 -0
- package/dist/sql-qhcRp-Km.js +44 -0
- package/dist/squirrel-2r-3bEO_.js +74 -0
- package/dist/stan-D2wLHzr8.js +86 -0
- package/dist/style.css +1 -1
- package/dist/stylus-KkSvURTJ.js +165 -0
- package/dist/swift-c7528WsQ.js +152 -0
- package/dist/systemd-DWsV0AtP.js +88 -0
- package/dist/t4-cs-D7NmzTCB.js +38 -0
- package/dist/t4-templating-Bc9GyRcs.js +26 -0
- package/dist/t4-templating-yxm91MEk.js +56 -0
- package/dist/t4-vb-Df3tMe1Q.js +38 -0
- package/dist/tap-wFXvu_No.js +56 -0
- package/dist/tcl-BZqzhUcQ.js +79 -0
- package/dist/textile-DrTKyn7T.js +289 -0
- package/dist/toml-LVQpNmZe.js +86 -0
- package/dist/tremor-A_cxX8C4.js +90 -0
- package/dist/tsx-CQKNNLzi.js +46 -0
- package/dist/tt2-CPOtfoBh.js +78 -0
- package/dist/turtle-BjRE9oBS.js +26 -0
- package/dist/turtle-z6QfbtiY.js +61 -0
- package/dist/twig-Cz25rowk.js +72 -0
- package/dist/typescript--VNBoLO-.js +56 -0
- package/dist/typescript-Bx2QMcny.js +26 -0
- package/dist/typoscript-BdH7x5a4.js +109 -0
- package/dist/unrealscript-Cb8322pT.js +71 -0
- package/dist/uorazor-CHv0VHYn.js +81 -0
- package/dist/uri-ci9M926F.js +116 -0
- package/dist/v-DL4z_kNT.js +106 -0
- package/dist/vala-CPIzd5en.js +113 -0
- package/dist/vbnet-BoCvq106.js +26 -0
- package/dist/vbnet-ClfmYufs.js +36 -0
- package/dist/velocity-CBXhMUrK.js +99 -0
- package/dist/verilog-C1ZX-Tr8.js +59 -0
- package/dist/vhdl-CLlMgFjz.js +56 -0
- package/dist/vim-BuFUFT06.js +43 -0
- package/dist/visual-basic-CzPES6jG.js +59 -0
- package/dist/warpscript-C5YvStKz.js +54 -0
- package/dist/wasm-txCKMkgE.js +64 -0
- package/dist/web-idl-B4OgJf1y.js +118 -0
- package/dist/wiki-C6_DR7WK.js +110 -0
- package/dist/wolfram-D9ETP9M6.js +58 -0
- package/dist/wren-CkhJWcmB.js +121 -0
- package/dist/xeora-Cg3OrGlT.js +147 -0
- package/dist/xml-doc-C0mFvWUS.js +56 -0
- package/dist/xojo-CW6K9MHL.js +51 -0
- package/dist/xquery-B0ssbj_m.js +118 -0
- package/dist/yaml-S0xfBtlT.js +26 -0
- package/dist/yaml-hxc7aP7n.js +92 -0
- package/dist/yang-Dg6OSQ6Y.js +53 -0
- package/dist/zig-xuUtE8Pe.js +117 -0
- package/package.json +30 -4
- package/dist/index.d.ts +0 -2
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import { g as T } from "./index-Sj89RFCY.js";
|
|
2
|
+
function R(s, u) {
|
|
3
|
+
for (var r = 0; r < u.length; r++) {
|
|
4
|
+
const t = u[r];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const e in t)
|
|
7
|
+
if (e !== "default" && !(e in s)) {
|
|
8
|
+
const a = Object.getOwnPropertyDescriptor(t, e);
|
|
9
|
+
a && Object.defineProperty(s, e, a.get ? a : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[e]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var b, h;
|
|
19
|
+
function x() {
|
|
20
|
+
if (h) return b;
|
|
21
|
+
h = 1, b = s, s.displayName = "sas", s.aliases = [];
|
|
22
|
+
function s(u) {
|
|
23
|
+
(function(r) {
|
|
24
|
+
var t = /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source, e = /\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i, a = {
|
|
25
|
+
pattern: RegExp(t + "[bx]"),
|
|
26
|
+
alias: "number"
|
|
27
|
+
}, m = {
|
|
28
|
+
pattern: /&[a-z_]\w*/i
|
|
29
|
+
}, g = {
|
|
30
|
+
pattern: /((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,
|
|
31
|
+
lookbehind: !0,
|
|
32
|
+
alias: "keyword"
|
|
33
|
+
}, f = {
|
|
34
|
+
pattern: /(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,
|
|
35
|
+
alias: "keyword",
|
|
36
|
+
lookbehind: !0
|
|
37
|
+
}, l = [
|
|
38
|
+
/\/\*[\s\S]*?\*\//,
|
|
39
|
+
{
|
|
40
|
+
pattern: /(^[ \t]*|;\s*)\*[^;]*;/m,
|
|
41
|
+
lookbehind: !0
|
|
42
|
+
}
|
|
43
|
+
], i = {
|
|
44
|
+
pattern: RegExp(t),
|
|
45
|
+
greedy: !0
|
|
46
|
+
}, n = /[$%@.(){}\[\];,\\]/, c = {
|
|
47
|
+
pattern: /%?\b\w+(?=\()/,
|
|
48
|
+
alias: "keyword"
|
|
49
|
+
}, o = {
|
|
50
|
+
function: c,
|
|
51
|
+
"arg-value": {
|
|
52
|
+
pattern: /(=\s*)[A-Z\.]+/i,
|
|
53
|
+
lookbehind: !0
|
|
54
|
+
},
|
|
55
|
+
operator: /=/,
|
|
56
|
+
"macro-variable": m,
|
|
57
|
+
arg: {
|
|
58
|
+
pattern: /[A-Z]+/i,
|
|
59
|
+
alias: "keyword"
|
|
60
|
+
},
|
|
61
|
+
number: e,
|
|
62
|
+
"numeric-constant": a,
|
|
63
|
+
punctuation: n,
|
|
64
|
+
string: i
|
|
65
|
+
}, y = {
|
|
66
|
+
pattern: /\b(?:format|put)\b=?[\w'$.]+/i,
|
|
67
|
+
inside: {
|
|
68
|
+
keyword: /^(?:format|put)(?==)/i,
|
|
69
|
+
equals: /=/,
|
|
70
|
+
format: {
|
|
71
|
+
pattern: /(?:\w|\$\d)+\.\d?/,
|
|
72
|
+
alias: "number"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}, S = {
|
|
76
|
+
pattern: /\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,
|
|
77
|
+
inside: {
|
|
78
|
+
keyword: /^(?:format|put)/i,
|
|
79
|
+
format: {
|
|
80
|
+
pattern: /[\w$]+\.\d?/,
|
|
81
|
+
alias: "number"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}, d = {
|
|
85
|
+
pattern: /((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,
|
|
86
|
+
lookbehind: !0,
|
|
87
|
+
alias: "keyword"
|
|
88
|
+
}, k = {
|
|
89
|
+
pattern: /(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,
|
|
90
|
+
lookbehind: !0,
|
|
91
|
+
alias: "keyword"
|
|
92
|
+
}, w = /aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source, v = {
|
|
93
|
+
pattern: RegExp(
|
|
94
|
+
/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(
|
|
95
|
+
/<act>/g,
|
|
96
|
+
function() {
|
|
97
|
+
return w;
|
|
98
|
+
}
|
|
99
|
+
),
|
|
100
|
+
"i"
|
|
101
|
+
),
|
|
102
|
+
lookbehind: !0,
|
|
103
|
+
inside: {
|
|
104
|
+
keyword: RegExp(
|
|
105
|
+
/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g, function() {
|
|
106
|
+
return w;
|
|
107
|
+
}),
|
|
108
|
+
"i"
|
|
109
|
+
),
|
|
110
|
+
action: {
|
|
111
|
+
pattern: /(?:action)/i,
|
|
112
|
+
alias: "keyword"
|
|
113
|
+
},
|
|
114
|
+
comment: l,
|
|
115
|
+
function: c,
|
|
116
|
+
"arg-value": o["arg-value"],
|
|
117
|
+
operator: o.operator,
|
|
118
|
+
argument: o.arg,
|
|
119
|
+
number: e,
|
|
120
|
+
"numeric-constant": a,
|
|
121
|
+
punctuation: n,
|
|
122
|
+
string: i
|
|
123
|
+
}
|
|
124
|
+
}, p = {
|
|
125
|
+
pattern: /((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,
|
|
126
|
+
lookbehind: !0
|
|
127
|
+
};
|
|
128
|
+
r.languages.sas = {
|
|
129
|
+
datalines: {
|
|
130
|
+
pattern: /^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,
|
|
131
|
+
lookbehind: !0,
|
|
132
|
+
alias: "string",
|
|
133
|
+
inside: {
|
|
134
|
+
keyword: {
|
|
135
|
+
pattern: /^(?:cards|(?:data)?lines)/i
|
|
136
|
+
},
|
|
137
|
+
punctuation: /;/
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"proc-sql": {
|
|
141
|
+
pattern: /(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,
|
|
142
|
+
lookbehind: !0,
|
|
143
|
+
inside: {
|
|
144
|
+
sql: {
|
|
145
|
+
pattern: RegExp(
|
|
146
|
+
/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(
|
|
147
|
+
/<str>/g,
|
|
148
|
+
function() {
|
|
149
|
+
return t;
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
"im"
|
|
153
|
+
),
|
|
154
|
+
alias: "language-sql",
|
|
155
|
+
inside: r.languages.sql
|
|
156
|
+
},
|
|
157
|
+
"global-statements": d,
|
|
158
|
+
"sql-statements": {
|
|
159
|
+
pattern: /(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,
|
|
160
|
+
lookbehind: !0,
|
|
161
|
+
alias: "keyword"
|
|
162
|
+
},
|
|
163
|
+
number: e,
|
|
164
|
+
"numeric-constant": a,
|
|
165
|
+
punctuation: n,
|
|
166
|
+
string: i
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"proc-groovy": {
|
|
170
|
+
pattern: /(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,
|
|
171
|
+
lookbehind: !0,
|
|
172
|
+
inside: {
|
|
173
|
+
comment: l,
|
|
174
|
+
groovy: {
|
|
175
|
+
pattern: RegExp(
|
|
176
|
+
/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(
|
|
177
|
+
/<str>/g,
|
|
178
|
+
function() {
|
|
179
|
+
return t;
|
|
180
|
+
}
|
|
181
|
+
),
|
|
182
|
+
"im"
|
|
183
|
+
),
|
|
184
|
+
lookbehind: !0,
|
|
185
|
+
alias: "language-groovy",
|
|
186
|
+
inside: r.languages.groovy
|
|
187
|
+
},
|
|
188
|
+
keyword: p,
|
|
189
|
+
"submit-statement": k,
|
|
190
|
+
"global-statements": d,
|
|
191
|
+
number: e,
|
|
192
|
+
"numeric-constant": a,
|
|
193
|
+
punctuation: n,
|
|
194
|
+
string: i
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"proc-lua": {
|
|
198
|
+
pattern: /(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,
|
|
199
|
+
lookbehind: !0,
|
|
200
|
+
inside: {
|
|
201
|
+
comment: l,
|
|
202
|
+
lua: {
|
|
203
|
+
pattern: RegExp(
|
|
204
|
+
/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(
|
|
205
|
+
/<str>/g,
|
|
206
|
+
function() {
|
|
207
|
+
return t;
|
|
208
|
+
}
|
|
209
|
+
),
|
|
210
|
+
"im"
|
|
211
|
+
),
|
|
212
|
+
lookbehind: !0,
|
|
213
|
+
alias: "language-lua",
|
|
214
|
+
inside: r.languages.lua
|
|
215
|
+
},
|
|
216
|
+
keyword: p,
|
|
217
|
+
"submit-statement": k,
|
|
218
|
+
"global-statements": d,
|
|
219
|
+
number: e,
|
|
220
|
+
"numeric-constant": a,
|
|
221
|
+
punctuation: n,
|
|
222
|
+
string: i
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"proc-cas": {
|
|
226
|
+
pattern: /(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,
|
|
227
|
+
lookbehind: !0,
|
|
228
|
+
inside: {
|
|
229
|
+
comment: l,
|
|
230
|
+
"statement-var": {
|
|
231
|
+
pattern: /((?:^|\s)=?)saveresult\s[^;]+/im,
|
|
232
|
+
lookbehind: !0,
|
|
233
|
+
inside: {
|
|
234
|
+
statement: {
|
|
235
|
+
pattern: /^saveresult\s+\S+/i,
|
|
236
|
+
inside: {
|
|
237
|
+
keyword: /^(?:saveresult)/i
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
rest: o
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"cas-actions": v,
|
|
244
|
+
statement: {
|
|
245
|
+
pattern: /((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,
|
|
246
|
+
lookbehind: !0,
|
|
247
|
+
inside: o
|
|
248
|
+
},
|
|
249
|
+
step: f,
|
|
250
|
+
keyword: p,
|
|
251
|
+
function: c,
|
|
252
|
+
format: y,
|
|
253
|
+
altformat: S,
|
|
254
|
+
"global-statements": d,
|
|
255
|
+
number: e,
|
|
256
|
+
"numeric-constant": a,
|
|
257
|
+
punctuation: n,
|
|
258
|
+
string: i
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"proc-args": {
|
|
262
|
+
pattern: RegExp(
|
|
263
|
+
/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(
|
|
264
|
+
/<str>/g,
|
|
265
|
+
function() {
|
|
266
|
+
return t;
|
|
267
|
+
}
|
|
268
|
+
),
|
|
269
|
+
"im"
|
|
270
|
+
),
|
|
271
|
+
lookbehind: !0,
|
|
272
|
+
inside: o
|
|
273
|
+
},
|
|
274
|
+
/*Special keywords within macros*/
|
|
275
|
+
"macro-keyword": g,
|
|
276
|
+
"macro-variable": m,
|
|
277
|
+
"macro-string-functions": {
|
|
278
|
+
pattern: /((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,
|
|
279
|
+
lookbehind: !0,
|
|
280
|
+
inside: {
|
|
281
|
+
function: {
|
|
282
|
+
pattern: /%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,
|
|
283
|
+
alias: "keyword"
|
|
284
|
+
},
|
|
285
|
+
"macro-keyword": g,
|
|
286
|
+
"macro-variable": m,
|
|
287
|
+
"escaped-char": {
|
|
288
|
+
pattern: /%['"()<>=¬^~;,#]/
|
|
289
|
+
},
|
|
290
|
+
punctuation: n
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"macro-declaration": {
|
|
294
|
+
pattern: /^%macro[^;]+(?=;)/im,
|
|
295
|
+
inside: {
|
|
296
|
+
keyword: /%macro/i
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"macro-end": {
|
|
300
|
+
pattern: /^%mend[^;]+(?=;)/im,
|
|
301
|
+
inside: {
|
|
302
|
+
keyword: /%mend/i
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
/*%_zscore(headcir, _lhc, _mhc, _shc, headcz, headcpct, _Fheadcz); */
|
|
306
|
+
macro: {
|
|
307
|
+
pattern: /%_\w+(?=\()/,
|
|
308
|
+
alias: "keyword"
|
|
309
|
+
},
|
|
310
|
+
input: {
|
|
311
|
+
pattern: /\binput\s[-\w\s/*.$&]+;/i,
|
|
312
|
+
inside: {
|
|
313
|
+
input: {
|
|
314
|
+
alias: "keyword",
|
|
315
|
+
pattern: /^input/i
|
|
316
|
+
},
|
|
317
|
+
comment: l,
|
|
318
|
+
number: e,
|
|
319
|
+
"numeric-constant": a
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"options-args": {
|
|
323
|
+
pattern: /(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,
|
|
324
|
+
lookbehind: !0,
|
|
325
|
+
inside: o
|
|
326
|
+
},
|
|
327
|
+
"cas-actions": v,
|
|
328
|
+
comment: l,
|
|
329
|
+
function: c,
|
|
330
|
+
format: y,
|
|
331
|
+
altformat: S,
|
|
332
|
+
"numeric-constant": a,
|
|
333
|
+
datetime: {
|
|
334
|
+
// '1jan2013'd, '9:25:19pm't, '18jan2003:9:27:05am'dt
|
|
335
|
+
pattern: RegExp(t + "(?:dt?|t)"),
|
|
336
|
+
alias: "number"
|
|
337
|
+
},
|
|
338
|
+
string: i,
|
|
339
|
+
step: f,
|
|
340
|
+
keyword: p,
|
|
341
|
+
// In SAS Studio syntax highlighting, these operators are styled like keywords
|
|
342
|
+
"operator-keyword": {
|
|
343
|
+
pattern: /\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,
|
|
344
|
+
alias: "operator"
|
|
345
|
+
},
|
|
346
|
+
// Decimal (1.2e23), hexadecimal (0c1x)
|
|
347
|
+
number: e,
|
|
348
|
+
operator: /\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,
|
|
349
|
+
punctuation: n
|
|
350
|
+
};
|
|
351
|
+
})(u);
|
|
352
|
+
}
|
|
353
|
+
return b;
|
|
354
|
+
}
|
|
355
|
+
var E = x();
|
|
356
|
+
const N = /* @__PURE__ */ T(E), L = /* @__PURE__ */ R({
|
|
357
|
+
__proto__: null,
|
|
358
|
+
default: N
|
|
359
|
+
}, [E]);
|
|
360
|
+
export {
|
|
361
|
+
L as s
|
|
362
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { g as i } from "./index-Sj89RFCY.js";
|
|
2
|
+
function p(a, s) {
|
|
3
|
+
for (var e = 0; e < s.length; e++) {
|
|
4
|
+
const t = s[e];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const r in t)
|
|
7
|
+
if (r !== "default" && !(r in a)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
+
n && Object.defineProperty(a, r, n.get ? n : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[r]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, u;
|
|
19
|
+
function g() {
|
|
20
|
+
if (u) return o;
|
|
21
|
+
u = 1, o = a, a.displayName = "sass", a.aliases = [];
|
|
22
|
+
function a(s) {
|
|
23
|
+
(function(e) {
|
|
24
|
+
e.languages.sass = e.languages.extend("css", {
|
|
25
|
+
// Sass comments don't need to be closed, only indented
|
|
26
|
+
comment: {
|
|
27
|
+
pattern: /^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,
|
|
28
|
+
lookbehind: !0,
|
|
29
|
+
greedy: !0
|
|
30
|
+
}
|
|
31
|
+
}), e.languages.insertBefore("sass", "atrule", {
|
|
32
|
+
// We want to consume the whole line
|
|
33
|
+
"atrule-line": {
|
|
34
|
+
// Includes support for = and + shortcuts
|
|
35
|
+
pattern: /^(?:[ \t]*)[@+=].+/m,
|
|
36
|
+
greedy: !0,
|
|
37
|
+
inside: {
|
|
38
|
+
atrule: /(?:@[\w-]+|[+=])/
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}), delete e.languages.sass.atrule;
|
|
42
|
+
var t = /\$[-\w]+|#\{\$[-\w]+\}/, r = [
|
|
43
|
+
/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,
|
|
44
|
+
{
|
|
45
|
+
pattern: /(\s)-(?=\s)/,
|
|
46
|
+
lookbehind: !0
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
e.languages.insertBefore("sass", "property", {
|
|
50
|
+
// We want to consume the whole line
|
|
51
|
+
"variable-line": {
|
|
52
|
+
pattern: /^[ \t]*\$.+/m,
|
|
53
|
+
greedy: !0,
|
|
54
|
+
inside: {
|
|
55
|
+
punctuation: /:/,
|
|
56
|
+
variable: t,
|
|
57
|
+
operator: r
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
// We want to consume the whole line
|
|
61
|
+
"property-line": {
|
|
62
|
+
pattern: /^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,
|
|
63
|
+
greedy: !0,
|
|
64
|
+
inside: {
|
|
65
|
+
property: [
|
|
66
|
+
/[^:\s]+(?=\s*:)/,
|
|
67
|
+
{
|
|
68
|
+
pattern: /(:)[^:\s]+/,
|
|
69
|
+
lookbehind: !0
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
punctuation: /:/,
|
|
73
|
+
variable: t,
|
|
74
|
+
operator: r,
|
|
75
|
+
important: e.languages.sass.important
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}), delete e.languages.sass.property, delete e.languages.sass.important, e.languages.insertBefore("sass", "punctuation", {
|
|
79
|
+
selector: {
|
|
80
|
+
pattern: /^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,
|
|
81
|
+
lookbehind: !0,
|
|
82
|
+
greedy: !0
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
})(s);
|
|
86
|
+
}
|
|
87
|
+
return o;
|
|
88
|
+
}
|
|
89
|
+
var l = g();
|
|
90
|
+
const d = /* @__PURE__ */ i(l), f = /* @__PURE__ */ p({
|
|
91
|
+
__proto__: null,
|
|
92
|
+
default: d
|
|
93
|
+
}, [l]);
|
|
94
|
+
export {
|
|
95
|
+
f as s
|
|
96
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { g as c } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as u } from "./java-DYIb7l3j.js";
|
|
3
|
+
function d(t, a) {
|
|
4
|
+
for (var e = 0; e < a.length; e++) {
|
|
5
|
+
const r = a[e];
|
|
6
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
7
|
+
for (const n in r)
|
|
8
|
+
if (n !== "default" && !(n in t)) {
|
|
9
|
+
const s = Object.getOwnPropertyDescriptor(r, n);
|
|
10
|
+
s && Object.defineProperty(t, n, s.get ? s : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => r[n]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var i, l;
|
|
20
|
+
function g() {
|
|
21
|
+
if (l) return i;
|
|
22
|
+
l = 1;
|
|
23
|
+
var t = u();
|
|
24
|
+
i = a, a.displayName = "scala", a.aliases = [];
|
|
25
|
+
function a(e) {
|
|
26
|
+
e.register(t), e.languages.scala = e.languages.extend("java", {
|
|
27
|
+
"triple-quoted-string": {
|
|
28
|
+
pattern: /"""[\s\S]*?"""/,
|
|
29
|
+
greedy: !0,
|
|
30
|
+
alias: "string"
|
|
31
|
+
},
|
|
32
|
+
string: {
|
|
33
|
+
pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
34
|
+
greedy: !0
|
|
35
|
+
},
|
|
36
|
+
keyword: /<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,
|
|
37
|
+
number: /\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,
|
|
38
|
+
builtin: /\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,
|
|
39
|
+
symbol: /'[^\d\s\\]\w*/
|
|
40
|
+
}), e.languages.insertBefore("scala", "triple-quoted-string", {
|
|
41
|
+
"string-interpolation": {
|
|
42
|
+
pattern: /\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,
|
|
43
|
+
greedy: !0,
|
|
44
|
+
inside: {
|
|
45
|
+
id: {
|
|
46
|
+
pattern: /^\w+/,
|
|
47
|
+
greedy: !0,
|
|
48
|
+
alias: "function"
|
|
49
|
+
},
|
|
50
|
+
escape: {
|
|
51
|
+
pattern: /\\\$"|\$[$"]/,
|
|
52
|
+
greedy: !0,
|
|
53
|
+
alias: "symbol"
|
|
54
|
+
},
|
|
55
|
+
interpolation: {
|
|
56
|
+
pattern: /\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,
|
|
57
|
+
greedy: !0,
|
|
58
|
+
inside: {
|
|
59
|
+
punctuation: /^\$\{?|\}$/,
|
|
60
|
+
expression: {
|
|
61
|
+
pattern: /[\s\S]+/,
|
|
62
|
+
inside: e.languages.scala
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
string: /[\s\S]+/
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}), delete e.languages.scala["class-name"], delete e.languages.scala.function;
|
|
70
|
+
}
|
|
71
|
+
return i;
|
|
72
|
+
}
|
|
73
|
+
var o = g();
|
|
74
|
+
const p = /* @__PURE__ */ c(o), b = /* @__PURE__ */ d({
|
|
75
|
+
__proto__: null,
|
|
76
|
+
default: p
|
|
77
|
+
}, [o]);
|
|
78
|
+
export {
|
|
79
|
+
b as s
|
|
80
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
var n, o;
|
|
2
|
+
function s() {
|
|
3
|
+
if (o) return n;
|
|
4
|
+
o = 1, n = r, r.displayName = "scheme", r.aliases = [];
|
|
5
|
+
function r(a) {
|
|
6
|
+
(function(i) {
|
|
7
|
+
i.languages.scheme = {
|
|
8
|
+
// this supports "normal" single-line comments:
|
|
9
|
+
// ; comment
|
|
10
|
+
// and (potentially nested) multiline comments:
|
|
11
|
+
// #| comment #| nested |# still comment |#
|
|
12
|
+
// (only 1 level of nesting is supported)
|
|
13
|
+
comment: /;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,
|
|
14
|
+
string: {
|
|
15
|
+
pattern: /"(?:[^"\\]|\\.)*"/,
|
|
16
|
+
greedy: !0
|
|
17
|
+
},
|
|
18
|
+
symbol: {
|
|
19
|
+
pattern: /'[^()\[\]#'\s]+/,
|
|
20
|
+
greedy: !0
|
|
21
|
+
},
|
|
22
|
+
char: {
|
|
23
|
+
pattern: /#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,
|
|
24
|
+
greedy: !0
|
|
25
|
+
},
|
|
26
|
+
"lambda-parameter": [
|
|
27
|
+
// https://www.cs.cmu.edu/Groups/AI/html/r4rs/r4rs_6.html#SEC30
|
|
28
|
+
{
|
|
29
|
+
pattern: /((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,
|
|
30
|
+
lookbehind: !0
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
pattern: /((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,
|
|
34
|
+
lookbehind: !0
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
keyword: {
|
|
38
|
+
pattern: /((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,
|
|
39
|
+
lookbehind: !0
|
|
40
|
+
},
|
|
41
|
+
builtin: {
|
|
42
|
+
// all functions of the base library of R7RS plus some of built-ins of R5Rs
|
|
43
|
+
pattern: /((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,
|
|
44
|
+
lookbehind: !0
|
|
45
|
+
},
|
|
46
|
+
operator: {
|
|
47
|
+
pattern: /((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,
|
|
48
|
+
lookbehind: !0
|
|
49
|
+
},
|
|
50
|
+
number: {
|
|
51
|
+
// The number pattern from [the R7RS spec](https://small.r7rs.org/attachment/r7rs.pdf).
|
|
52
|
+
//
|
|
53
|
+
// <number> := <num 2>|<num 8>|<num 10>|<num 16>
|
|
54
|
+
// <num R> := <prefix R><complex R>
|
|
55
|
+
// <complex R> := <real R>(?:@<real R>|<imaginary R>)?|<imaginary R>
|
|
56
|
+
// <imaginary R> := [+-](?:<ureal R>|(?:inf|nan)\.0)?i
|
|
57
|
+
// <real R> := [+-]?<ureal R>|[+-](?:inf|nan)\.0
|
|
58
|
+
// <ureal R> := <uint R>(?:\/<uint R>)?
|
|
59
|
+
// | <decimal R>
|
|
60
|
+
//
|
|
61
|
+
// <decimal 10> := (?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?
|
|
62
|
+
// <uint R> := <digit R>+
|
|
63
|
+
// <prefix R> := <radix R>(?:#[ei])?|(?:#[ei])?<radix R>
|
|
64
|
+
// <radix 2> := #b
|
|
65
|
+
// <radix 8> := #o
|
|
66
|
+
// <radix 10> := (?:#d)?
|
|
67
|
+
// <radix 16> := #x
|
|
68
|
+
// <digit 2> := [01]
|
|
69
|
+
// <digit 8> := [0-7]
|
|
70
|
+
// <digit 10> := \d
|
|
71
|
+
// <digit 16> := [0-9a-f]
|
|
72
|
+
//
|
|
73
|
+
// The problem with this grammar is that the resulting regex is way to complex, so we simplify by grouping all
|
|
74
|
+
// non-decimal bases together. This results in a decimal (dec) and combined binary, octal, and hexadecimal (box)
|
|
75
|
+
// pattern:
|
|
76
|
+
pattern: RegExp(
|
|
77
|
+
u({
|
|
78
|
+
"<ureal dec>": /\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,
|
|
79
|
+
"<real dec>": /[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,
|
|
80
|
+
"<imaginary dec>": /[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,
|
|
81
|
+
"<complex dec>": /<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,
|
|
82
|
+
"<num dec>": /(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,
|
|
83
|
+
"<ureal box>": /[0-9a-f]+(?:\/[0-9a-f]+)?/.source,
|
|
84
|
+
"<real box>": /[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,
|
|
85
|
+
"<imaginary box>": /[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,
|
|
86
|
+
"<complex box>": /<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,
|
|
87
|
+
"<num box>": /#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,
|
|
88
|
+
"<number>": /(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source
|
|
89
|
+
}),
|
|
90
|
+
"i"
|
|
91
|
+
),
|
|
92
|
+
lookbehind: !0
|
|
93
|
+
},
|
|
94
|
+
boolean: {
|
|
95
|
+
pattern: /(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,
|
|
96
|
+
lookbehind: !0
|
|
97
|
+
},
|
|
98
|
+
function: {
|
|
99
|
+
pattern: /((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,
|
|
100
|
+
lookbehind: !0
|
|
101
|
+
},
|
|
102
|
+
identifier: {
|
|
103
|
+
pattern: /(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,
|
|
104
|
+
lookbehind: !0,
|
|
105
|
+
greedy: !0
|
|
106
|
+
},
|
|
107
|
+
punctuation: /[()\[\]']/
|
|
108
|
+
};
|
|
109
|
+
function u(e) {
|
|
110
|
+
for (var t in e)
|
|
111
|
+
e[t] = e[t].replace(/<[\w\s]+>/g, function(c) {
|
|
112
|
+
return "(?:" + e[c].trim() + ")";
|
|
113
|
+
});
|
|
114
|
+
return e[t];
|
|
115
|
+
}
|
|
116
|
+
})(a);
|
|
117
|
+
}
|
|
118
|
+
return n;
|
|
119
|
+
}
|
|
120
|
+
export {
|
|
121
|
+
s as r
|
|
122
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { g as a } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as f } from "./scheme-B-TWMKN_.js";
|
|
3
|
+
function i(t, c) {
|
|
4
|
+
for (var o = 0; o < c.length; o++) {
|
|
5
|
+
const e = c[o];
|
|
6
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const r in e)
|
|
8
|
+
if (r !== "default" && !(r in t)) {
|
|
9
|
+
const s = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
+
s && Object.defineProperty(t, r, s.get ? s : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => e[r]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var n = f();
|
|
20
|
+
const m = /* @__PURE__ */ a(n), g = /* @__PURE__ */ i({
|
|
21
|
+
__proto__: null,
|
|
22
|
+
default: m
|
|
23
|
+
}, [n]);
|
|
24
|
+
export {
|
|
25
|
+
g as s
|
|
26
|
+
};
|