@codingame/monaco-vscode-standalone-languages 23.1.0 → 23.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 (165) hide show
  1. package/index.js +48 -82
  2. package/package.json +2 -2
  3. package/_.contribution.js +0 -74
  4. package/abap/abap.contribution.js +0 -19
  5. package/abap/abap.js +0 -1406
  6. package/apex/apex.contribution.js +0 -20
  7. package/apex/apex.js +0 -338
  8. package/azcli/azcli.contribution.js +0 -19
  9. package/azcli/azcli.js +0 -76
  10. package/bat/bat.contribution.js +0 -19
  11. package/bat/bat.js +0 -108
  12. package/bicep/bicep.contribution.js +0 -19
  13. package/bicep/bicep.js +0 -117
  14. package/cameligo/cameligo.contribution.js +0 -19
  15. package/cameligo/cameligo.js +0 -182
  16. package/clojure/clojure.contribution.js +0 -19
  17. package/clojure/clojure.js +0 -769
  18. package/coffee/coffee.contribution.js +0 -20
  19. package/coffee/coffee.js +0 -240
  20. package/cpp/cpp.contribution.js +0 -29
  21. package/cpp/cpp.js +0 -397
  22. package/csharp/csharp.contribution.js +0 -19
  23. package/csharp/csharp.js +0 -334
  24. package/csp/csp.contribution.js +0 -19
  25. package/csp/csp.js +0 -61
  26. package/css/css.contribution.js +0 -20
  27. package/css/css.js +0 -193
  28. package/cypher/cypher.contribution.js +0 -19
  29. package/cypher/cypher.js +0 -271
  30. package/dart/dart.contribution.js +0 -20
  31. package/dart/dart.js +0 -289
  32. package/dockerfile/dockerfile.contribution.js +0 -20
  33. package/dockerfile/dockerfile.js +0 -138
  34. package/ecl/ecl.contribution.js +0 -19
  35. package/ecl/ecl.js +0 -464
  36. package/elixir/elixir.contribution.js +0 -19
  37. package/elixir/elixir.js +0 -577
  38. package/flow9/flow9.contribution.js +0 -19
  39. package/flow9/flow9.js +0 -150
  40. package/freemarker2/freemarker2.contribution.js +0 -73
  41. package/freemarker2/freemarker2.js +0 -1016
  42. package/fsharp/fsharp.contribution.js +0 -19
  43. package/fsharp/fsharp.js +0 -225
  44. package/go/go.contribution.js +0 -19
  45. package/go/go.js +0 -226
  46. package/graphql/graphql.contribution.js +0 -20
  47. package/graphql/graphql.js +0 -159
  48. package/handlebars/handlebars.contribution.js +0 -20
  49. package/handlebars/handlebars.js +0 -439
  50. package/hcl/hcl.contribution.js +0 -19
  51. package/hcl/hcl.js +0 -191
  52. package/html/html.contribution.js +0 -20
  53. package/html/html.js +0 -328
  54. package/ini/ini.contribution.js +0 -20
  55. package/ini/ini.js +0 -79
  56. package/java/java.contribution.js +0 -20
  57. package/java/java.js +0 -240
  58. package/javascript/javascript.contribution.js +0 -22
  59. package/javascript/javascript.js +0 -77
  60. package/julia/julia.contribution.js +0 -19
  61. package/julia/julia.js +0 -519
  62. package/kotlin/kotlin.contribution.js +0 -20
  63. package/kotlin/kotlin.js +0 -261
  64. package/less/less.contribution.js +0 -20
  65. package/less/less.js +0 -169
  66. package/lexon/lexon.contribution.js +0 -19
  67. package/lexon/lexon.js +0 -165
  68. package/liquid/liquid.contribution.js +0 -20
  69. package/liquid/liquid.js +0 -260
  70. package/lua/lua.contribution.js +0 -19
  71. package/lua/lua.js +0 -170
  72. package/m3/m3.contribution.js +0 -19
  73. package/m3/m3.js +0 -218
  74. package/markdown/markdown.contribution.js +0 -19
  75. package/markdown/markdown.js +0 -237
  76. package/mdx/mdx.contribution.js +0 -19
  77. package/mdx/mdx.js +0 -184
  78. package/mips/mips.contribution.js +0 -20
  79. package/mips/mips.js +0 -206
  80. package/msdax/msdax.contribution.js +0 -19
  81. package/msdax/msdax.js +0 -383
  82. package/mysql/mysql.contribution.js +0 -19
  83. package/mysql/mysql.js +0 -886
  84. package/objective-c/objective-c.contribution.js +0 -19
  85. package/objective-c/objective-c.js +0 -191
  86. package/pascal/pascal.contribution.js +0 -20
  87. package/pascal/pascal.js +0 -259
  88. package/pascaligo/pascaligo.contribution.js +0 -19
  89. package/pascaligo/pascaligo.js +0 -172
  90. package/perl/perl.contribution.js +0 -19
  91. package/perl/perl.js +0 -634
  92. package/pgsql/pgsql.contribution.js +0 -19
  93. package/pgsql/pgsql.js +0 -859
  94. package/php/php.contribution.js +0 -20
  95. package/php/php.js +0 -508
  96. package/pla/pla.contribution.js +0 -18
  97. package/pla/pla.js +0 -145
  98. package/postiats/postiats.contribution.js +0 -19
  99. package/postiats/postiats.js +0 -915
  100. package/powerquery/powerquery.contribution.js +0 -19
  101. package/powerquery/powerquery.js +0 -898
  102. package/powershell/powershell.contribution.js +0 -19
  103. package/powershell/powershell.js +0 -247
  104. package/protobuf/protobuf.contribution.js +0 -19
  105. package/protobuf/protobuf.js +0 -428
  106. package/pug/pug.contribution.js +0 -19
  107. package/pug/pug.js +0 -410
  108. package/python/python.contribution.js +0 -20
  109. package/python/python.js +0 -320
  110. package/qsharp/qsharp.contribution.js +0 -19
  111. package/qsharp/qsharp.js +0 -309
  112. package/r/r.contribution.js +0 -19
  113. package/r/r.js +0 -251
  114. package/razor/razor.contribution.js +0 -20
  115. package/razor/razor.js +0 -570
  116. package/redis/redis.contribution.js +0 -19
  117. package/redis/redis.js +0 -310
  118. package/redshift/redshift.contribution.js +0 -19
  119. package/redshift/redshift.js +0 -817
  120. package/restructuredtext/restructuredtext.contribution.js +0 -19
  121. package/restructuredtext/restructuredtext.js +0 -182
  122. package/ruby/ruby.contribution.js +0 -20
  123. package/ruby/ruby.js +0 -519
  124. package/rust/rust.contribution.js +0 -19
  125. package/rust/rust.js +0 -351
  126. package/sb/sb.contribution.js +0 -19
  127. package/sb/sb.js +0 -123
  128. package/scala/scala.contribution.js +0 -20
  129. package/scala/scala.js +0 -378
  130. package/scheme/scheme.contribution.js +0 -19
  131. package/scheme/scheme.js +0 -116
  132. package/scss/scss.contribution.js +0 -20
  133. package/scss/scss.js +0 -268
  134. package/shell/shell.contribution.js +0 -19
  135. package/shell/shell.js +0 -229
  136. package/solidity/solidity.contribution.js +0 -19
  137. package/solidity/solidity.js +0 -1375
  138. package/sophia/sophia.contribution.js +0 -19
  139. package/sophia/sophia.js +0 -207
  140. package/sparql/sparql.contribution.js +0 -19
  141. package/sparql/sparql.js +0 -209
  142. package/sql/sql.contribution.js +0 -19
  143. package/sql/sql.js +0 -861
  144. package/st/st.contribution.js +0 -19
  145. package/st/st.js +0 -424
  146. package/swift/swift.contribution.js +0 -20
  147. package/swift/swift.js +0 -320
  148. package/systemverilog/systemverilog.contribution.js +0 -29
  149. package/systemverilog/systemverilog.js +0 -584
  150. package/tcl/tcl.contribution.js +0 -19
  151. package/tcl/tcl.js +0 -240
  152. package/twig/twig.contribution.js +0 -20
  153. package/twig/twig.js +0 -400
  154. package/typescript/typescript.contribution.js +0 -20
  155. package/typescript/typescript.js +0 -362
  156. package/typespec/typespec.contribution.js +0 -19
  157. package/typespec/typespec.js +0 -135
  158. package/vb/vb.contribution.js +0 -19
  159. package/vb/vb.js +0 -380
  160. package/wgsl/wgsl.contribution.js +0 -19
  161. package/wgsl/wgsl.js +0 -461
  162. package/xml/xml.contribution.js +0 -39
  163. package/xml/xml.js +0 -114
  164. package/yaml/yaml.contribution.js +0 -20
  165. package/yaml/yaml.js +0 -225
@@ -1,19 +0,0 @@
1
- import { registerLanguage } from '../_.contribution.js';
2
-
3
- /*!-----------------------------------------------------------------------------
4
- * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.54.0(undefined)
6
- * Released under the MIT license
7
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
- *-----------------------------------------------------------------------------*/
9
-
10
- registerLanguage({
11
- id: "st",
12
- extensions: [".st", ".iecst", ".iecplc", ".lc3lib", ".TcPOU", ".TcDUT", ".TcGVL", ".TcIO"],
13
- aliases: ["StructuredText", "scl", "stl"],
14
- loader: () => {
15
- {
16
- return import('./st.js');
17
- }
18
- }
19
- });
package/st/st.js DELETED
@@ -1,424 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.54.0(undefined)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
-
8
-
9
- // src/basic-languages/st/st.ts
10
- var conf = {
11
- comments: {
12
- lineComment: "//",
13
- blockComment: ["(*", "*)"]
14
- },
15
- brackets: [
16
- ["{", "}"],
17
- ["[", "]"],
18
- ["(", ")"],
19
- ["var", "end_var"],
20
- ["var_input", "end_var"],
21
- ["var_output", "end_var"],
22
- ["var_in_out", "end_var"],
23
- ["var_temp", "end_var"],
24
- ["var_global", "end_var"],
25
- ["var_access", "end_var"],
26
- ["var_external", "end_var"],
27
- ["type", "end_type"],
28
- ["struct", "end_struct"],
29
- ["program", "end_program"],
30
- ["function", "end_function"],
31
- ["function_block", "end_function_block"],
32
- ["action", "end_action"],
33
- ["step", "end_step"],
34
- ["initial_step", "end_step"],
35
- ["transaction", "end_transaction"],
36
- ["configuration", "end_configuration"],
37
- ["tcp", "end_tcp"],
38
- ["recource", "end_recource"],
39
- ["channel", "end_channel"],
40
- ["library", "end_library"],
41
- ["folder", "end_folder"],
42
- ["binaries", "end_binaries"],
43
- ["includes", "end_includes"],
44
- ["sources", "end_sources"]
45
- ],
46
- autoClosingPairs: [
47
- { open: "[", close: "]" },
48
- { open: "{", close: "}" },
49
- { open: "(", close: ")" },
50
- { open: "/*", close: "*/" },
51
- { open: "'", close: "'", notIn: ["string_sq"] },
52
- { open: '"', close: '"', notIn: ["string_dq"] },
53
- { open: "var_input", close: "end_var" },
54
- { open: "var_output", close: "end_var" },
55
- { open: "var_in_out", close: "end_var" },
56
- { open: "var_temp", close: "end_var" },
57
- { open: "var_global", close: "end_var" },
58
- { open: "var_access", close: "end_var" },
59
- { open: "var_external", close: "end_var" },
60
- { open: "type", close: "end_type" },
61
- { open: "struct", close: "end_struct" },
62
- { open: "program", close: "end_program" },
63
- { open: "function", close: "end_function" },
64
- { open: "function_block", close: "end_function_block" },
65
- { open: "action", close: "end_action" },
66
- { open: "step", close: "end_step" },
67
- { open: "initial_step", close: "end_step" },
68
- { open: "transaction", close: "end_transaction" },
69
- { open: "configuration", close: "end_configuration" },
70
- { open: "tcp", close: "end_tcp" },
71
- { open: "recource", close: "end_recource" },
72
- { open: "channel", close: "end_channel" },
73
- { open: "library", close: "end_library" },
74
- { open: "folder", close: "end_folder" },
75
- { open: "binaries", close: "end_binaries" },
76
- { open: "includes", close: "end_includes" },
77
- { open: "sources", close: "end_sources" }
78
- ],
79
- surroundingPairs: [
80
- { open: "{", close: "}" },
81
- { open: "[", close: "]" },
82
- { open: "(", close: ")" },
83
- { open: '"', close: '"' },
84
- { open: "'", close: "'" },
85
- { open: "var", close: "end_var" },
86
- { open: "var_input", close: "end_var" },
87
- { open: "var_output", close: "end_var" },
88
- { open: "var_in_out", close: "end_var" },
89
- { open: "var_temp", close: "end_var" },
90
- { open: "var_global", close: "end_var" },
91
- { open: "var_access", close: "end_var" },
92
- { open: "var_external", close: "end_var" },
93
- { open: "type", close: "end_type" },
94
- { open: "struct", close: "end_struct" },
95
- { open: "program", close: "end_program" },
96
- { open: "function", close: "end_function" },
97
- { open: "function_block", close: "end_function_block" },
98
- { open: "action", close: "end_action" },
99
- { open: "step", close: "end_step" },
100
- { open: "initial_step", close: "end_step" },
101
- { open: "transaction", close: "end_transaction" },
102
- { open: "configuration", close: "end_configuration" },
103
- { open: "tcp", close: "end_tcp" },
104
- { open: "recource", close: "end_recource" },
105
- { open: "channel", close: "end_channel" },
106
- { open: "library", close: "end_library" },
107
- { open: "folder", close: "end_folder" },
108
- { open: "binaries", close: "end_binaries" },
109
- { open: "includes", close: "end_includes" },
110
- { open: "sources", close: "end_sources" }
111
- ],
112
- folding: {
113
- markers: {
114
- start: new RegExp("^\\s*#pragma\\s+region\\b"),
115
- end: new RegExp("^\\s*#pragma\\s+endregion\\b")
116
- }
117
- }
118
- };
119
- var language = {
120
- defaultToken: "",
121
- tokenPostfix: ".st",
122
- ignoreCase: true,
123
- brackets: [
124
- { token: "delimiter.curly", open: "{", close: "}" },
125
- { token: "delimiter.parenthesis", open: "(", close: ")" },
126
- { token: "delimiter.square", open: "[", close: "]" }
127
- ],
128
- keywords: [
129
- "if",
130
- "end_if",
131
- "elsif",
132
- "else",
133
- "case",
134
- "of",
135
- "to",
136
- "__try",
137
- "__catch",
138
- "__finally",
139
- "do",
140
- "with",
141
- "by",
142
- "while",
143
- "repeat",
144
- "end_while",
145
- "end_repeat",
146
- "end_case",
147
- "for",
148
- "end_for",
149
- "task",
150
- "retain",
151
- "non_retain",
152
- "constant",
153
- "with",
154
- "at",
155
- "exit",
156
- "return",
157
- "interval",
158
- "priority",
159
- "address",
160
- "port",
161
- "on_channel",
162
- "then",
163
- "iec",
164
- "file",
165
- "uses",
166
- "version",
167
- "packagetype",
168
- "displayname",
169
- "copyright",
170
- "summary",
171
- "vendor",
172
- "common_source",
173
- "from",
174
- "extends",
175
- "implements"
176
- ],
177
- constant: ["false", "true", "null"],
178
- defineKeywords: [
179
- "var",
180
- "var_input",
181
- "var_output",
182
- "var_in_out",
183
- "var_temp",
184
- "var_global",
185
- "var_access",
186
- "var_external",
187
- "end_var",
188
- "type",
189
- "end_type",
190
- "struct",
191
- "end_struct",
192
- "program",
193
- "end_program",
194
- "function",
195
- "end_function",
196
- "function_block",
197
- "end_function_block",
198
- "interface",
199
- "end_interface",
200
- "method",
201
- "end_method",
202
- "property",
203
- "end_property",
204
- "namespace",
205
- "end_namespace",
206
- "configuration",
207
- "end_configuration",
208
- "tcp",
209
- "end_tcp",
210
- "resource",
211
- "end_resource",
212
- "channel",
213
- "end_channel",
214
- "library",
215
- "end_library",
216
- "folder",
217
- "end_folder",
218
- "binaries",
219
- "end_binaries",
220
- "includes",
221
- "end_includes",
222
- "sources",
223
- "end_sources",
224
- "action",
225
- "end_action",
226
- "step",
227
- "initial_step",
228
- "end_step",
229
- "transaction",
230
- "end_transaction"
231
- ],
232
- typeKeywords: [
233
- "int",
234
- "sint",
235
- "dint",
236
- "lint",
237
- "usint",
238
- "uint",
239
- "udint",
240
- "ulint",
241
- "real",
242
- "lreal",
243
- "time",
244
- "date",
245
- "time_of_day",
246
- "date_and_time",
247
- "string",
248
- "bool",
249
- "byte",
250
- "word",
251
- "dword",
252
- "array",
253
- "pointer",
254
- "lword"
255
- ],
256
- operators: [
257
- "=",
258
- ">",
259
- "<",
260
- ":",
261
- ":=",
262
- "<=",
263
- ">=",
264
- "<>",
265
- "&",
266
- "+",
267
- "-",
268
- "*",
269
- "**",
270
- "MOD",
271
- "^",
272
- "or",
273
- "and",
274
- "not",
275
- "xor",
276
- "abs",
277
- "acos",
278
- "asin",
279
- "atan",
280
- "cos",
281
- "exp",
282
- "expt",
283
- "ln",
284
- "log",
285
- "sin",
286
- "sqrt",
287
- "tan",
288
- "sel",
289
- "max",
290
- "min",
291
- "limit",
292
- "mux",
293
- "shl",
294
- "shr",
295
- "rol",
296
- "ror",
297
- "indexof",
298
- "sizeof",
299
- "adr",
300
- "adrinst",
301
- "bitadr",
302
- "is_valid",
303
- "ref",
304
- "ref_to"
305
- ],
306
- builtinVariables: [],
307
- builtinFunctions: [
308
- "sr",
309
- "rs",
310
- "tp",
311
- "ton",
312
- "tof",
313
- "eq",
314
- "ge",
315
- "le",
316
- "lt",
317
- "ne",
318
- "round",
319
- "trunc",
320
- "ctd",
321
- "\u0441tu",
322
- "ctud",
323
- "r_trig",
324
- "f_trig",
325
- "move",
326
- "concat",
327
- "delete",
328
- "find",
329
- "insert",
330
- "left",
331
- "len",
332
- "replace",
333
- "right",
334
- "rtc"
335
- ],
336
- // we include these common regular expressions
337
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
338
- // C# style strings
339
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
340
- // The main tokenizer for our languages
341
- tokenizer: {
342
- root: [
343
- [/(\.\.)/, "delimiter"],
344
- [/\b(16#[0-9A-Fa-f\_]*)+\b/, "number.hex"],
345
- [/\b(2#[01\_]+)+\b/, "number.binary"],
346
- [/\b(8#[0-9\_]*)+\b/, "number.octal"],
347
- [/\b\d*\.\d+([eE][\-+]?\d+)?\b/, "number.float"],
348
- [/\b(L?REAL)#[0-9\_\.e]+\b/, "number.float"],
349
- [/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/, "number"],
350
- [/\d+/, "number"],
351
- [/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/, "tag"],
352
- [/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/, "tag"],
353
- [/\%(I|Q|M)[0-9\.]*/, "tag"],
354
- [/\b[A-Za-z]{1,6}#[0-9]+\b/, "tag"],
355
- [/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/, "predefined"],
356
- [/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/, "predefined"],
357
- [/[;]/, "delimiter"],
358
- [/[.]/, { token: "delimiter", next: "@params" }],
359
- // identifiers and keywords
360
- [
361
- /[a-zA-Z_]\w*/,
362
- {
363
- cases: {
364
- "@operators": "operators",
365
- "@keywords": "keyword",
366
- "@typeKeywords": "type",
367
- "@defineKeywords": "variable",
368
- "@constant": "constant",
369
- "@builtinVariables": "predefined",
370
- "@builtinFunctions": "predefined",
371
- "@default": "identifier"
372
- }
373
- }
374
- ],
375
- { include: "@whitespace" },
376
- [/[{}()\[\]]/, "@brackets"],
377
- [/"([^"\\]|\\.)*$/, "string.invalid"],
378
- // non-teminated string
379
- [/"/, { token: "string.quote", bracket: "@open", next: "@string_dq" }],
380
- [/'/, { token: "string.quote", bracket: "@open", next: "@string_sq" }],
381
- [/'[^\\']'/, "string"],
382
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
383
- [/'/, "string.invalid"]
384
- ],
385
- params: [
386
- [/\b[A-Za-z0-9_]+\b(?=\()/, { token: "identifier", next: "@pop" }],
387
- [/\b[A-Za-z0-9_]+\b/, "variable.name", "@pop"]
388
- ],
389
- comment: [
390
- [/[^\/*]+/, "comment"],
391
- [/\/\*/, "comment", "@push"],
392
- // nested comment
393
- ["\\*/", "comment", "@pop"],
394
- [/[\/*]/, "comment"]
395
- ],
396
- comment2: [
397
- [/[^\(*]+/, "comment"],
398
- [/\(\*/, "comment", "@push"],
399
- // nested comment
400
- ["\\*\\)", "comment", "@pop"],
401
- [/[\(*]/, "comment"]
402
- ],
403
- whitespace: [
404
- [/[ \t\r\n]+/, "white"],
405
- [/\/\/.*$/, "comment"],
406
- [/\/\*/, "comment", "@comment"],
407
- [/\(\*/, "comment", "@comment2"]
408
- ],
409
- string_dq: [
410
- [/[^\\"]+/, "string"],
411
- [/@escapes/, "string.escape"],
412
- [/\\./, "string.escape.invalid"],
413
- [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
414
- ],
415
- string_sq: [
416
- [/[^\\']+/, "string"],
417
- [/@escapes/, "string.escape"],
418
- [/\\./, "string.escape.invalid"],
419
- [/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
420
- ]
421
- }
422
- };
423
-
424
- export { conf, language };
@@ -1,20 +0,0 @@
1
- import { registerLanguage } from '../_.contribution.js';
2
-
3
- /*!-----------------------------------------------------------------------------
4
- * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.54.0(undefined)
6
- * Released under the MIT license
7
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
- *-----------------------------------------------------------------------------*/
9
-
10
- registerLanguage({
11
- id: "swift",
12
- aliases: ["Swift", "swift"],
13
- extensions: [".swift"],
14
- mimetypes: ["text/swift"],
15
- loader: () => {
16
- {
17
- return import('./swift.js');
18
- }
19
- }
20
- });