zs_library 0.4.8 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +10612 -6
  3. package/package.json +146 -146
  4. package/dist/apl-DzB7vleG.js +0 -77
  5. package/dist/asciiarmor-GBg_dTix.js +0 -35
  6. package/dist/asn1-C3znSLx9.js +0 -96
  7. package/dist/asterisk-DlqRFsge.js +0 -272
  8. package/dist/brainfuck-BRsrPeoO.js +0 -35
  9. package/dist/clike-BvRdj3ii.js +0 -621
  10. package/dist/clojure-DoHCnq3P.js +0 -801
  11. package/dist/cmake-lga2BQKc.js +0 -29
  12. package/dist/cobol-CoUZEClC.js +0 -73
  13. package/dist/coffeescript-DtzhVgPb.js +0 -180
  14. package/dist/commonlisp-Dczl5pgK.js +0 -76
  15. package/dist/crystal-CGcK8mnw.js +0 -218
  16. package/dist/css-BSROsPdq.js +0 -1561
  17. package/dist/cypher-DtSMl1Mv.js +0 -69
  18. package/dist/d-Dvhr70b-.js +0 -128
  19. package/dist/diff-CGwDp7kO.js +0 -19
  20. package/dist/dockerfile-comEO-T6.js +0 -195
  21. package/dist/dtd-CCHJ68ra.js +0 -85
  22. package/dist/dylan-DuvcMu5H.js +0 -235
  23. package/dist/ebnf-40BT7kIS.js +0 -79
  24. package/dist/ecl-D1uoNQJW.js +0 -122
  25. package/dist/eiffel-5pGo0kXa.js +0 -111
  26. package/dist/elm-BaiVOLJD.js +0 -109
  27. package/dist/erlang-CkzodiGe.js +0 -488
  28. package/dist/factor-BOXOAn_M.js +0 -66
  29. package/dist/fcl-BpnTn_eU.js +0 -104
  30. package/dist/forth-DErAeAEb.js +0 -61
  31. package/dist/fortran-D2-6KpzO.js +0 -443
  32. package/dist/gas-DyEPANLH.js +0 -184
  33. package/dist/gherkin-Drt_srgO.js +0 -35
  34. package/dist/groovy-BMVfw_nf.js +0 -147
  35. package/dist/haskell-hWhKnZO1.js +0 -376
  36. package/dist/haxe-B1MRfS0p.js +0 -360
  37. package/dist/http-DmgKxj-g.js +0 -45
  38. package/dist/idl-DqZ86h3r.js +0 -948
  39. package/dist/index-5dj8r7GK.js +0 -266
  40. package/dist/index-BTXiadLB.js +0 -309
  41. package/dist/index-BlC4-BmN.js +0 -72
  42. package/dist/index-BrFeP3fX.js +0 -244
  43. package/dist/index-Bto4OncH.js +0 -539
  44. package/dist/index-Bvv7YkGe.js +0 -136
  45. package/dist/index-Bx4MkRG_.js +0 -76
  46. package/dist/index-CVOhQMF3.js +0 -608
  47. package/dist/index-CecD8NGL.js +0 -228472
  48. package/dist/index-CmoZmAhh.js +0 -289
  49. package/dist/index-DE3hmKbB.js +0 -135
  50. package/dist/index-DF7XjAxV.js +0 -94
  51. package/dist/index-DcChItCb.js +0 -157
  52. package/dist/index-Dl5DpQ2k.js +0 -342
  53. package/dist/index-Dpbxeq5U.js +0 -59
  54. package/dist/index-gpJmCEdM.js +0 -99
  55. package/dist/index-udH8R_K0.js +0 -300
  56. package/dist/javascript-BvuVDFxD.js +0 -691
  57. package/dist/jinja2-sU0UaYnG.js +0 -155
  58. package/dist/julia-3_lRZPrK.js +0 -242
  59. package/dist/livescript-BeDiX_lv.js +0 -273
  60. package/dist/lua-DsgFLpii.js +0 -218
  61. package/dist/mathematica-1GSq-6KQ.js +0 -36
  62. package/dist/mbox-agttEgFX.js +0 -77
  63. package/dist/mirc-0mTi20sq.js +0 -73
  64. package/dist/mllike-Cn3QD1L6.js +0 -273
  65. package/dist/modelica-zXUsSMFb.js +0 -94
  66. package/dist/mscgen-CjqYDKLG.js +0 -105
  67. package/dist/mumps-o2cuacx9.js +0 -26
  68. package/dist/nginx-BwTpvSVN.js +0 -90
  69. package/dist/nsis-BuRdhAu4.js +0 -63
  70. package/dist/ntriples-DrgMTIhT.js +0 -80
  71. package/dist/octave-Cxdtf9mO.js +0 -144
  72. package/dist/oz-DFmTw-qE.js +0 -152
  73. package/dist/pascal-DXxn4Ogv.js +0 -78
  74. package/dist/perl-C73cx1ym.js +0 -916
  75. package/dist/pig-Bb8sMbk0.js +0 -55
  76. package/dist/powershell-DxmufwKU.js +0 -250
  77. package/dist/properties-C4fhBR7T.js +0 -27
  78. package/dist/protobuf-Eqae3kep.js +0 -50
  79. package/dist/pug-Cdoid33I.js +0 -249
  80. package/dist/puppet-BH84QZvC.js +0 -46
  81. package/dist/python-D32-_XsH.js +0 -314
  82. package/dist/q-CDvEpNHY.js +0 -84
  83. package/dist/r-D9TtEI-G.js +0 -105
  84. package/dist/rpm-Ckejt31K.js +0 -58
  85. package/dist/ruby-gRVA_lpr.js +0 -229
  86. package/dist/sas-Cetv6MtF.js +0 -106
  87. package/dist/scheme-BpAxUIwV.js +0 -125
  88. package/dist/shell-DmARhv5h.js +0 -183
  89. package/dist/sieve-DJENs6f1.js +0 -73
  90. package/dist/simple-mode-B0kVDhR7.js +0 -89
  91. package/dist/smalltalk-CtRR6guu.js +0 -49
  92. package/dist/solr-ZVIJNGhC.js +0 -42
  93. package/dist/sparql-Cg1WYQva.js +0 -198
  94. package/dist/spreadsheet-Bi94Lk_2.js +0 -50
  95. package/dist/sql-BLhvp4JJ.js +0 -283
  96. package/dist/stex-DuReG47O.js +0 -130
  97. package/dist/stylus-D5QpSSbb.js +0 -251
  98. package/dist/swift-CZplZXOW.js +0 -231
  99. package/dist/tcl-COiqjz-O.js +0 -82
  100. package/dist/textile-BIDpYsbD.js +0 -296
  101. package/dist/tiddlywiki-C4woD_uK.js +0 -156
  102. package/dist/tiki-Ddj0Z2aQ.js +0 -182
  103. package/dist/toml-Byr0PaXO.js +0 -50
  104. package/dist/troff-BEvN8lSw.js +0 -36
  105. package/dist/ttcn-CyeSpuPS.js +0 -124
  106. package/dist/ttcn-cfg-C4JBLVfg.js +0 -89
  107. package/dist/turtle-8qSCc9Tc.js +0 -81
  108. package/dist/vb-BOJI7cFm.js +0 -75
  109. package/dist/vbscript-Cu6iG9pw.js +0 -325
  110. package/dist/velocity-BEpFYT7L.js +0 -97
  111. package/dist/verilog-BBxq08Rh.js +0 -264
  112. package/dist/vhdl-B0tZHMGi.js +0 -107
  113. package/dist/webidl-CW91NtvY.js +0 -156
  114. package/dist/xquery-DzC9wL36.js +0 -423
  115. package/dist/yacas-lKwNB4DM.js +0 -74
  116. package/dist/z80-Bq0fiCqy.js +0 -62
@@ -1,152 +0,0 @@
1
- import "./index.css";
2
- function o(e) {
3
- return new RegExp("^((" + e.join(")|(") + "))\\b");
4
- }
5
- var k = /[\^@!\|<>#~\.\*\-\+\\/,=]/, s = /(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/, p = /(:::)|(\.\.\.)|(=<:)|(>=:)/, f = [
6
- "in",
7
- "then",
8
- "else",
9
- "of",
10
- "elseof",
11
- "elsecase",
12
- "elseif",
13
- "catch",
14
- "finally",
15
- "with",
16
- "require",
17
- "prepare",
18
- "import",
19
- "export",
20
- "define",
21
- "do"
22
- ], l = ["end"], z = o(["true", "false", "nil", "unit"]), m = o([
23
- "andthen",
24
- "at",
25
- "attr",
26
- "declare",
27
- "feat",
28
- "from",
29
- "lex",
30
- "mod",
31
- "div",
32
- "mode",
33
- "orelse",
34
- "parser",
35
- "prod",
36
- "prop",
37
- "scanner",
38
- "self",
39
- "syn",
40
- "token"
41
- ]), v = o([
42
- "local",
43
- "proc",
44
- "fun",
45
- "case",
46
- "class",
47
- "if",
48
- "cond",
49
- "or",
50
- "dis",
51
- "choice",
52
- "not",
53
- "thread",
54
- "try",
55
- "raise",
56
- "lock",
57
- "for",
58
- "suchthat",
59
- "meth",
60
- "functor"
61
- ]), d = o(f), h = o(l);
62
- function i(e, n) {
63
- if (e.eatSpace())
64
- return null;
65
- if (e.match(/[{}]/))
66
- return "bracket";
67
- if (e.match("[]"))
68
- return "keyword";
69
- if (e.match(p) || e.match(s))
70
- return "operator";
71
- if (e.match(z))
72
- return "atom";
73
- var t = e.match(v);
74
- if (t)
75
- return n.doInCurrentLine ? n.doInCurrentLine = !1 : n.currentIndent++, t[0] == "proc" || t[0] == "fun" ? n.tokenize = x : t[0] == "class" ? n.tokenize = g : t[0] == "meth" && (n.tokenize = w), "keyword";
76
- if (e.match(d) || e.match(m))
77
- return "keyword";
78
- if (e.match(h))
79
- return n.currentIndent--, "keyword";
80
- var r = e.next();
81
- if (r == '"' || r == "'")
82
- return n.tokenize = y(r), n.tokenize(e, n);
83
- if (/[~\d]/.test(r)) {
84
- if (r == "~")
85
- if (/^[0-9]/.test(e.peek())) {
86
- if (e.next() == "0" && e.match(/^[xX][0-9a-fA-F]+/) || e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))
87
- return "number";
88
- } else return null;
89
- return r == "0" && e.match(/^[xX][0-9a-fA-F]+/) || e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/) ? "number" : null;
90
- }
91
- return r == "%" ? (e.skipToEnd(), "comment") : r == "/" && e.eat("*") ? (n.tokenize = a, a(e, n)) : k.test(r) ? "operator" : (e.eatWhile(/\w/), "variable");
92
- }
93
- function g(e, n) {
94
- return e.eatSpace() ? null : (e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/), n.tokenize = i, "type");
95
- }
96
- function w(e, n) {
97
- return e.eatSpace() ? null : (e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/), n.tokenize = i, "def");
98
- }
99
- function x(e, n) {
100
- return e.eatSpace() ? null : !n.hasPassedFirstStage && e.eat("{") ? (n.hasPassedFirstStage = !0, "bracket") : n.hasPassedFirstStage ? (e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/), n.hasPassedFirstStage = !1, n.tokenize = i, "def") : (n.tokenize = i, null);
101
- }
102
- function a(e, n) {
103
- for (var t = !1, r; r = e.next(); ) {
104
- if (r == "/" && t) {
105
- n.tokenize = i;
106
- break;
107
- }
108
- t = r == "*";
109
- }
110
- return "comment";
111
- }
112
- function y(e) {
113
- return function(n, t) {
114
- for (var r = !1, u, c = !1; (u = n.next()) != null; ) {
115
- if (u == e && !r) {
116
- c = !0;
117
- break;
118
- }
119
- r = !r && u == "\\";
120
- }
121
- return (c || !r) && (t.tokenize = i), "string";
122
- };
123
- }
124
- function b() {
125
- var e = f.concat(l);
126
- return new RegExp("[\\[\\]]|(" + e.join("|") + ")$");
127
- }
128
- const S = {
129
- name: "oz",
130
- startState: function() {
131
- return {
132
- tokenize: i,
133
- currentIndent: 0,
134
- doInCurrentLine: !1,
135
- hasPassedFirstStage: !1
136
- };
137
- },
138
- token: function(e, n) {
139
- return e.sol() && (n.doInCurrentLine = 0), n.tokenize(e, n);
140
- },
141
- indent: function(e, n, t) {
142
- var r = n.replace(/^\s+|\s+$/g, "");
143
- return r.match(h) || r.match(d) || r.match(/(\[])/) ? t.unit * (e.currentIndent - 1) : e.currentIndent < 0 ? 0 : e.currentIndent * t.unit;
144
- },
145
- languageData: {
146
- indentOnInut: b(),
147
- commentTokens: { line: "%", block: { open: "/*", close: "*/" } }
148
- }
149
- };
150
- export {
151
- S as oz
152
- };
@@ -1,78 +0,0 @@
1
- import "./index.css";
2
- function c(r) {
3
- for (var n = {}, e = r.split(" "), t = 0; t < e.length; ++t) n[e[t]] = !0;
4
- return n;
5
- }
6
- var s = c(
7
- "absolute and array asm begin case const constructor destructor div do downto else end file for function goto if implementation in inherited inline interface label mod nil not object of operator or packed procedure program record reintroduce repeat self set shl shr string then to type unit until uses var while with xor as class dispinterface except exports finalization finally initialization inline is library on out packed property raise resourcestring threadvar try absolute abstract alias assembler bitpacked break cdecl continue cppdecl cvar default deprecated dynamic enumerator experimental export external far far16 forward generic helper implements index interrupt iocheck local message name near nodefault noreturn nostackframe oldfpccall otherwise overload override pascal platform private protected public published read register reintroduce result safecall saveregisters softfloat specialize static stdcall stored strict unaligned unimplemented varargs virtual write"
8
- ), f = { null: !0 }, a = /[+\-*&%=<>!?|\/]/;
9
- function p(r, n) {
10
- var e = r.next();
11
- if (e == "#" && n.startOfLine)
12
- return r.skipToEnd(), "meta";
13
- if (e == '"' || e == "'")
14
- return n.tokenize = d(e), n.tokenize(r, n);
15
- if (e == "(" && r.eat("*"))
16
- return n.tokenize = l, l(r, n);
17
- if (e == "{")
18
- return n.tokenize = u, u(r, n);
19
- if (/[\[\]\(\),;\:\.]/.test(e))
20
- return null;
21
- if (/\d/.test(e))
22
- return r.eatWhile(/[\w\.]/), "number";
23
- if (e == "/" && r.eat("/"))
24
- return r.skipToEnd(), "comment";
25
- if (a.test(e))
26
- return r.eatWhile(a), "operator";
27
- r.eatWhile(/[\w\$_]/);
28
- var t = r.current().toLowerCase();
29
- return s.propertyIsEnumerable(t) ? "keyword" : f.propertyIsEnumerable(t) ? "atom" : "variable";
30
- }
31
- function d(r) {
32
- return function(n, e) {
33
- for (var t = !1, i, o = !1; (i = n.next()) != null; ) {
34
- if (i == r && !t) {
35
- o = !0;
36
- break;
37
- }
38
- t = !t && i == "\\";
39
- }
40
- return (o || !t) && (e.tokenize = null), "string";
41
- };
42
- }
43
- function l(r, n) {
44
- for (var e = !1, t; t = r.next(); ) {
45
- if (t == ")" && e) {
46
- n.tokenize = null;
47
- break;
48
- }
49
- e = t == "*";
50
- }
51
- return "comment";
52
- }
53
- function u(r, n) {
54
- for (var e; e = r.next(); )
55
- if (e == "}") {
56
- n.tokenize = null;
57
- break;
58
- }
59
- return "comment";
60
- }
61
- const m = {
62
- name: "pascal",
63
- startState: function() {
64
- return { tokenize: null };
65
- },
66
- token: function(r, n) {
67
- if (r.eatSpace()) return null;
68
- var e = (n.tokenize || p)(r, n);
69
- return e == "comment" || e == "meta", e;
70
- },
71
- languageData: {
72
- indentOnInput: /^\s*[{}]$/,
73
- commentTokens: { block: { open: "(*", close: "*)" } }
74
- }
75
- };
76
- export {
77
- m as pascal
78
- };