@dronico/droni-kit 1.7.2 → 1.7.3

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 (182) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/abap-CrVaG5QI.cjs +6 -0
  3. package/dist/abap-D0Neqhq6.js +1404 -0
  4. package/dist/apex-B5LhxkeG.js +332 -0
  5. package/dist/apex-CGiaaokt.cjs +6 -0
  6. package/dist/assets/css.worker-DNgQEC96.js +84 -0
  7. package/dist/assets/editor.worker-BKD3YLiN.js +12 -0
  8. package/dist/assets/html.worker-B7xpmB-M.js +461 -0
  9. package/dist/assets/json.worker-td2JV8fN.js +49 -0
  10. package/dist/assets/ts.worker-CqZGdM85.js +51334 -0
  11. package/dist/azcli-BrBH0QTU.js +74 -0
  12. package/dist/azcli-CCWOS89X.cjs +6 -0
  13. package/dist/bat-BfzAov64.js +106 -0
  14. package/dist/bat-dplVPQ-_.cjs +6 -0
  15. package/dist/bicep-C3bCSWel.js +108 -0
  16. package/dist/bicep-Q9zrsOvk.cjs +7 -0
  17. package/dist/cameligo-Dr5j7v0u.cjs +6 -0
  18. package/dist/cameligo-sFL5plcd.js +180 -0
  19. package/dist/clojure-CfeExRz0.js +767 -0
  20. package/dist/clojure-DPJGbZtj.cjs +6 -0
  21. package/dist/coffee-CUV2cHk6.cjs +6 -0
  22. package/dist/coffee-Xws5K0WL.js +238 -0
  23. package/dist/cpp-CqOUEpxN.js +395 -0
  24. package/dist/cpp-DyuKq4fH.cjs +6 -0
  25. package/dist/csharp-DVLiBOZb.js +332 -0
  26. package/dist/csharp-d4dFAWKM.cjs +6 -0
  27. package/dist/csp-DVFp9bw5.js +59 -0
  28. package/dist/csp-Lc8LbON9.cjs +6 -0
  29. package/dist/css-D8IzNaWL.cjs +8 -0
  30. package/dist/css-DwARn2R6.js +193 -0
  31. package/dist/cssMode--MfDhlXW.js +1577 -0
  32. package/dist/cssMode-B8S_b__C.cjs +9 -0
  33. package/dist/cypher-BuSmvVBI.cjs +6 -0
  34. package/dist/cypher-uY0Mffat.js +269 -0
  35. package/dist/dart-D27H-mX_.js +287 -0
  36. package/dist/dart-d-sZXKUo.cjs +6 -0
  37. package/dist/dockerfile-CmV85WZK.js +136 -0
  38. package/dist/dockerfile-OepqCuVM.cjs +6 -0
  39. package/dist/droni-kit.cjs.js +1 -1009
  40. package/dist/droni-kit.css +1 -1
  41. package/dist/droni-kit.es.js +7 -76246
  42. package/dist/ecl--fKn7yzB.js +462 -0
  43. package/dist/ecl-GFERKf5i.cjs +6 -0
  44. package/dist/elixir-9a1efda4.cjs +6 -0
  45. package/dist/elixir-DUhH17ON.js +575 -0
  46. package/dist/flow9-B3Dx2LLe.js +148 -0
  47. package/dist/flow9-DsqME3Wt.cjs +6 -0
  48. package/dist/freemarker2-ApUh3Ubc.cjs +8 -0
  49. package/dist/freemarker2-B6ampScX.js +995 -0
  50. package/dist/fsharp-DtZL2hil.cjs +6 -0
  51. package/dist/fsharp-SyqBfUAR.js +223 -0
  52. package/dist/go-B11TqKJA.cjs +6 -0
  53. package/dist/go-BbMR2tdT.js +224 -0
  54. package/dist/graphql-DDJE6tIl.js +157 -0
  55. package/dist/graphql-DrfV554J.cjs +6 -0
  56. package/dist/handlebars-Cbhqp1NE.js +425 -0
  57. package/dist/handlebars-Ce21uehy.cjs +6 -0
  58. package/dist/hcl-B0mc1H5M.cjs +6 -0
  59. package/dist/hcl-YBvpaUqf.js +189 -0
  60. package/dist/html-BDmPyCbL.js +314 -0
  61. package/dist/html-BTFiH6Sw.cjs +6 -0
  62. package/dist/htmlMode-B18NiCAi.cjs +9 -0
  63. package/dist/htmlMode-BUHFgZKE.js +1587 -0
  64. package/dist/index-B5gLucco.js +113180 -0
  65. package/dist/index-BYLdWIQo.cjs +1504 -0
  66. package/dist/ini-Ct73dBtM.js +77 -0
  67. package/dist/ini-ymhBH5HG.cjs +6 -0
  68. package/dist/java-C_jlkwoG.js +238 -0
  69. package/dist/java-D4zTn_HA.cjs +6 -0
  70. package/dist/javascript-BR0mMjV4.js +76 -0
  71. package/dist/javascript-DrLpnVkz.cjs +6 -0
  72. package/dist/jsonMode-DHhRjk7d.cjs +15 -0
  73. package/dist/jsonMode-DvjeLIcS.js +2002 -0
  74. package/dist/julia-D8WE5U1e.js +517 -0
  75. package/dist/julia-Dp7_oxTx.cjs +6 -0
  76. package/dist/kotlin-DN07yPPp.cjs +6 -0
  77. package/dist/kotlin-Zy9aq5yB.js +259 -0
  78. package/dist/less-CtJmsSxx.cjs +7 -0
  79. package/dist/less-sZ0iHtE8.js +168 -0
  80. package/dist/lexon-BH122-aN.cjs +6 -0
  81. package/dist/lexon-CsdNL29A.js +163 -0
  82. package/dist/liquid-DBEv3cQo.cjs +6 -0
  83. package/dist/liquid-c8EQsxJL.js +246 -0
  84. package/dist/lua-C2YJo0zw.js +168 -0
  85. package/dist/lua-DF1giqni.cjs +6 -0
  86. package/dist/m3-BSVLgJdx.cjs +6 -0
  87. package/dist/m3-CPLP40SG.js +216 -0
  88. package/dist/markdown-B1mf5e0R.js +235 -0
  89. package/dist/markdown-DqkJT7wW.cjs +6 -0
  90. package/dist/mdx-1XKmgriI.js +171 -0
  91. package/dist/mdx-BLFumXRM.cjs +6 -0
  92. package/dist/mips-DA33BZX1.js +204 -0
  93. package/dist/mips-HcsFOvwE.cjs +6 -0
  94. package/dist/msdax-CCYFIQsP.js +381 -0
  95. package/dist/msdax-D8wkgf9t.cjs +6 -0
  96. package/dist/mysql-D1qSUjcB.cjs +6 -0
  97. package/dist/mysql-hjmIjL-D.js +884 -0
  98. package/dist/objective-c-BcY1nQEp.cjs +6 -0
  99. package/dist/objective-c-RRCpEmqC.js +189 -0
  100. package/dist/pascal-C6VID8iC.cjs +6 -0
  101. package/dist/pascal-CeV8XfxB.js +257 -0
  102. package/dist/pascaligo-CtEkUcZy.cjs +6 -0
  103. package/dist/pascaligo-IEEGVJAJ.js +170 -0
  104. package/dist/perl-B5-QbHq_.js +632 -0
  105. package/dist/perl-BS5MoSit.cjs +6 -0
  106. package/dist/pgsql-DSQqzbUN.cjs +6 -0
  107. package/dist/pgsql-s6kqEJmi.js +857 -0
  108. package/dist/php-CWWqzOo8.js +506 -0
  109. package/dist/php-Dcbv8it3.cjs +6 -0
  110. package/dist/pla-BKGu3P8x.cjs +6 -0
  111. package/dist/pla-FSvb_YP_.js +143 -0
  112. package/dist/postiats-DQdscQXO.js +913 -0
  113. package/dist/postiats-lASv8P6N.cjs +6 -0
  114. package/dist/powerquery-BuqmBiPU.cjs +6 -0
  115. package/dist/powerquery-CtA5JA1I.js +896 -0
  116. package/dist/powershell-CtRTGCOm.cjs +6 -0
  117. package/dist/powershell-DglEq96N.js +245 -0
  118. package/dist/protobuf-BSepub3e.js +426 -0
  119. package/dist/protobuf-Dk87ns3u.cjs +7 -0
  120. package/dist/pug-B1847F4G.js +408 -0
  121. package/dist/pug-CVbk24PQ.cjs +6 -0
  122. package/dist/python-CFCwn4yH.cjs +6 -0
  123. package/dist/python-kCX2MsY7.js +307 -0
  124. package/dist/qsharp-BSix4Z0w.cjs +6 -0
  125. package/dist/qsharp-D4i0Nqg9.js +307 -0
  126. package/dist/r-CSIGVqGj.cjs +6 -0
  127. package/dist/r-cdRigKxa.js +249 -0
  128. package/dist/razor-BwatS76l.cjs +6 -0
  129. package/dist/razor-CJ2-OlVm.js +556 -0
  130. package/dist/redis-1SUKo9jD.cjs +6 -0
  131. package/dist/redis-D9MFxvE8.js +308 -0
  132. package/dist/redshift-BS1FVf13.cjs +6 -0
  133. package/dist/redshift-CmCnsvL-.js +815 -0
  134. package/dist/restructuredtext-CWy8J51t.js +180 -0
  135. package/dist/restructuredtext-DU-k0-PC.cjs +6 -0
  136. package/dist/ruby-WP-c36m5.js +517 -0
  137. package/dist/ruby-aigiByO4.cjs +6 -0
  138. package/dist/rust-Q9FLdYpu.js +349 -0
  139. package/dist/rust-adCJoS28.cjs +6 -0
  140. package/dist/sb-C54-JBGT.js +121 -0
  141. package/dist/sb-CiUR99st.cjs +6 -0
  142. package/dist/scala-CzbFImc5.js +376 -0
  143. package/dist/scala-Tb5I4vBh.cjs +6 -0
  144. package/dist/scheme-BMUadJWp.cjs +6 -0
  145. package/dist/scheme-BhfDmYN3.js +114 -0
  146. package/dist/scss-BICI8Lvl.cjs +8 -0
  147. package/dist/scss-CEmiBXpS.js +268 -0
  148. package/dist/shell-BUjduzW4.cjs +6 -0
  149. package/dist/shell-Bmc1VhG0.js +227 -0
  150. package/dist/solidity-C9Q2I8Hh.js +1373 -0
  151. package/dist/solidity-DFZoFjgL.cjs +6 -0
  152. package/dist/sophia-B_a5zu_Y.cjs +6 -0
  153. package/dist/sophia-jWa1UyKz.js +205 -0
  154. package/dist/sparql-C-N2tZtn.cjs +6 -0
  155. package/dist/sparql-CM7jctbc.js +207 -0
  156. package/dist/sql-CVdEafkq.cjs +6 -0
  157. package/dist/sql-WzihTkbg.js +859 -0
  158. package/dist/st-2HB7Hiwr.cjs +6 -0
  159. package/dist/st-6y7_3aup.js +422 -0
  160. package/dist/swift-k-0zxG_D.js +318 -0
  161. package/dist/swift-xGTYXUAm.cjs +8 -0
  162. package/dist/systemverilog-BaPbkNTu.cjs +6 -0
  163. package/dist/systemverilog-Pnr5_rIP.js +582 -0
  164. package/dist/tcl-SSKta9Un.cjs +6 -0
  165. package/dist/tcl-fNPXval8.js +238 -0
  166. package/dist/tsMode-RB_vd_eb.cjs +16 -0
  167. package/dist/tsMode-Rf8OU01s.js +895 -0
  168. package/dist/twig-ByEpcNlL.cjs +6 -0
  169. package/dist/twig-L2MkztkV.js +398 -0
  170. package/dist/typescript-CV2SvKu1.cjs +6 -0
  171. package/dist/typescript-CaxFA8LZ.js +349 -0
  172. package/dist/typespec-Bxe2hBLx.cjs +6 -0
  173. package/dist/typespec-Cqqo-3Pt.js +123 -0
  174. package/dist/vb-B5YC2xN9.js +378 -0
  175. package/dist/vb-m8wPqU1B.cjs +6 -0
  176. package/dist/wgsl-B-_uRex7.js +445 -0
  177. package/dist/wgsl-CPwT7Vox.cjs +303 -0
  178. package/dist/xml-BSn2vC2Q.cjs +6 -0
  179. package/dist/xml-BYNZTm-o.js +101 -0
  180. package/dist/yaml-C7dSJq0N.cjs +6 -0
  181. package/dist/yaml-Czj6pQn5.js +212 -0
  182. package/package.json +1 -1
@@ -0,0 +1,307 @@
1
+ import { m as o } from "./index-B5gLucco.js";
2
+ /*!-----------------------------------------------------------------------------
3
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4
+ * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
5
+ * Released under the MIT license
6
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
+ *-----------------------------------------------------------------------------*/
8
+ var a = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, g = (t, e, n, s) => {
9
+ if (e && typeof e == "object" || typeof e == "function")
10
+ for (let r of p(e))
11
+ !c.call(t, r) && r !== n && a(t, r, { get: () => e[r], enumerable: !(s = l(e, r)) || s.enumerable });
12
+ return t;
13
+ }, d = (t, e, n) => (g(t, e, "default"), n), i = {};
14
+ d(i, o);
15
+ var m = {
16
+ comments: {
17
+ lineComment: "#",
18
+ blockComment: ["'''", "'''"]
19
+ },
20
+ brackets: [
21
+ ["{", "}"],
22
+ ["[", "]"],
23
+ ["(", ")"]
24
+ ],
25
+ autoClosingPairs: [
26
+ { open: "{", close: "}" },
27
+ { open: "[", close: "]" },
28
+ { open: "(", close: ")" },
29
+ { open: '"', close: '"', notIn: ["string"] },
30
+ { open: "'", close: "'", notIn: ["string", "comment"] }
31
+ ],
32
+ surroundingPairs: [
33
+ { open: "{", close: "}" },
34
+ { open: "[", close: "]" },
35
+ { open: "(", close: ")" },
36
+ { open: '"', close: '"' },
37
+ { open: "'", close: "'" }
38
+ ],
39
+ onEnterRules: [
40
+ {
41
+ beforeText: new RegExp(
42
+ "^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"
43
+ ),
44
+ action: { indentAction: i.languages.IndentAction.Indent }
45
+ }
46
+ ],
47
+ folding: {
48
+ offSide: !0,
49
+ markers: {
50
+ start: new RegExp("^\\s*#region\\b"),
51
+ end: new RegExp("^\\s*#endregion\\b")
52
+ }
53
+ }
54
+ }, f = {
55
+ defaultToken: "",
56
+ tokenPostfix: ".python",
57
+ keywords: [
58
+ // This section is the result of running
59
+ // `import keyword; for k in sorted(keyword.kwlist + keyword.softkwlist): print(" '" + k + "',")`
60
+ // in a Python REPL,
61
+ // though note that the output from Python 3 is not a strict superset of the
62
+ // output from Python 2.
63
+ "False",
64
+ // promoted to keyword.kwlist in Python 3
65
+ "None",
66
+ // promoted to keyword.kwlist in Python 3
67
+ "True",
68
+ // promoted to keyword.kwlist in Python 3
69
+ "_",
70
+ // new in Python 3.10
71
+ "and",
72
+ "as",
73
+ "assert",
74
+ "async",
75
+ // new in Python 3
76
+ "await",
77
+ // new in Python 3
78
+ "break",
79
+ "case",
80
+ // new in Python 3.10
81
+ "class",
82
+ "continue",
83
+ "def",
84
+ "del",
85
+ "elif",
86
+ "else",
87
+ "except",
88
+ "exec",
89
+ // Python 2, but not 3.
90
+ "finally",
91
+ "for",
92
+ "from",
93
+ "global",
94
+ "if",
95
+ "import",
96
+ "in",
97
+ "is",
98
+ "lambda",
99
+ "match",
100
+ // new in Python 3.10
101
+ "nonlocal",
102
+ // new in Python 3
103
+ "not",
104
+ "or",
105
+ "pass",
106
+ "print",
107
+ // Python 2, but not 3.
108
+ "raise",
109
+ "return",
110
+ "try",
111
+ "type",
112
+ // new in Python 3.12
113
+ "while",
114
+ "with",
115
+ "yield",
116
+ "int",
117
+ "float",
118
+ "long",
119
+ "complex",
120
+ "hex",
121
+ "abs",
122
+ "all",
123
+ "any",
124
+ "apply",
125
+ "basestring",
126
+ "bin",
127
+ "bool",
128
+ "buffer",
129
+ "bytearray",
130
+ "callable",
131
+ "chr",
132
+ "classmethod",
133
+ "cmp",
134
+ "coerce",
135
+ "compile",
136
+ "complex",
137
+ "delattr",
138
+ "dict",
139
+ "dir",
140
+ "divmod",
141
+ "enumerate",
142
+ "eval",
143
+ "execfile",
144
+ "file",
145
+ "filter",
146
+ "format",
147
+ "frozenset",
148
+ "getattr",
149
+ "globals",
150
+ "hasattr",
151
+ "hash",
152
+ "help",
153
+ "id",
154
+ "input",
155
+ "intern",
156
+ "isinstance",
157
+ "issubclass",
158
+ "iter",
159
+ "len",
160
+ "locals",
161
+ "list",
162
+ "map",
163
+ "max",
164
+ "memoryview",
165
+ "min",
166
+ "next",
167
+ "object",
168
+ "oct",
169
+ "open",
170
+ "ord",
171
+ "pow",
172
+ "print",
173
+ "property",
174
+ "reversed",
175
+ "range",
176
+ "raw_input",
177
+ "reduce",
178
+ "reload",
179
+ "repr",
180
+ "reversed",
181
+ "round",
182
+ "self",
183
+ "set",
184
+ "setattr",
185
+ "slice",
186
+ "sorted",
187
+ "staticmethod",
188
+ "str",
189
+ "sum",
190
+ "super",
191
+ "tuple",
192
+ "type",
193
+ "unichr",
194
+ "unicode",
195
+ "vars",
196
+ "xrange",
197
+ "zip",
198
+ "__dict__",
199
+ "__methods__",
200
+ "__members__",
201
+ "__class__",
202
+ "__bases__",
203
+ "__name__",
204
+ "__mro__",
205
+ "__subclasses__",
206
+ "__init__",
207
+ "__import__"
208
+ ],
209
+ brackets: [
210
+ { open: "{", close: "}", token: "delimiter.curly" },
211
+ { open: "[", close: "]", token: "delimiter.bracket" },
212
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
213
+ ],
214
+ tokenizer: {
215
+ root: [
216
+ { include: "@whitespace" },
217
+ { include: "@numbers" },
218
+ { include: "@strings" },
219
+ [/[,:;]/, "delimiter"],
220
+ [/[{}\[\]()]/, "@brackets"],
221
+ [/@[a-zA-Z_]\w*/, "tag"],
222
+ [
223
+ /[a-zA-Z_]\w*/,
224
+ {
225
+ cases: {
226
+ "@keywords": "keyword",
227
+ "@default": "identifier"
228
+ }
229
+ }
230
+ ]
231
+ ],
232
+ // Deal with white space, including single and multi-line comments
233
+ whitespace: [
234
+ [/\s+/, "white"],
235
+ [/(^#.*$)/, "comment"],
236
+ [/'''/, "string", "@endDocString"],
237
+ [/"""/, "string", "@endDblDocString"]
238
+ ],
239
+ endDocString: [
240
+ [/[^']+/, "string"],
241
+ [/\\'/, "string"],
242
+ [/'''/, "string", "@popall"],
243
+ [/'/, "string"]
244
+ ],
245
+ endDblDocString: [
246
+ [/[^"]+/, "string"],
247
+ [/\\"/, "string"],
248
+ [/"""/, "string", "@popall"],
249
+ [/"/, "string"]
250
+ ],
251
+ // Recognize hex, negatives, decimals, imaginaries, longs, and scientific notation
252
+ numbers: [
253
+ [/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/, "number.hex"],
254
+ [/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/, "number"]
255
+ ],
256
+ // Recognize strings, including those broken across lines with \ (but not without)
257
+ strings: [
258
+ [/'$/, "string.escape", "@popall"],
259
+ [/f'{1,3}/, "string.escape", "@fStringBody"],
260
+ [/'/, "string.escape", "@stringBody"],
261
+ [/"$/, "string.escape", "@popall"],
262
+ [/f"{1,3}/, "string.escape", "@fDblStringBody"],
263
+ [/"/, "string.escape", "@dblStringBody"]
264
+ ],
265
+ fStringBody: [
266
+ [/[^\\'\{\}]+$/, "string", "@popall"],
267
+ [/[^\\'\{\}]+/, "string"],
268
+ [/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
269
+ [/\\./, "string"],
270
+ [/'/, "string.escape", "@popall"],
271
+ [/\\$/, "string"]
272
+ ],
273
+ stringBody: [
274
+ [/[^\\']+$/, "string", "@popall"],
275
+ [/[^\\']+/, "string"],
276
+ [/\\./, "string"],
277
+ [/'/, "string.escape", "@popall"],
278
+ [/\\$/, "string"]
279
+ ],
280
+ fDblStringBody: [
281
+ [/[^\\"\{\}]+$/, "string", "@popall"],
282
+ [/[^\\"\{\}]+/, "string"],
283
+ [/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
284
+ [/\\./, "string"],
285
+ [/"/, "string.escape", "@popall"],
286
+ [/\\$/, "string"]
287
+ ],
288
+ dblStringBody: [
289
+ [/[^\\"]+$/, "string", "@popall"],
290
+ [/[^\\"]+/, "string"],
291
+ [/\\./, "string"],
292
+ [/"/, "string.escape", "@popall"],
293
+ [/\\$/, "string"]
294
+ ],
295
+ fStringDetail: [
296
+ [/[:][^}]+/, "string"],
297
+ [/[!][ars]/, "string"],
298
+ // only !a, !r, !s are supported by f-strings: https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals
299
+ [/=/, "string"],
300
+ [/\}/, "identifier", "@pop"]
301
+ ]
302
+ }
303
+ };
304
+ export {
305
+ m as conf,
306
+ f as language
307
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},t={keywords:["namespace","open","import","export","as","operation","function","body","adjoint","newtype","struct","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::",".","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],importsFollows:["import"],symbols:/[=><!~?:&|+\-*\/\^%@._]+/,escapes:/\\[\s\S]/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@importsFollows":{token:"keyword.$0",next:"@imports"},"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@builtin":"keyword","@invalidKeywords":"invalid","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],namespace:[{include:"@whitespace"},[/[A-Za-z]\w*/,"namespace"],[/[\.]/,"delimiter"],["","","@pop"]],imports:[{include:"@whitespace"},[/[A-Za-z]\w*(?=\.)/,"namespace"],[/[A-Za-z]\w*/,"identifier"],[/\*/,"wildcard"],[/[\.,]/,"delimiter"],["","","@pop"]],whitespace:[[/[ \t\r\n]+/,"white"],[/(\/\/).*/,"comment"]]}};exports.conf=e;exports.language=t;
@@ -0,0 +1,307 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ comments: {
9
+ lineComment: "//"
10
+ },
11
+ brackets: [
12
+ ["{", "}"],
13
+ ["[", "]"],
14
+ ["(", ")"]
15
+ ],
16
+ autoClosingPairs: [
17
+ { open: "{", close: "}" },
18
+ { open: "[", close: "]" },
19
+ { open: "(", close: ")" },
20
+ { open: '"', close: '"', notIn: ["string", "comment"] }
21
+ ],
22
+ surroundingPairs: [
23
+ { open: "{", close: "}" },
24
+ { open: "[", close: "]" },
25
+ { open: "(", close: ")" },
26
+ { open: '"', close: '"' }
27
+ ]
28
+ }, t = {
29
+ // Set defaultToken to invalid to see what you do not tokenize yet
30
+ keywords: [
31
+ "namespace",
32
+ "open",
33
+ "import",
34
+ "export",
35
+ "as",
36
+ "operation",
37
+ "function",
38
+ "body",
39
+ "adjoint",
40
+ "newtype",
41
+ "struct",
42
+ "controlled",
43
+ "if",
44
+ "elif",
45
+ "else",
46
+ "repeat",
47
+ "until",
48
+ "fixup",
49
+ "for",
50
+ "in",
51
+ "while",
52
+ "return",
53
+ "fail",
54
+ "within",
55
+ "apply",
56
+ "Adjoint",
57
+ "Controlled",
58
+ "Adj",
59
+ "Ctl",
60
+ "is",
61
+ "self",
62
+ "auto",
63
+ "distribute",
64
+ "invert",
65
+ "intrinsic",
66
+ "let",
67
+ "set",
68
+ "w/",
69
+ "new",
70
+ "not",
71
+ "and",
72
+ "or",
73
+ "use",
74
+ "borrow",
75
+ "using",
76
+ "borrowing",
77
+ "mutable",
78
+ "internal"
79
+ ],
80
+ typeKeywords: [
81
+ "Unit",
82
+ "Int",
83
+ "BigInt",
84
+ "Double",
85
+ "Bool",
86
+ "String",
87
+ "Qubit",
88
+ "Result",
89
+ "Pauli",
90
+ "Range"
91
+ ],
92
+ invalidKeywords: [
93
+ "abstract",
94
+ "base",
95
+ "bool",
96
+ "break",
97
+ "byte",
98
+ "case",
99
+ "catch",
100
+ "char",
101
+ "checked",
102
+ "class",
103
+ "const",
104
+ "continue",
105
+ "decimal",
106
+ "default",
107
+ "delegate",
108
+ "do",
109
+ "double",
110
+ "enum",
111
+ "event",
112
+ "explicit",
113
+ "extern",
114
+ "finally",
115
+ "fixed",
116
+ "float",
117
+ "foreach",
118
+ "goto",
119
+ "implicit",
120
+ "int",
121
+ "interface",
122
+ "lock",
123
+ "long",
124
+ "null",
125
+ "object",
126
+ "operator",
127
+ "out",
128
+ "override",
129
+ "params",
130
+ "private",
131
+ "protected",
132
+ "public",
133
+ "readonly",
134
+ "ref",
135
+ "sbyte",
136
+ "sealed",
137
+ "short",
138
+ "sizeof",
139
+ "stackalloc",
140
+ "static",
141
+ "string",
142
+ "switch",
143
+ "this",
144
+ "throw",
145
+ "try",
146
+ "typeof",
147
+ "unit",
148
+ "ulong",
149
+ "unchecked",
150
+ "unsafe",
151
+ "ushort",
152
+ "virtual",
153
+ "void",
154
+ "volatile"
155
+ ],
156
+ constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
157
+ builtin: [
158
+ "X",
159
+ "Y",
160
+ "Z",
161
+ "H",
162
+ "HY",
163
+ "S",
164
+ "T",
165
+ "SWAP",
166
+ "CNOT",
167
+ "CCNOT",
168
+ "MultiX",
169
+ "R",
170
+ "RFrac",
171
+ "Rx",
172
+ "Ry",
173
+ "Rz",
174
+ "R1",
175
+ "R1Frac",
176
+ "Exp",
177
+ "ExpFrac",
178
+ "Measure",
179
+ "M",
180
+ "MultiM",
181
+ "Message",
182
+ "Length",
183
+ "Assert",
184
+ "AssertProb",
185
+ "AssertEqual"
186
+ ],
187
+ operators: [
188
+ "and=",
189
+ "<-",
190
+ "->",
191
+ "*",
192
+ "*=",
193
+ "@",
194
+ "!",
195
+ "^",
196
+ "^=",
197
+ ":",
198
+ "::",
199
+ ".",
200
+ "..",
201
+ "==",
202
+ "...",
203
+ "=",
204
+ "=>",
205
+ ">",
206
+ ">=",
207
+ "<",
208
+ "<=",
209
+ "-",
210
+ "-=",
211
+ "!=",
212
+ "or=",
213
+ "%",
214
+ "%=",
215
+ "|",
216
+ "+",
217
+ "+=",
218
+ "?",
219
+ "/",
220
+ "/=",
221
+ "&&&",
222
+ "&&&=",
223
+ "^^^",
224
+ "^^^=",
225
+ ">>>",
226
+ ">>>=",
227
+ "<<<",
228
+ "<<<=",
229
+ "|||",
230
+ "|||=",
231
+ "~~~",
232
+ "_",
233
+ "w/",
234
+ "w/="
235
+ ],
236
+ namespaceFollows: ["namespace", "open"],
237
+ importsFollows: ["import"],
238
+ symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
239
+ escapes: /\\[\s\S]/,
240
+ // The main tokenizer for our languages
241
+ tokenizer: {
242
+ root: [
243
+ // identifiers and keywords
244
+ [
245
+ /[a-zA-Z_$][\w$]*/,
246
+ {
247
+ cases: {
248
+ "@namespaceFollows": {
249
+ token: "keyword.$0",
250
+ next: "@namespace"
251
+ },
252
+ "@importsFollows": {
253
+ token: "keyword.$0",
254
+ next: "@imports"
255
+ },
256
+ "@typeKeywords": "type",
257
+ "@keywords": "keyword",
258
+ "@constants": "constant",
259
+ "@builtin": "keyword",
260
+ "@invalidKeywords": "invalid",
261
+ "@default": "identifier"
262
+ }
263
+ }
264
+ ],
265
+ // whitespace
266
+ { include: "@whitespace" },
267
+ // delimiters and operators
268
+ [/[{}()\[\]]/, "@brackets"],
269
+ [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
270
+ // numbers
271
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
272
+ [/\d+/, "number"],
273
+ // delimiter: after number because of .\d floats
274
+ [/[;,.]/, "delimiter"],
275
+ // strings
276
+ //[/"([^"\\]|\\.)*$/, 'string.invalid' ], // non-terminated string
277
+ [/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
278
+ ],
279
+ string: [
280
+ [/[^\\"]+/, "string"],
281
+ [/@escapes/, "string.escape"],
282
+ [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
283
+ ],
284
+ namespace: [
285
+ { include: "@whitespace" },
286
+ [/[A-Za-z]\w*/, "namespace"],
287
+ [/[\.]/, "delimiter"],
288
+ ["", "", "@pop"]
289
+ ],
290
+ imports: [
291
+ { include: "@whitespace" },
292
+ [/[A-Za-z]\w*(?=\.)/, "namespace"],
293
+ [/[A-Za-z]\w*/, "identifier"],
294
+ [/\*/, "wildcard"],
295
+ [/[\.,]/, "delimiter"],
296
+ ["", "", "@pop"]
297
+ ],
298
+ whitespace: [
299
+ [/[ \t\r\n]+/, "white"],
300
+ [/(\/\/).*/, "comment"]
301
+ ]
302
+ }
303
+ };
304
+ export {
305
+ e as conf,
306
+ t as language
307
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".r",roxygen:["@alias","@aliases","@assignee","@author","@backref","@callGraph","@callGraphDepth","@callGraphPrimitives","@concept","@describeIn","@description","@details","@docType","@encoding","@evalNamespace","@evalRd","@example","@examples","@export","@exportClass","@exportMethod","@exportPattern","@family","@field","@formals","@format","@import","@importClassesFrom","@importFrom","@importMethodsFrom","@include","@inherit","@inheritDotParams","@inheritParams","@inheritSection","@keywords","@md","@method","@name","@noMd","@noRd","@note","@param","@rawNamespace","@rawRd","@rdname","@references","@return","@S3method","@section","@seealso","@setClass","@slot","@source","@template","@templateVar","@title","@TODO","@usage","@useDynLib"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'$/,"comment.doc"],[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}};exports.conf=e;exports.language=o;