monacozen 0.0.1 → 0.1.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 (109) hide show
  1. package/README.md +124 -0
  2. package/assets/antimono-ClsI0fxy.js +5 -0
  3. package/assets/antimono-zBXMptjq.css +1 -0
  4. package/assets/azcli-ue5GhsHI.js +55 -0
  5. package/assets/bat-C6DzPBcU.js +125 -0
  6. package/assets/bicep-B6UDBWZN.js +220 -0
  7. package/assets/cameligo-BoKy-zSd.js +191 -0
  8. package/assets/clojure-D8WHGr6v.js +148 -0
  9. package/assets/coffee-C16Mnhbm.js +262 -0
  10. package/assets/cpp-_HbkGdoj.js +232 -0
  11. package/assets/csharp-DeGXkEgi.js +262 -0
  12. package/assets/csp-DGVEba9U.js +48 -0
  13. package/assets/css-DmO2GtiT.js +286 -0
  14. package/assets/css.worker-B59bB4vF.js +6 -0
  15. package/assets/css.worker-zFzGcGyJ.js +96 -0
  16. package/assets/cssMode-B-yiAIn5.js +65 -0
  17. package/assets/cypher-5654EJL_.js +214 -0
  18. package/assets/dart-BjXVSQM-.js +238 -0
  19. package/assets/dist-Bx9hOuoB.js +624 -0
  20. package/assets/dockerfile-DSA8TJLS.js +193 -0
  21. package/assets/ecl-DoDWSDGs.js +228 -0
  22. package/assets/editor.api-C_6h_pYy.js +83476 -0
  23. package/assets/editorWebWorkerMain-Cpqca1A3.js +6 -0
  24. package/assets/editorWebWorkerMain-_4oyTYIl.js +33 -0
  25. package/assets/elixir-CzC02SL7.js +525 -0
  26. package/assets/freemarker2-Jvnudjht.js +718 -0
  27. package/assets/fsharp-DRGCXPNW.js +149 -0
  28. package/assets/go-CyErB8P9.js +167 -0
  29. package/assets/graphql-CNnvnjR8.js +176 -0
  30. package/assets/handlebars-B9HHtHT5.js +412 -0
  31. package/assets/hcl-D4a6HBjk.js +221 -0
  32. package/assets/html-B5_5MvV-.js +333 -0
  33. package/assets/html.worker-Czi9KUKj.js +6 -0
  34. package/assets/html.worker-D4M1xqlZ.js +509 -0
  35. package/assets/htmlMode-DcETbRqN.js +74 -0
  36. package/assets/ini-CpSjysbn.js +96 -0
  37. package/assets/java-DkRrYYRp.js +175 -0
  38. package/assets/javascript-Da2MNB2t.js +20 -0
  39. package/assets/json.worker-D3-21m4I.js +65 -0
  40. package/assets/json.worker-pkLWnKxn.js +6 -0
  41. package/assets/jsonMode-BtwFVp_X.js +450 -0
  42. package/assets/julia-DXDdnD4p.js +416 -0
  43. package/assets/kotlin-BNDyMshT.js +184 -0
  44. package/assets/less-3yDKfG4U.js +244 -0
  45. package/assets/liquid-DCciKNzb.js +199 -0
  46. package/assets/lspLanguageFeatures-CAn_K3Js.js +1455 -0
  47. package/assets/lua-CqDy9oHE.js +202 -0
  48. package/assets/m3-DyBtJGhR.js +195 -0
  49. package/assets/main-16cPxgwS.js +107 -0
  50. package/assets/main-CB71Lf5W.js +129 -0
  51. package/assets/main-HEYSEiwe.js +66 -0
  52. package/assets/markdown-DIkeztiD.js +264 -0
  53. package/assets/mdx-BcOG7QFm.js +329 -0
  54. package/assets/mips-BUbWxz0r.js +130 -0
  55. package/assets/monaco-BMsB0TPD.js +39430 -0
  56. package/assets/monaco-ffd8b062.css +3 -0
  57. package/assets/msdax-95fojGvn.js +158 -0
  58. package/assets/mysql-CX3tETwr.js +170 -0
  59. package/assets/objective-c-CK2i53vc.js +146 -0
  60. package/assets/pascal-wnGRqmNG.js +178 -0
  61. package/assets/pascaligo-DR2NqTqc.js +203 -0
  62. package/assets/perl-DXuijcFO.js +318 -0
  63. package/assets/pgsql-BFvD7ctB.js +160 -0
  64. package/assets/php-FZHoZ5C_.js +473 -0
  65. package/assets/pla-Cmb_VVG6.js +148 -0
  66. package/assets/postiats-DUwtyBVk.js +506 -0
  67. package/assets/powerquery-wUlwxvME.js +192 -0
  68. package/assets/powershell-Wf4X7WOf.js +213 -0
  69. package/assets/protobuf-CcMDFVG6.js +661 -0
  70. package/assets/pug-OPBd_9cN.js +302 -0
  71. package/assets/python-D2Z49Cw8.js +254 -0
  72. package/assets/qsharp-C4P6iWbB.js +145 -0
  73. package/assets/r-FHjiK9Ff.js +191 -0
  74. package/assets/razor-CfcSDTvR.js +519 -0
  75. package/assets/redis-CLJ_Tkzp.js +125 -0
  76. package/assets/redshift-Cn0YgnO8.js +160 -0
  77. package/assets/restructuredtext-Ckzl4aRZ.js +289 -0
  78. package/assets/ruby-Dhjv9xsd.js +529 -0
  79. package/assets/rust-Bq7le2bN.js +180 -0
  80. package/assets/scala-Bth6QY64.js +553 -0
  81. package/assets/scheme-BHXdn3HT.js +172 -0
  82. package/assets/scss-DVPfVfp2.js +419 -0
  83. package/assets/shell-DYY2DoAm.js +225 -0
  84. package/assets/solidity-C2dWya5C.js +149 -0
  85. package/assets/sophia-BdPli0VA.js +149 -0
  86. package/assets/sparql-Ca6NBL_y.js +126 -0
  87. package/assets/sql-CE5EfRV1.js +173 -0
  88. package/assets/st-BKcHiAlg.js +478 -0
  89. package/assets/swift-v0LuaFKN.js +215 -0
  90. package/assets/systemverilog-BRC61WOW.js +300 -0
  91. package/assets/tcl-Xx48oN1j.js +225 -0
  92. package/assets/ts.worker-CokkJ1Lk.js +6 -0
  93. package/assets/ts.worker-De3FAST6.js +67741 -0
  94. package/assets/tsMode-cdcRizUc.js +567 -0
  95. package/assets/twig-Dq5WyzaF.js +390 -0
  96. package/assets/typescript-B25ZZJLy.js +257 -0
  97. package/assets/typespec-DVZXVZWY.js +236 -0
  98. package/assets/vb--Ows3SAS.js +262 -0
  99. package/assets/wgsl-gwRTfDFE.js +147 -0
  100. package/assets/workers-qpP7-_JR.js +48 -0
  101. package/assets/xml-BD6eVsMx.js +130 -0
  102. package/assets/yaml-unVkvP57.js +223 -0
  103. package/lib.d.ts +8379 -0
  104. package/package.json +1 -1
  105. package/src/main.js +24 -0
  106. package/index.d.ts +0 -6
  107. package/index.js +0 -1
  108. package/readme.md +0 -1
  109. /package/{license.txt → LICENSE} +0 -0
@@ -0,0 +1,473 @@
1
+ //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/php/php.js
2
+ var e = {
3
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
+ comments: {
5
+ lineComment: "//",
6
+ blockComment: ["/*", "*/"]
7
+ },
8
+ brackets: [
9
+ ["{", "}"],
10
+ ["[", "]"],
11
+ ["(", ")"]
12
+ ],
13
+ autoClosingPairs: [
14
+ {
15
+ open: "{",
16
+ close: "}",
17
+ notIn: ["string"]
18
+ },
19
+ {
20
+ open: "[",
21
+ close: "]",
22
+ notIn: ["string"]
23
+ },
24
+ {
25
+ open: "(",
26
+ close: ")",
27
+ notIn: ["string"]
28
+ },
29
+ {
30
+ open: "\"",
31
+ close: "\"",
32
+ notIn: ["string"]
33
+ },
34
+ {
35
+ open: "'",
36
+ close: "'",
37
+ notIn: ["string", "comment"]
38
+ }
39
+ ],
40
+ folding: { markers: {
41
+ start: /* @__PURE__ */ RegExp("^\\s*(#|//)region\\b"),
42
+ end: /* @__PURE__ */ RegExp("^\\s*(#|//)endregion\\b")
43
+ } }
44
+ }, t = {
45
+ defaultToken: "",
46
+ tokenPostfix: "",
47
+ tokenizer: {
48
+ root: [
49
+ [/<\?((php)|=)?/, {
50
+ token: "@rematch",
51
+ switchTo: "@phpInSimpleState.root"
52
+ }],
53
+ [
54
+ /<!DOCTYPE/,
55
+ "metatag.html",
56
+ "@doctype"
57
+ ],
58
+ [
59
+ /<!--/,
60
+ "comment.html",
61
+ "@comment"
62
+ ],
63
+ [/(<)(\w+)(\/>)/, [
64
+ "delimiter.html",
65
+ "tag.html",
66
+ "delimiter.html"
67
+ ]],
68
+ [/(<)(script)/, ["delimiter.html", {
69
+ token: "tag.html",
70
+ next: "@script"
71
+ }]],
72
+ [/(<)(style)/, ["delimiter.html", {
73
+ token: "tag.html",
74
+ next: "@style"
75
+ }]],
76
+ [/(<)([:\w]+)/, ["delimiter.html", {
77
+ token: "tag.html",
78
+ next: "@otherTag"
79
+ }]],
80
+ [/(<\/)(\w+)/, ["delimiter.html", {
81
+ token: "tag.html",
82
+ next: "@otherTag"
83
+ }]],
84
+ [/</, "delimiter.html"],
85
+ [/[^<]+/]
86
+ ],
87
+ doctype: [
88
+ [/<\?((php)|=)?/, {
89
+ token: "@rematch",
90
+ switchTo: "@phpInSimpleState.comment"
91
+ }],
92
+ [/[^>]+/, "metatag.content.html"],
93
+ [
94
+ />/,
95
+ "metatag.html",
96
+ "@pop"
97
+ ]
98
+ ],
99
+ comment: [
100
+ [/<\?((php)|=)?/, {
101
+ token: "@rematch",
102
+ switchTo: "@phpInSimpleState.comment"
103
+ }],
104
+ [
105
+ /-->/,
106
+ "comment.html",
107
+ "@pop"
108
+ ],
109
+ [/[^-]+/, "comment.content.html"],
110
+ [/./, "comment.content.html"]
111
+ ],
112
+ otherTag: [
113
+ [/<\?((php)|=)?/, {
114
+ token: "@rematch",
115
+ switchTo: "@phpInSimpleState.otherTag"
116
+ }],
117
+ [
118
+ /\/?>/,
119
+ "delimiter.html",
120
+ "@pop"
121
+ ],
122
+ [/"([^"]*)"/, "attribute.value"],
123
+ [/'([^']*)'/, "attribute.value"],
124
+ [/[\w\-]+/, "attribute.name"],
125
+ [/=/, "delimiter"],
126
+ [/[ \t\r\n]+/]
127
+ ],
128
+ script: [
129
+ [/<\?((php)|=)?/, {
130
+ token: "@rematch",
131
+ switchTo: "@phpInSimpleState.script"
132
+ }],
133
+ [
134
+ /type/,
135
+ "attribute.name",
136
+ "@scriptAfterType"
137
+ ],
138
+ [/"([^"]*)"/, "attribute.value"],
139
+ [/'([^']*)'/, "attribute.value"],
140
+ [/[\w\-]+/, "attribute.name"],
141
+ [/=/, "delimiter"],
142
+ [/>/, {
143
+ token: "delimiter.html",
144
+ next: "@scriptEmbedded.text/javascript",
145
+ nextEmbedded: "text/javascript"
146
+ }],
147
+ [/[ \t\r\n]+/],
148
+ [/(<\/)(script\s*)(>)/, [
149
+ "delimiter.html",
150
+ "tag.html",
151
+ {
152
+ token: "delimiter.html",
153
+ next: "@pop"
154
+ }
155
+ ]]
156
+ ],
157
+ scriptAfterType: [
158
+ [/<\?((php)|=)?/, {
159
+ token: "@rematch",
160
+ switchTo: "@phpInSimpleState.scriptAfterType"
161
+ }],
162
+ [
163
+ /=/,
164
+ "delimiter",
165
+ "@scriptAfterTypeEquals"
166
+ ],
167
+ [/>/, {
168
+ token: "delimiter.html",
169
+ next: "@scriptEmbedded.text/javascript",
170
+ nextEmbedded: "text/javascript"
171
+ }],
172
+ [/[ \t\r\n]+/],
173
+ [/<\/script\s*>/, {
174
+ token: "@rematch",
175
+ next: "@pop"
176
+ }]
177
+ ],
178
+ scriptAfterTypeEquals: [
179
+ [/<\?((php)|=)?/, {
180
+ token: "@rematch",
181
+ switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
182
+ }],
183
+ [/"([^"]*)"/, {
184
+ token: "attribute.value",
185
+ switchTo: "@scriptWithCustomType.$1"
186
+ }],
187
+ [/'([^']*)'/, {
188
+ token: "attribute.value",
189
+ switchTo: "@scriptWithCustomType.$1"
190
+ }],
191
+ [/>/, {
192
+ token: "delimiter.html",
193
+ next: "@scriptEmbedded.text/javascript",
194
+ nextEmbedded: "text/javascript"
195
+ }],
196
+ [/[ \t\r\n]+/],
197
+ [/<\/script\s*>/, {
198
+ token: "@rematch",
199
+ next: "@pop"
200
+ }]
201
+ ],
202
+ scriptWithCustomType: [
203
+ [/<\?((php)|=)?/, {
204
+ token: "@rematch",
205
+ switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
206
+ }],
207
+ [/>/, {
208
+ token: "delimiter.html",
209
+ next: "@scriptEmbedded.$S2",
210
+ nextEmbedded: "$S2"
211
+ }],
212
+ [/"([^"]*)"/, "attribute.value"],
213
+ [/'([^']*)'/, "attribute.value"],
214
+ [/[\w\-]+/, "attribute.name"],
215
+ [/=/, "delimiter"],
216
+ [/[ \t\r\n]+/],
217
+ [/<\/script\s*>/, {
218
+ token: "@rematch",
219
+ next: "@pop"
220
+ }]
221
+ ],
222
+ scriptEmbedded: [[/<\?((php)|=)?/, {
223
+ token: "@rematch",
224
+ switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
225
+ nextEmbedded: "@pop"
226
+ }], [/<\/script/, {
227
+ token: "@rematch",
228
+ next: "@pop",
229
+ nextEmbedded: "@pop"
230
+ }]],
231
+ style: [
232
+ [/<\?((php)|=)?/, {
233
+ token: "@rematch",
234
+ switchTo: "@phpInSimpleState.style"
235
+ }],
236
+ [
237
+ /type/,
238
+ "attribute.name",
239
+ "@styleAfterType"
240
+ ],
241
+ [/"([^"]*)"/, "attribute.value"],
242
+ [/'([^']*)'/, "attribute.value"],
243
+ [/[\w\-]+/, "attribute.name"],
244
+ [/=/, "delimiter"],
245
+ [/>/, {
246
+ token: "delimiter.html",
247
+ next: "@styleEmbedded.text/css",
248
+ nextEmbedded: "text/css"
249
+ }],
250
+ [/[ \t\r\n]+/],
251
+ [/(<\/)(style\s*)(>)/, [
252
+ "delimiter.html",
253
+ "tag.html",
254
+ {
255
+ token: "delimiter.html",
256
+ next: "@pop"
257
+ }
258
+ ]]
259
+ ],
260
+ styleAfterType: [
261
+ [/<\?((php)|=)?/, {
262
+ token: "@rematch",
263
+ switchTo: "@phpInSimpleState.styleAfterType"
264
+ }],
265
+ [
266
+ /=/,
267
+ "delimiter",
268
+ "@styleAfterTypeEquals"
269
+ ],
270
+ [/>/, {
271
+ token: "delimiter.html",
272
+ next: "@styleEmbedded.text/css",
273
+ nextEmbedded: "text/css"
274
+ }],
275
+ [/[ \t\r\n]+/],
276
+ [/<\/style\s*>/, {
277
+ token: "@rematch",
278
+ next: "@pop"
279
+ }]
280
+ ],
281
+ styleAfterTypeEquals: [
282
+ [/<\?((php)|=)?/, {
283
+ token: "@rematch",
284
+ switchTo: "@phpInSimpleState.styleAfterTypeEquals"
285
+ }],
286
+ [/"([^"]*)"/, {
287
+ token: "attribute.value",
288
+ switchTo: "@styleWithCustomType.$1"
289
+ }],
290
+ [/'([^']*)'/, {
291
+ token: "attribute.value",
292
+ switchTo: "@styleWithCustomType.$1"
293
+ }],
294
+ [/>/, {
295
+ token: "delimiter.html",
296
+ next: "@styleEmbedded.text/css",
297
+ nextEmbedded: "text/css"
298
+ }],
299
+ [/[ \t\r\n]+/],
300
+ [/<\/style\s*>/, {
301
+ token: "@rematch",
302
+ next: "@pop"
303
+ }]
304
+ ],
305
+ styleWithCustomType: [
306
+ [/<\?((php)|=)?/, {
307
+ token: "@rematch",
308
+ switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
309
+ }],
310
+ [/>/, {
311
+ token: "delimiter.html",
312
+ next: "@styleEmbedded.$S2",
313
+ nextEmbedded: "$S2"
314
+ }],
315
+ [/"([^"]*)"/, "attribute.value"],
316
+ [/'([^']*)'/, "attribute.value"],
317
+ [/[\w\-]+/, "attribute.name"],
318
+ [/=/, "delimiter"],
319
+ [/[ \t\r\n]+/],
320
+ [/<\/style\s*>/, {
321
+ token: "@rematch",
322
+ next: "@pop"
323
+ }]
324
+ ],
325
+ styleEmbedded: [[/<\?((php)|=)?/, {
326
+ token: "@rematch",
327
+ switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
328
+ nextEmbedded: "@pop"
329
+ }], [/<\/style/, {
330
+ token: "@rematch",
331
+ next: "@pop",
332
+ nextEmbedded: "@pop"
333
+ }]],
334
+ phpInSimpleState: [
335
+ [/<\?((php)|=)?/, "metatag.php"],
336
+ [/\?>/, {
337
+ token: "metatag.php",
338
+ switchTo: "@$S2.$S3"
339
+ }],
340
+ { include: "phpRoot" }
341
+ ],
342
+ phpInEmbeddedState: [
343
+ [/<\?((php)|=)?/, "metatag.php"],
344
+ [/\?>/, {
345
+ token: "metatag.php",
346
+ switchTo: "@$S2.$S3",
347
+ nextEmbedded: "$S3"
348
+ }],
349
+ { include: "phpRoot" }
350
+ ],
351
+ phpRoot: [
352
+ [/[a-zA-Z_]\w*/, { cases: {
353
+ "@phpKeywords": { token: "keyword.php" },
354
+ "@phpCompileTimeConstants": { token: "constant.php" },
355
+ "@default": "identifier.php"
356
+ } }],
357
+ [/[$a-zA-Z_]\w*/, { cases: {
358
+ "@phpPreDefinedVariables": { token: "variable.predefined.php" },
359
+ "@default": "variable.php"
360
+ } }],
361
+ [/[{}]/, "delimiter.bracket.php"],
362
+ [/[\[\]]/, "delimiter.array.php"],
363
+ [/[()]/, "delimiter.parenthesis.php"],
364
+ [/[ \t\r\n]+/],
365
+ [/(#|\/\/)$/, "comment.php"],
366
+ [
367
+ /(#|\/\/)/,
368
+ "comment.php",
369
+ "@phpLineComment"
370
+ ],
371
+ [
372
+ /\/\*/,
373
+ "comment.php",
374
+ "@phpComment"
375
+ ],
376
+ [
377
+ /"/,
378
+ "string.php",
379
+ "@phpDoubleQuoteString"
380
+ ],
381
+ [
382
+ /'/,
383
+ "string.php",
384
+ "@phpSingleQuoteString"
385
+ ],
386
+ [/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
387
+ [/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
388
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
389
+ [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
390
+ [/0[0-7']*[0-7]/, "number.octal.php"],
391
+ [/0[bB][0-1']*[0-1]/, "number.binary.php"],
392
+ [/\d[\d']*/, "number.php"],
393
+ [/\d/, "number.php"]
394
+ ],
395
+ phpComment: [
396
+ [
397
+ /\*\//,
398
+ "comment.php",
399
+ "@pop"
400
+ ],
401
+ [/[^*]+/, "comment.php"],
402
+ [/./, "comment.php"]
403
+ ],
404
+ phpLineComment: [
405
+ [/\?>/, {
406
+ token: "@rematch",
407
+ next: "@pop"
408
+ }],
409
+ [
410
+ /.$/,
411
+ "comment.php",
412
+ "@pop"
413
+ ],
414
+ [
415
+ /[^?]+$/,
416
+ "comment.php",
417
+ "@pop"
418
+ ],
419
+ [/[^?]+/, "comment.php"],
420
+ [/./, "comment.php"]
421
+ ],
422
+ phpDoubleQuoteString: [
423
+ [/[^\\"]+/, "string.php"],
424
+ [/@escapes/, "string.escape.php"],
425
+ [/\\./, "string.escape.invalid.php"],
426
+ [
427
+ /"/,
428
+ "string.php",
429
+ "@pop"
430
+ ]
431
+ ],
432
+ phpSingleQuoteString: [
433
+ [/[^\\']+/, "string.php"],
434
+ [/@escapes/, "string.escape.php"],
435
+ [/\\./, "string.escape.invalid.php"],
436
+ [
437
+ /'/,
438
+ "string.php",
439
+ "@pop"
440
+ ]
441
+ ]
442
+ },
443
+ phpKeywords: /* @__PURE__ */ "abstract.and.array.as.break.callable.case.catch.cfunction.class.clone.const.continue.declare.default.do.else.elseif.enddeclare.endfor.endforeach.endif.endswitch.endwhile.extends.false.final.for.foreach.function.global.goto.if.implements.interface.instanceof.insteadof.namespace.new.null.object.old_function.or.private.protected.public.resource.static.switch.throw.trait.try.true.use.var.while.xor.die.echo.empty.exit.eval.include.include_once.isset.list.require.require_once.return.print.unset.yield.__construct".split("."),
444
+ phpCompileTimeConstants: [
445
+ "__CLASS__",
446
+ "__DIR__",
447
+ "__FILE__",
448
+ "__LINE__",
449
+ "__NAMESPACE__",
450
+ "__METHOD__",
451
+ "__FUNCTION__",
452
+ "__TRAIT__"
453
+ ],
454
+ phpPreDefinedVariables: [
455
+ "$GLOBALS",
456
+ "$_SERVER",
457
+ "$_GET",
458
+ "$_POST",
459
+ "$_FILES",
460
+ "$_REQUEST",
461
+ "$_SESSION",
462
+ "$_ENV",
463
+ "$_COOKIE",
464
+ "$php_errormsg",
465
+ "$HTTP_RAW_POST_DATA",
466
+ "$http_response_header",
467
+ "$argc",
468
+ "$argv"
469
+ ],
470
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
471
+ };
472
+ //#endregion
473
+ export { e as conf, t as language };
@@ -0,0 +1,148 @@
1
+ //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/pla/pla.js
2
+ var e = {
3
+ comments: { lineComment: "#" },
4
+ brackets: [
5
+ ["[", "]"],
6
+ ["<", ">"],
7
+ ["(", ")"]
8
+ ],
9
+ autoClosingPairs: [
10
+ {
11
+ open: "[",
12
+ close: "]"
13
+ },
14
+ {
15
+ open: "<",
16
+ close: ">"
17
+ },
18
+ {
19
+ open: "(",
20
+ close: ")"
21
+ }
22
+ ],
23
+ surroundingPairs: [
24
+ {
25
+ open: "[",
26
+ close: "]"
27
+ },
28
+ {
29
+ open: "<",
30
+ close: ">"
31
+ },
32
+ {
33
+ open: "(",
34
+ close: ")"
35
+ }
36
+ ]
37
+ }, t = {
38
+ defaultToken: "",
39
+ tokenPostfix: ".pla",
40
+ brackets: [
41
+ {
42
+ open: "[",
43
+ close: "]",
44
+ token: "delimiter.square"
45
+ },
46
+ {
47
+ open: "<",
48
+ close: ">",
49
+ token: "delimiter.angle"
50
+ },
51
+ {
52
+ open: "(",
53
+ close: ")",
54
+ token: "delimiter.parenthesis"
55
+ }
56
+ ],
57
+ keywords: [
58
+ ".i",
59
+ ".o",
60
+ ".mv",
61
+ ".ilb",
62
+ ".ob",
63
+ ".label",
64
+ ".type",
65
+ ".phase",
66
+ ".pair",
67
+ ".symbolic",
68
+ ".symbolic-output",
69
+ ".kiss",
70
+ ".p",
71
+ ".e",
72
+ ".end"
73
+ ],
74
+ comment: /#.*$/,
75
+ identifier: /[a-zA-Z]+[a-zA-Z0-9_\-]*/,
76
+ plaContent: /[01\-~\|]+/,
77
+ tokenizer: {
78
+ root: [
79
+ { include: "@whitespace" },
80
+ [/@comment/, "comment"],
81
+ [/\.([a-zA-Z_\-]+)/, { cases: {
82
+ "@eos": { token: "keyword.$1" },
83
+ "@keywords": { cases: {
84
+ ".type": {
85
+ token: "keyword.$1",
86
+ next: "@type"
87
+ },
88
+ "@default": {
89
+ token: "keyword.$1",
90
+ next: "@keywordArg"
91
+ }
92
+ } },
93
+ "@default": { token: "keyword.$1" }
94
+ } }],
95
+ [/@identifier/, "identifier"],
96
+ [/@plaContent/, "string"]
97
+ ],
98
+ whitespace: [[/[ \t\r\n]+/, ""]],
99
+ type: [{ include: "@whitespace" }, [/\w+/, {
100
+ token: "type",
101
+ next: "@pop"
102
+ }]],
103
+ keywordArg: [
104
+ [/[ \t\r\n]+/, { cases: {
105
+ "@eos": {
106
+ token: "",
107
+ next: "@pop"
108
+ },
109
+ "@default": ""
110
+ } }],
111
+ [
112
+ /@comment/,
113
+ "comment",
114
+ "@pop"
115
+ ],
116
+ [/[<>()\[\]]/, { cases: {
117
+ "@eos": {
118
+ token: "@brackets",
119
+ next: "@pop"
120
+ },
121
+ "@default": "@brackets"
122
+ } }],
123
+ [/\-?\d+/, { cases: {
124
+ "@eos": {
125
+ token: "number",
126
+ next: "@pop"
127
+ },
128
+ "@default": "number"
129
+ } }],
130
+ [/@identifier/, { cases: {
131
+ "@eos": {
132
+ token: "identifier",
133
+ next: "@pop"
134
+ },
135
+ "@default": "identifier"
136
+ } }],
137
+ [/[;=]/, { cases: {
138
+ "@eos": {
139
+ token: "delimiter",
140
+ next: "@pop"
141
+ },
142
+ "@default": "delimiter"
143
+ } }]
144
+ ]
145
+ }
146
+ };
147
+ //#endregion
148
+ export { e as conf, t as language };