monacozen 0.0.1 → 0.2.0

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 (91) hide show
  1. package/README.md +219 -0
  2. package/assets/antimono-ClsI0fxy.js +5 -0
  3. package/assets/antimono-zBXMptjq.css +1 -0
  4. package/assets/bat-T2vjbQzY.js +125 -0
  5. package/assets/bicep-B6UDBWZN.js +220 -0
  6. package/assets/clojure-BvXzD8Uz.js +148 -0
  7. package/assets/coffee-D_yet6sT.js +262 -0
  8. package/assets/cpp-CsfEADPM.js +232 -0
  9. package/assets/csharp-jw3fFksF.js +262 -0
  10. package/assets/css-FsiUe-xI.js +286 -0
  11. package/assets/css.worker-BIsSvM_Q.js +96 -0
  12. package/assets/css.worker-BSHdDU9y.js +6 -0
  13. package/assets/cssMode-7U-ime2d.js +65 -0
  14. package/assets/cypher-B8DgU2PH.js +214 -0
  15. package/assets/dart-D1x60wEn.js +238 -0
  16. package/assets/dist-Bx9hOuoB.js +624 -0
  17. package/assets/dockerfile-DSHxsy4G.js +193 -0
  18. package/assets/editor.api-ZYFspLPt.js +85776 -0
  19. package/assets/editorWebWorkerMain-BioN9fGU.js +33 -0
  20. package/assets/editorWebWorkerMain-DXr8-Jst.js +6 -0
  21. package/assets/elixir-Cr7BtjRU.js +525 -0
  22. package/assets/fsharp-CeVKIr0d.js +149 -0
  23. package/assets/go-BL4_0srD.js +167 -0
  24. package/assets/graphql-mhWekwK0.js +176 -0
  25. package/assets/handlebars-rQdtgZoQ.js +412 -0
  26. package/assets/hcl-CfyDj6z_.js +221 -0
  27. package/assets/html-DIDrd2Z7.js +333 -0
  28. package/assets/html.worker-BrBx6eB3.js +6 -0
  29. package/assets/html.worker-CEvqvEpu.js +509 -0
  30. package/assets/htmlMode-i6u-9r7u.js +74 -0
  31. package/assets/ini-DhiXkl_g.js +96 -0
  32. package/assets/java-Ct9YHm5L.js +175 -0
  33. package/assets/javascript-By915NHa.js +20 -0
  34. package/assets/json.worker-B0PzJ5jL.js +6 -0
  35. package/assets/json.worker-CAiVr-gV.js +65 -0
  36. package/assets/jsonMode-DAP8CNa2.js +450 -0
  37. package/assets/julia-BAYXm_pL.js +416 -0
  38. package/assets/kotlin-JEujETri.js +184 -0
  39. package/assets/less-oHZXXDVD.js +244 -0
  40. package/assets/liquid-Cvs1eMgo.js +199 -0
  41. package/assets/lspLanguageFeatures-D6P77uh_.js +1455 -0
  42. package/assets/lua-B3ViXcD8.js +202 -0
  43. package/assets/main-16cPxgwS.js +107 -0
  44. package/assets/main-CB71Lf5W.js +129 -0
  45. package/assets/main-HEYSEiwe.js +66 -0
  46. package/assets/markdown-Ggb6Rgvc.js +264 -0
  47. package/assets/mdx-Ce7sXDA4.js +329 -0
  48. package/assets/mips-cYdfQChM.js +130 -0
  49. package/assets/monaco-d37b1a8f.css +3 -0
  50. package/assets/monaco-o5F6wkXp.js +40865 -0
  51. package/assets/mysql-nklBC2QL.js +170 -0
  52. package/assets/objective-c-x5BzCYEv.js +146 -0
  53. package/assets/pascal-DWL5ya_C.js +178 -0
  54. package/assets/perl-CbRoLks6.js +318 -0
  55. package/assets/pgsql-CVS-AsDB.js +160 -0
  56. package/assets/php-6gZIubF1.js +473 -0
  57. package/assets/powershell-DKgJI7BG.js +213 -0
  58. package/assets/protobuf-N0VyW3k9.js +661 -0
  59. package/assets/pug-BIMEUctf.js +302 -0
  60. package/assets/python-BKt2Winm.js +254 -0
  61. package/assets/r-Cb2uCcX6.js +191 -0
  62. package/assets/redis-D1CRAuQ1.js +125 -0
  63. package/assets/ruby-BzpgsYNr.js +529 -0
  64. package/assets/rust-CkIXqWDr.js +180 -0
  65. package/assets/scala-CnJ7htCu.js +553 -0
  66. package/assets/scss-xP2eAFyY.js +419 -0
  67. package/assets/shell-JSjWPSrk.js +225 -0
  68. package/assets/solidity-C8AFhoIi.js +149 -0
  69. package/assets/sql-DqW-LmZI.js +173 -0
  70. package/assets/swift-BcHKQY-M.js +215 -0
  71. package/assets/systemverilog-Dmu-Ht4V.js +300 -0
  72. package/assets/ts.worker-BAchZA3W.js +6 -0
  73. package/assets/ts.worker-DZhhT1EO.js +67741 -0
  74. package/assets/tsMode-C_Fsqh0j.js +566 -0
  75. package/assets/twig-Bj4rwioa.js +390 -0
  76. package/assets/typescript-Djsb1cC9.js +257 -0
  77. package/assets/typespec-xwJ6QpRP.js +236 -0
  78. package/assets/vb-CMxAjmFH.js +262 -0
  79. package/assets/wgsl-CTYGQRo2.js +147 -0
  80. package/assets/xml-D7cJD5hW.js +130 -0
  81. package/assets/yaml-B8A0QdVf.js +223 -0
  82. package/assets/yaml.worker-Crtsysk5.js +474 -0
  83. package/assets/yaml.worker-DZ36155v.js +6 -0
  84. package/lib.d.ts +8403 -0
  85. package/lib.js +2 -0
  86. package/package.json +1 -1
  87. package/src/main.js +29 -0
  88. package/index.d.ts +0 -6
  89. package/index.js +0 -1
  90. package/readme.md +0 -1
  91. /package/{license.txt → LICENSE} +0 -0
@@ -0,0 +1,300 @@
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/systemverilog/systemverilog.js
2
+ var e = {
3
+ comments: {
4
+ lineComment: "//",
5
+ blockComment: ["/*", "*/"]
6
+ },
7
+ brackets: [
8
+ ["{", "}"],
9
+ ["[", "]"],
10
+ ["(", ")"],
11
+ ["begin", "end"],
12
+ ["case", "endcase"],
13
+ ["casex", "endcase"],
14
+ ["casez", "endcase"],
15
+ ["checker", "endchecker"],
16
+ ["class", "endclass"],
17
+ ["clocking", "endclocking"],
18
+ ["config", "endconfig"],
19
+ ["function", "endfunction"],
20
+ ["generate", "endgenerate"],
21
+ ["group", "endgroup"],
22
+ ["interface", "endinterface"],
23
+ ["module", "endmodule"],
24
+ ["package", "endpackage"],
25
+ ["primitive", "endprimitive"],
26
+ ["program", "endprogram"],
27
+ ["property", "endproperty"],
28
+ ["specify", "endspecify"],
29
+ ["sequence", "endsequence"],
30
+ ["table", "endtable"],
31
+ ["task", "endtask"]
32
+ ],
33
+ autoClosingPairs: [
34
+ {
35
+ open: "[",
36
+ close: "]"
37
+ },
38
+ {
39
+ open: "{",
40
+ close: "}"
41
+ },
42
+ {
43
+ open: "(",
44
+ close: ")"
45
+ },
46
+ {
47
+ open: "'",
48
+ close: "'",
49
+ notIn: ["string", "comment"]
50
+ },
51
+ {
52
+ open: "\"",
53
+ close: "\"",
54
+ notIn: ["string"]
55
+ }
56
+ ],
57
+ surroundingPairs: [
58
+ {
59
+ open: "{",
60
+ close: "}"
61
+ },
62
+ {
63
+ open: "[",
64
+ close: "]"
65
+ },
66
+ {
67
+ open: "(",
68
+ close: ")"
69
+ },
70
+ {
71
+ open: "\"",
72
+ close: "\""
73
+ },
74
+ {
75
+ open: "'",
76
+ close: "'"
77
+ }
78
+ ],
79
+ folding: {
80
+ offSide: !1,
81
+ markers: {
82
+ start: /* @__PURE__ */ RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),
83
+ end: /* @__PURE__ */ RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")
84
+ }
85
+ }
86
+ }, t = {
87
+ defaultToken: "",
88
+ tokenPostfix: ".sv",
89
+ brackets: [
90
+ {
91
+ token: "delimiter.curly",
92
+ open: "{",
93
+ close: "}"
94
+ },
95
+ {
96
+ token: "delimiter.parenthesis",
97
+ open: "(",
98
+ close: ")"
99
+ },
100
+ {
101
+ token: "delimiter.square",
102
+ open: "[",
103
+ close: "]"
104
+ },
105
+ {
106
+ token: "delimiter.angle",
107
+ open: "<",
108
+ close: ">"
109
+ }
110
+ ],
111
+ keywords: /* @__PURE__ */ "accept_on.alias.always.always_comb.always_ff.always_latch.and.assert.assign.assume.automatic.before.begin.bind.bins.binsof.bit.break.buf.bufif0.bufif1.byte.case.casex.casez.cell.chandle.checker.class.clocking.cmos.config.const.constraint.context.continue.cover.covergroup.coverpoint.cross.deassign.default.defparam.design.disable.dist.do.edge.else.end.endcase.endchecker.endclass.endclocking.endconfig.endfunction.endgenerate.endgroup.endinterface.endmodule.endpackage.endprimitive.endprogram.endproperty.endspecify.endsequence.endtable.endtask.enum.event.eventually.expect.export.extends.extern.final.first_match.for.force.foreach.forever.fork.forkjoin.function.generate.genvar.global.highz0.highz1.if.iff.ifnone.ignore_bins.illegal_bins.implements.implies.import.incdir.include.initial.inout.input.inside.instance.int.integer.interconnect.interface.intersect.join.join_any.join_none.large.let.liblist.library.local.localparam.logic.longint.macromodule.matches.medium.modport.module.nand.negedge.nettype.new.nexttime.nmos.nor.noshowcancelled.not.notif0.notif1.null.or.output.package.packed.parameter.pmos.posedge.primitive.priority.program.property.protected.pull0.pull1.pulldown.pullup.pulsestyle_ondetect.pulsestyle_onevent.pure.rand.randc.randcase.randsequence.rcmos.real.realtime.ref.reg.reject_on.release.repeat.restrict.return.rnmos.rpmos.rtran.rtranif0.rtranif1.s_always.s_eventually.s_nexttime.s_until.s_until_with.scalared.sequence.shortint.shortreal.showcancelled.signed.small.soft.solve.specify.specparam.static.string.strong.strong0.strong1.struct.super.supply0.supply1.sync_accept_on.sync_reject_on.table.tagged.task.this.throughout.time.timeprecision.timeunit.tran.tranif0.tranif1.tri.tri0.tri1.triand.trior.trireg.type.typedef.union.unique.unique0.unsigned.until.until_with.untyped.use.uwire.var.vectored.virtual.void.wait.wait_order.wand.weak.weak0.weak1.while.wildcard.wire.with.within.wor.xnor.xor".split("."),
112
+ builtin_gates: [
113
+ "and",
114
+ "nand",
115
+ "nor",
116
+ "or",
117
+ "xor",
118
+ "xnor",
119
+ "buf",
120
+ "not",
121
+ "bufif0",
122
+ "bufif1",
123
+ "notif1",
124
+ "notif0",
125
+ "cmos",
126
+ "nmos",
127
+ "pmos",
128
+ "rcmos",
129
+ "rnmos",
130
+ "rpmos",
131
+ "tran",
132
+ "tranif1",
133
+ "tranif0",
134
+ "rtran",
135
+ "rtranif1",
136
+ "rtranif0"
137
+ ],
138
+ operators: /* @__PURE__ */ "=.+=.-=.*=./=.%=.&=.|=.^=.<<=.>>+.<<<=.>>>=.?.:.+.-.!.~.&.~&.|.~|.^.~^.^~.+.-.*./.%.==.!=.===.!==.==?.!=?.&&.||.**.<.<=.>.>=.&.|.^.>>.<<.>>>.<<<.++.--.->.<->.inside.dist.::.+:.-:.*>.&&&.|->.|=>.#=#".split("."),
139
+ symbols: /[=><!~?:&|+\-*\/\^%#]+/,
140
+ escapes: /%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,
141
+ identifier: /(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,
142
+ systemcall: /[$][a-zA-Z0-9_]+/,
143
+ timeunits: /s|ms|us|ns|ps|fs/,
144
+ tokenizer: {
145
+ root: [
146
+ [/^(\s*)(@identifier)/, ["", { cases: {
147
+ "@builtin_gates": {
148
+ token: "keyword.$2",
149
+ next: "@module_instance"
150
+ },
151
+ table: {
152
+ token: "keyword.$2",
153
+ next: "@table"
154
+ },
155
+ "@keywords": { token: "keyword.$2" },
156
+ "@default": {
157
+ token: "identifier",
158
+ next: "@module_instance"
159
+ }
160
+ } }]],
161
+ [/^\s*`include/, {
162
+ token: "keyword.directive.include",
163
+ next: "@include"
164
+ }],
165
+ [/^\s*`\s*\w+/, "keyword"],
166
+ { include: "@identifier_or_keyword" },
167
+ { include: "@whitespace" },
168
+ [/\(\*.*\*\)/, "annotation"],
169
+ [/@systemcall/, "variable.predefined"],
170
+ [/[{}()\[\]]/, "@brackets"],
171
+ [/[<>](?!@symbols)/, "@brackets"],
172
+ [/@symbols/, { cases: {
173
+ "@operators": "delimiter",
174
+ "@default": ""
175
+ } }],
176
+ { include: "@numbers" },
177
+ [/[;,.]/, "delimiter"],
178
+ { include: "@strings" }
179
+ ],
180
+ identifier_or_keyword: [[/@identifier/, { cases: {
181
+ "@keywords": { token: "keyword.$0" },
182
+ "@default": "identifier"
183
+ } }]],
184
+ numbers: [
185
+ [/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/, "number.float"],
186
+ [/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/, "number.float"],
187
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/, "number"],
188
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/, "number.binary"],
189
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/, "number.octal"],
190
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/, "number.hex"],
191
+ [/1step/, "number"],
192
+ [/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/, "number"],
193
+ [/'[01xXzZ]+/, "number"]
194
+ ],
195
+ module_instance: [
196
+ { include: "@whitespace" },
197
+ [/(#?)(\()/, ["", {
198
+ token: "@brackets",
199
+ next: "@port_connection"
200
+ }]],
201
+ [/@identifier\s*[;={}\[\],]/, {
202
+ token: "@rematch",
203
+ next: "@pop"
204
+ }],
205
+ [/@symbols|[;={}\[\],]/, {
206
+ token: "@rematch",
207
+ next: "@pop"
208
+ }],
209
+ [/@identifier/, "type"],
210
+ [
211
+ /;/,
212
+ "delimiter",
213
+ "@pop"
214
+ ]
215
+ ],
216
+ port_connection: [
217
+ { include: "@identifier_or_keyword" },
218
+ { include: "@whitespace" },
219
+ [/@systemcall/, "variable.predefined"],
220
+ { include: "@numbers" },
221
+ { include: "@strings" },
222
+ [/[,]/, "delimiter"],
223
+ [
224
+ /\(/,
225
+ "@brackets",
226
+ "@port_connection"
227
+ ],
228
+ [
229
+ /\)/,
230
+ "@brackets",
231
+ "@pop"
232
+ ]
233
+ ],
234
+ whitespace: [
235
+ [/[ \t\r\n]+/, ""],
236
+ [
237
+ /\/\*/,
238
+ "comment",
239
+ "@comment"
240
+ ],
241
+ [/\/\/.*$/, "comment"]
242
+ ],
243
+ comment: [
244
+ [/[^\/*]+/, "comment"],
245
+ [
246
+ /\*\//,
247
+ "comment",
248
+ "@pop"
249
+ ],
250
+ [/[\/*]/, "comment"]
251
+ ],
252
+ strings: [[/"([^"\\]|\\.)*$/, "string.invalid"], [
253
+ /"/,
254
+ "string",
255
+ "@string"
256
+ ]],
257
+ string: [
258
+ [/[^\\"]+/, "string"],
259
+ [/@escapes/, "string.escape"],
260
+ [/\\./, "string.escape.invalid"],
261
+ [
262
+ /"/,
263
+ "string",
264
+ "@pop"
265
+ ]
266
+ ],
267
+ include: [[/(\s*)(")([\w*\/*]*)(.\w*)(")/, [
268
+ "",
269
+ "string.include.identifier",
270
+ "string.include.identifier",
271
+ "string.include.identifier",
272
+ {
273
+ token: "string.include.identifier",
274
+ next: "@pop"
275
+ }
276
+ ]], [/(\s*)(<)([\w*\/*]*)(.\w*)(>)/, [
277
+ "",
278
+ "string.include.identifier",
279
+ "string.include.identifier",
280
+ "string.include.identifier",
281
+ {
282
+ token: "string.include.identifier",
283
+ next: "@pop"
284
+ }
285
+ ]]],
286
+ table: [
287
+ { include: "@whitespace" },
288
+ [/[()]/, "@brackets"],
289
+ [/[:;]/, "delimiter"],
290
+ [/[01\-*?xXbBrRfFpPnN]/, "variable.predefined"],
291
+ [
292
+ "endtable",
293
+ "keyword.endtable",
294
+ "@pop"
295
+ ]
296
+ ]
297
+ }
298
+ };
299
+ //#endregion
300
+ export { e as conf, t as language };
@@ -0,0 +1,6 @@
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/features/typescript/ts.worker.js?worker
2
+ function e(e) {
3
+ return new Worker(new URL("ts.worker-DZhhT1EO.js", import.meta.url).href, { name: e?.name });
4
+ }
5
+ //#endregion
6
+ export { e as default };