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.
- package/dist/index.css +1 -1
- package/dist/index.js +10612 -6
- package/package.json +146 -146
- package/dist/apl-DzB7vleG.js +0 -77
- package/dist/asciiarmor-GBg_dTix.js +0 -35
- package/dist/asn1-C3znSLx9.js +0 -96
- package/dist/asterisk-DlqRFsge.js +0 -272
- package/dist/brainfuck-BRsrPeoO.js +0 -35
- package/dist/clike-BvRdj3ii.js +0 -621
- package/dist/clojure-DoHCnq3P.js +0 -801
- package/dist/cmake-lga2BQKc.js +0 -29
- package/dist/cobol-CoUZEClC.js +0 -73
- package/dist/coffeescript-DtzhVgPb.js +0 -180
- package/dist/commonlisp-Dczl5pgK.js +0 -76
- package/dist/crystal-CGcK8mnw.js +0 -218
- package/dist/css-BSROsPdq.js +0 -1561
- package/dist/cypher-DtSMl1Mv.js +0 -69
- package/dist/d-Dvhr70b-.js +0 -128
- package/dist/diff-CGwDp7kO.js +0 -19
- package/dist/dockerfile-comEO-T6.js +0 -195
- package/dist/dtd-CCHJ68ra.js +0 -85
- package/dist/dylan-DuvcMu5H.js +0 -235
- package/dist/ebnf-40BT7kIS.js +0 -79
- package/dist/ecl-D1uoNQJW.js +0 -122
- package/dist/eiffel-5pGo0kXa.js +0 -111
- package/dist/elm-BaiVOLJD.js +0 -109
- package/dist/erlang-CkzodiGe.js +0 -488
- package/dist/factor-BOXOAn_M.js +0 -66
- package/dist/fcl-BpnTn_eU.js +0 -104
- package/dist/forth-DErAeAEb.js +0 -61
- package/dist/fortran-D2-6KpzO.js +0 -443
- package/dist/gas-DyEPANLH.js +0 -184
- package/dist/gherkin-Drt_srgO.js +0 -35
- package/dist/groovy-BMVfw_nf.js +0 -147
- package/dist/haskell-hWhKnZO1.js +0 -376
- package/dist/haxe-B1MRfS0p.js +0 -360
- package/dist/http-DmgKxj-g.js +0 -45
- package/dist/idl-DqZ86h3r.js +0 -948
- package/dist/index-5dj8r7GK.js +0 -266
- package/dist/index-BTXiadLB.js +0 -309
- package/dist/index-BlC4-BmN.js +0 -72
- package/dist/index-BrFeP3fX.js +0 -244
- package/dist/index-Bto4OncH.js +0 -539
- package/dist/index-Bvv7YkGe.js +0 -136
- package/dist/index-Bx4MkRG_.js +0 -76
- package/dist/index-CVOhQMF3.js +0 -608
- package/dist/index-CecD8NGL.js +0 -228472
- package/dist/index-CmoZmAhh.js +0 -289
- package/dist/index-DE3hmKbB.js +0 -135
- package/dist/index-DF7XjAxV.js +0 -94
- package/dist/index-DcChItCb.js +0 -157
- package/dist/index-Dl5DpQ2k.js +0 -342
- package/dist/index-Dpbxeq5U.js +0 -59
- package/dist/index-gpJmCEdM.js +0 -99
- package/dist/index-udH8R_K0.js +0 -300
- package/dist/javascript-BvuVDFxD.js +0 -691
- package/dist/jinja2-sU0UaYnG.js +0 -155
- package/dist/julia-3_lRZPrK.js +0 -242
- package/dist/livescript-BeDiX_lv.js +0 -273
- package/dist/lua-DsgFLpii.js +0 -218
- package/dist/mathematica-1GSq-6KQ.js +0 -36
- package/dist/mbox-agttEgFX.js +0 -77
- package/dist/mirc-0mTi20sq.js +0 -73
- package/dist/mllike-Cn3QD1L6.js +0 -273
- package/dist/modelica-zXUsSMFb.js +0 -94
- package/dist/mscgen-CjqYDKLG.js +0 -105
- package/dist/mumps-o2cuacx9.js +0 -26
- package/dist/nginx-BwTpvSVN.js +0 -90
- package/dist/nsis-BuRdhAu4.js +0 -63
- package/dist/ntriples-DrgMTIhT.js +0 -80
- package/dist/octave-Cxdtf9mO.js +0 -144
- package/dist/oz-DFmTw-qE.js +0 -152
- package/dist/pascal-DXxn4Ogv.js +0 -78
- package/dist/perl-C73cx1ym.js +0 -916
- package/dist/pig-Bb8sMbk0.js +0 -55
- package/dist/powershell-DxmufwKU.js +0 -250
- package/dist/properties-C4fhBR7T.js +0 -27
- package/dist/protobuf-Eqae3kep.js +0 -50
- package/dist/pug-Cdoid33I.js +0 -249
- package/dist/puppet-BH84QZvC.js +0 -46
- package/dist/python-D32-_XsH.js +0 -314
- package/dist/q-CDvEpNHY.js +0 -84
- package/dist/r-D9TtEI-G.js +0 -105
- package/dist/rpm-Ckejt31K.js +0 -58
- package/dist/ruby-gRVA_lpr.js +0 -229
- package/dist/sas-Cetv6MtF.js +0 -106
- package/dist/scheme-BpAxUIwV.js +0 -125
- package/dist/shell-DmARhv5h.js +0 -183
- package/dist/sieve-DJENs6f1.js +0 -73
- package/dist/simple-mode-B0kVDhR7.js +0 -89
- package/dist/smalltalk-CtRR6guu.js +0 -49
- package/dist/solr-ZVIJNGhC.js +0 -42
- package/dist/sparql-Cg1WYQva.js +0 -198
- package/dist/spreadsheet-Bi94Lk_2.js +0 -50
- package/dist/sql-BLhvp4JJ.js +0 -283
- package/dist/stex-DuReG47O.js +0 -130
- package/dist/stylus-D5QpSSbb.js +0 -251
- package/dist/swift-CZplZXOW.js +0 -231
- package/dist/tcl-COiqjz-O.js +0 -82
- package/dist/textile-BIDpYsbD.js +0 -296
- package/dist/tiddlywiki-C4woD_uK.js +0 -156
- package/dist/tiki-Ddj0Z2aQ.js +0 -182
- package/dist/toml-Byr0PaXO.js +0 -50
- package/dist/troff-BEvN8lSw.js +0 -36
- package/dist/ttcn-CyeSpuPS.js +0 -124
- package/dist/ttcn-cfg-C4JBLVfg.js +0 -89
- package/dist/turtle-8qSCc9Tc.js +0 -81
- package/dist/vb-BOJI7cFm.js +0 -75
- package/dist/vbscript-Cu6iG9pw.js +0 -325
- package/dist/velocity-BEpFYT7L.js +0 -97
- package/dist/verilog-BBxq08Rh.js +0 -264
- package/dist/vhdl-B0tZHMGi.js +0 -107
- package/dist/webidl-CW91NtvY.js +0 -156
- package/dist/xquery-DzC9wL36.js +0 -423
- package/dist/yacas-lKwNB4DM.js +0 -74
- package/dist/z80-Bq0fiCqy.js +0 -62
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
import "./index.css";
|
|
2
|
-
var t = ["exten", "same", "include", "ignorepat", "switch"], o = ["#include", "#exec"], c = [
|
|
3
|
-
"addqueuemember",
|
|
4
|
-
"adsiprog",
|
|
5
|
-
"aelsub",
|
|
6
|
-
"agentlogin",
|
|
7
|
-
"agentmonitoroutgoing",
|
|
8
|
-
"agi",
|
|
9
|
-
"alarmreceiver",
|
|
10
|
-
"amd",
|
|
11
|
-
"answer",
|
|
12
|
-
"authenticate",
|
|
13
|
-
"background",
|
|
14
|
-
"backgrounddetect",
|
|
15
|
-
"bridge",
|
|
16
|
-
"busy",
|
|
17
|
-
"callcompletioncancel",
|
|
18
|
-
"callcompletionrequest",
|
|
19
|
-
"celgenuserevent",
|
|
20
|
-
"changemonitor",
|
|
21
|
-
"chanisavail",
|
|
22
|
-
"channelredirect",
|
|
23
|
-
"chanspy",
|
|
24
|
-
"clearhash",
|
|
25
|
-
"confbridge",
|
|
26
|
-
"congestion",
|
|
27
|
-
"continuewhile",
|
|
28
|
-
"controlplayback",
|
|
29
|
-
"dahdiacceptr2call",
|
|
30
|
-
"dahdibarge",
|
|
31
|
-
"dahdiras",
|
|
32
|
-
"dahdiscan",
|
|
33
|
-
"dahdisendcallreroutingfacility",
|
|
34
|
-
"dahdisendkeypadfacility",
|
|
35
|
-
"datetime",
|
|
36
|
-
"dbdel",
|
|
37
|
-
"dbdeltree",
|
|
38
|
-
"deadagi",
|
|
39
|
-
"dial",
|
|
40
|
-
"dictate",
|
|
41
|
-
"directory",
|
|
42
|
-
"disa",
|
|
43
|
-
"dumpchan",
|
|
44
|
-
"eagi",
|
|
45
|
-
"echo",
|
|
46
|
-
"endwhile",
|
|
47
|
-
"exec",
|
|
48
|
-
"execif",
|
|
49
|
-
"execiftime",
|
|
50
|
-
"exitwhile",
|
|
51
|
-
"extenspy",
|
|
52
|
-
"externalivr",
|
|
53
|
-
"festival",
|
|
54
|
-
"flash",
|
|
55
|
-
"followme",
|
|
56
|
-
"forkcdr",
|
|
57
|
-
"getcpeid",
|
|
58
|
-
"gosub",
|
|
59
|
-
"gosubif",
|
|
60
|
-
"goto",
|
|
61
|
-
"gotoif",
|
|
62
|
-
"gotoiftime",
|
|
63
|
-
"hangup",
|
|
64
|
-
"iax2provision",
|
|
65
|
-
"ices",
|
|
66
|
-
"importvar",
|
|
67
|
-
"incomplete",
|
|
68
|
-
"ivrdemo",
|
|
69
|
-
"jabberjoin",
|
|
70
|
-
"jabberleave",
|
|
71
|
-
"jabbersend",
|
|
72
|
-
"jabbersendgroup",
|
|
73
|
-
"jabberstatus",
|
|
74
|
-
"jack",
|
|
75
|
-
"log",
|
|
76
|
-
"macro",
|
|
77
|
-
"macroexclusive",
|
|
78
|
-
"macroexit",
|
|
79
|
-
"macroif",
|
|
80
|
-
"mailboxexists",
|
|
81
|
-
"meetme",
|
|
82
|
-
"meetmeadmin",
|
|
83
|
-
"meetmechanneladmin",
|
|
84
|
-
"meetmecount",
|
|
85
|
-
"milliwatt",
|
|
86
|
-
"minivmaccmess",
|
|
87
|
-
"minivmdelete",
|
|
88
|
-
"minivmgreet",
|
|
89
|
-
"minivmmwi",
|
|
90
|
-
"minivmnotify",
|
|
91
|
-
"minivmrecord",
|
|
92
|
-
"mixmonitor",
|
|
93
|
-
"monitor",
|
|
94
|
-
"morsecode",
|
|
95
|
-
"mp3player",
|
|
96
|
-
"mset",
|
|
97
|
-
"musiconhold",
|
|
98
|
-
"nbscat",
|
|
99
|
-
"nocdr",
|
|
100
|
-
"noop",
|
|
101
|
-
"odbc",
|
|
102
|
-
"odbc",
|
|
103
|
-
"odbcfinish",
|
|
104
|
-
"originate",
|
|
105
|
-
"ospauth",
|
|
106
|
-
"ospfinish",
|
|
107
|
-
"osplookup",
|
|
108
|
-
"ospnext",
|
|
109
|
-
"page",
|
|
110
|
-
"park",
|
|
111
|
-
"parkandannounce",
|
|
112
|
-
"parkedcall",
|
|
113
|
-
"pausemonitor",
|
|
114
|
-
"pausequeuemember",
|
|
115
|
-
"pickup",
|
|
116
|
-
"pickupchan",
|
|
117
|
-
"playback",
|
|
118
|
-
"playtones",
|
|
119
|
-
"privacymanager",
|
|
120
|
-
"proceeding",
|
|
121
|
-
"progress",
|
|
122
|
-
"queue",
|
|
123
|
-
"queuelog",
|
|
124
|
-
"raiseexception",
|
|
125
|
-
"read",
|
|
126
|
-
"readexten",
|
|
127
|
-
"readfile",
|
|
128
|
-
"receivefax",
|
|
129
|
-
"receivefax",
|
|
130
|
-
"receivefax",
|
|
131
|
-
"record",
|
|
132
|
-
"removequeuemember",
|
|
133
|
-
"resetcdr",
|
|
134
|
-
"retrydial",
|
|
135
|
-
"return",
|
|
136
|
-
"ringing",
|
|
137
|
-
"sayalpha",
|
|
138
|
-
"saycountedadj",
|
|
139
|
-
"saycountednoun",
|
|
140
|
-
"saycountpl",
|
|
141
|
-
"saydigits",
|
|
142
|
-
"saynumber",
|
|
143
|
-
"sayphonetic",
|
|
144
|
-
"sayunixtime",
|
|
145
|
-
"senddtmf",
|
|
146
|
-
"sendfax",
|
|
147
|
-
"sendfax",
|
|
148
|
-
"sendfax",
|
|
149
|
-
"sendimage",
|
|
150
|
-
"sendtext",
|
|
151
|
-
"sendurl",
|
|
152
|
-
"set",
|
|
153
|
-
"setamaflags",
|
|
154
|
-
"setcallerpres",
|
|
155
|
-
"setmusiconhold",
|
|
156
|
-
"sipaddheader",
|
|
157
|
-
"sipdtmfmode",
|
|
158
|
-
"sipremoveheader",
|
|
159
|
-
"skel",
|
|
160
|
-
"slastation",
|
|
161
|
-
"slatrunk",
|
|
162
|
-
"sms",
|
|
163
|
-
"softhangup",
|
|
164
|
-
"speechactivategrammar",
|
|
165
|
-
"speechbackground",
|
|
166
|
-
"speechcreate",
|
|
167
|
-
"speechdeactivategrammar",
|
|
168
|
-
"speechdestroy",
|
|
169
|
-
"speechloadgrammar",
|
|
170
|
-
"speechprocessingsound",
|
|
171
|
-
"speechstart",
|
|
172
|
-
"speechunloadgrammar",
|
|
173
|
-
"stackpop",
|
|
174
|
-
"startmusiconhold",
|
|
175
|
-
"stopmixmonitor",
|
|
176
|
-
"stopmonitor",
|
|
177
|
-
"stopmusiconhold",
|
|
178
|
-
"stopplaytones",
|
|
179
|
-
"system",
|
|
180
|
-
"testclient",
|
|
181
|
-
"testserver",
|
|
182
|
-
"transfer",
|
|
183
|
-
"tryexec",
|
|
184
|
-
"trysystem",
|
|
185
|
-
"unpausemonitor",
|
|
186
|
-
"unpausequeuemember",
|
|
187
|
-
"userevent",
|
|
188
|
-
"verbose",
|
|
189
|
-
"vmauthenticate",
|
|
190
|
-
"vmsayname",
|
|
191
|
-
"voicemail",
|
|
192
|
-
"voicemailmain",
|
|
193
|
-
"wait",
|
|
194
|
-
"waitexten",
|
|
195
|
-
"waitfornoise",
|
|
196
|
-
"waitforring",
|
|
197
|
-
"waitforsilence",
|
|
198
|
-
"waitmusiconhold",
|
|
199
|
-
"waituntil",
|
|
200
|
-
"while",
|
|
201
|
-
"zapateller"
|
|
202
|
-
];
|
|
203
|
-
function l(e, n) {
|
|
204
|
-
var i = "", a = e.next();
|
|
205
|
-
if (n.blockComment)
|
|
206
|
-
return a == "-" && e.match("-;", !0) ? n.blockComment = !1 : e.skipTo("--;") ? (e.next(), e.next(), e.next(), n.blockComment = !1) : e.skipToEnd(), "comment";
|
|
207
|
-
if (a == ";")
|
|
208
|
-
return e.match("--", !0) && !e.match("-", !1) ? (n.blockComment = !0, "comment") : (e.skipToEnd(), "comment");
|
|
209
|
-
if (a == "[")
|
|
210
|
-
return e.skipTo("]"), e.eat("]"), "header";
|
|
211
|
-
if (a == '"')
|
|
212
|
-
return e.skipTo('"'), "string";
|
|
213
|
-
if (a == "'")
|
|
214
|
-
return e.skipTo("'"), "string.special";
|
|
215
|
-
if (a == "#" && (e.eatWhile(/\w/), i = e.current(), o.indexOf(i) !== -1))
|
|
216
|
-
return e.skipToEnd(), "strong";
|
|
217
|
-
if (a == "$") {
|
|
218
|
-
var r = e.peek();
|
|
219
|
-
if (r == "{")
|
|
220
|
-
return e.skipTo("}"), e.eat("}"), "variableName.special";
|
|
221
|
-
}
|
|
222
|
-
if (e.eatWhile(/\w/), i = e.current(), t.indexOf(i) !== -1) {
|
|
223
|
-
switch (n.extenStart = !0, i) {
|
|
224
|
-
case "same":
|
|
225
|
-
n.extenSame = !0;
|
|
226
|
-
break;
|
|
227
|
-
case "include":
|
|
228
|
-
case "switch":
|
|
229
|
-
case "ignorepat":
|
|
230
|
-
n.extenInclude = !0;
|
|
231
|
-
break;
|
|
232
|
-
}
|
|
233
|
-
return "atom";
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
const u = {
|
|
237
|
-
name: "asterisk",
|
|
238
|
-
startState: function() {
|
|
239
|
-
return {
|
|
240
|
-
blockComment: !1,
|
|
241
|
-
extenStart: !1,
|
|
242
|
-
extenSame: !1,
|
|
243
|
-
extenInclude: !1,
|
|
244
|
-
extenExten: !1,
|
|
245
|
-
extenPriority: !1,
|
|
246
|
-
extenApplication: !1
|
|
247
|
-
};
|
|
248
|
-
},
|
|
249
|
-
token: function(e, n) {
|
|
250
|
-
var i = "";
|
|
251
|
-
if (e.eatSpace()) return null;
|
|
252
|
-
if (n.extenStart)
|
|
253
|
-
return e.eatWhile(/[^\s]/), i = e.current(), /^=>?$/.test(i) ? (n.extenExten = !0, n.extenStart = !1, "strong") : (n.extenStart = !1, e.skipToEnd(), "error");
|
|
254
|
-
if (n.extenExten)
|
|
255
|
-
return n.extenExten = !1, n.extenPriority = !0, e.eatWhile(/[^,]/), n.extenInclude && (e.skipToEnd(), n.extenPriority = !1, n.extenInclude = !1), n.extenSame && (n.extenPriority = !1, n.extenSame = !1, n.extenApplication = !0), "tag";
|
|
256
|
-
if (n.extenPriority)
|
|
257
|
-
return n.extenPriority = !1, n.extenApplication = !0, e.next(), n.extenSame ? null : (e.eatWhile(/[^,]/), "number");
|
|
258
|
-
if (n.extenApplication) {
|
|
259
|
-
if (e.eatWhile(/,/), i = e.current(), i === ",") return null;
|
|
260
|
-
if (e.eatWhile(/\w/), i = e.current().toLowerCase(), n.extenApplication = !1, c.indexOf(i) !== -1)
|
|
261
|
-
return "def";
|
|
262
|
-
} else
|
|
263
|
-
return l(e, n);
|
|
264
|
-
return null;
|
|
265
|
-
},
|
|
266
|
-
languageData: {
|
|
267
|
-
commentTokens: { line: ";", block: { open: ";--", close: "--;" } }
|
|
268
|
-
}
|
|
269
|
-
};
|
|
270
|
-
export {
|
|
271
|
-
u as asterisk
|
|
272
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import "./index.css";
|
|
2
|
-
var r = "><+-.,[]".split("");
|
|
3
|
-
const o = {
|
|
4
|
-
name: "brainfuck",
|
|
5
|
-
startState: function() {
|
|
6
|
-
return {
|
|
7
|
-
commentLine: !1,
|
|
8
|
-
left: 0,
|
|
9
|
-
right: 0,
|
|
10
|
-
commentLoop: !1
|
|
11
|
-
};
|
|
12
|
-
},
|
|
13
|
-
token: function(i, n) {
|
|
14
|
-
if (i.eatSpace()) return null;
|
|
15
|
-
i.sol() && (n.commentLine = !1);
|
|
16
|
-
var e = i.next().toString();
|
|
17
|
-
if (r.indexOf(e) !== -1) {
|
|
18
|
-
if (n.commentLine === !0)
|
|
19
|
-
return i.eol() && (n.commentLine = !1), "comment";
|
|
20
|
-
if (e === "]" || e === "[")
|
|
21
|
-
return e === "[" ? n.left++ : n.right++, "bracket";
|
|
22
|
-
if (e === "+" || e === "-")
|
|
23
|
-
return "keyword";
|
|
24
|
-
if (e === "<" || e === ">")
|
|
25
|
-
return "atom";
|
|
26
|
-
if (e === "." || e === ",")
|
|
27
|
-
return "def";
|
|
28
|
-
} else
|
|
29
|
-
return n.commentLine = !0, i.eol() && (n.commentLine = !1), "comment";
|
|
30
|
-
i.eol() && (n.commentLine = !1);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
o as brainfuck
|
|
35
|
-
};
|