@milkdown/crepe 7.3.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 (241) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/lib/apl-p0IPP13W.js +76 -0
  4. package/lib/asciiarmor-lJsBxlJJ.js +34 -0
  5. package/lib/asn1-Q9v1zIy5.js +102 -0
  6. package/lib/asterisk-foNkeTjy.js +273 -0
  7. package/lib/brainfuck-0XqyXpNS.js +35 -0
  8. package/lib/clike-ak6Z6Yhe.js +639 -0
  9. package/lib/clojure-iYO8U8Sg.js +810 -0
  10. package/lib/clsx-7d8NmkQq.js +21 -0
  11. package/lib/cmake-SVzjkxV_.js +28 -0
  12. package/lib/cobol-APHEnAOX.js +74 -0
  13. package/lib/coffeescript-KqQa0SYG.js +182 -0
  14. package/lib/commonlisp-bwqNqR5V.js +79 -0
  15. package/lib/core/crepe.d.ts +21 -0
  16. package/lib/core/crepe.d.ts.map +1 -0
  17. package/lib/core/index.d.ts +3 -0
  18. package/lib/core/index.d.ts.map +1 -0
  19. package/lib/core/slice.d.ts +12 -0
  20. package/lib/core/slice.d.ts.map +1 -0
  21. package/lib/crystal-BViWuDpA.js +217 -0
  22. package/lib/css-KHXHXfXg.js +1572 -0
  23. package/lib/cypher-XpTt4zQ3.js +69 -0
  24. package/lib/d-fLig6yqY.js +139 -0
  25. package/lib/diff-WoKGLpy6.js +18 -0
  26. package/lib/dockerfile-u6f6Vw2s.js +194 -0
  27. package/lib/dtd-SIJRUW6K.js +91 -0
  28. package/lib/dylan-4HCLhpWP.js +238 -0
  29. package/lib/ebnf-h_0lged5.js +77 -0
  30. package/lib/ecl-Lf4FF0lf.js +133 -0
  31. package/lib/eiffel-qlw8KUyf.js +112 -0
  32. package/lib/elm-QRnB3zXs.js +108 -0
  33. package/lib/erlang-fyVKb7eK.js +488 -0
  34. package/lib/factor-BEeN4upY.js +65 -0
  35. package/lib/fcl-lRek3hEb.js +106 -0
  36. package/lib/feature/block-edit/handle/component.d.ts +9 -0
  37. package/lib/feature/block-edit/handle/component.d.ts.map +1 -0
  38. package/lib/feature/block-edit/handle/index.d.ts +12 -0
  39. package/lib/feature/block-edit/handle/index.d.ts.map +1 -0
  40. package/lib/feature/block-edit/index.d.ts +3 -0
  41. package/lib/feature/block-edit/index.d.ts.map +1 -0
  42. package/lib/feature/block-edit/menu/component.d.ts +14 -0
  43. package/lib/feature/block-edit/menu/component.d.ts.map +1 -0
  44. package/lib/feature/block-edit/menu/config.d.ts +21 -0
  45. package/lib/feature/block-edit/menu/config.d.ts.map +1 -0
  46. package/lib/feature/block-edit/menu/icons.d.ts +14 -0
  47. package/lib/feature/block-edit/menu/icons.d.ts.map +1 -0
  48. package/lib/feature/block-edit/menu/index.d.ts +9 -0
  49. package/lib/feature/block-edit/menu/index.d.ts.map +1 -0
  50. package/lib/feature/code-mirror/index.d.ts +3 -0
  51. package/lib/feature/code-mirror/index.d.ts.map +1 -0
  52. package/lib/feature/gap-cursor/index.d.ts +3 -0
  53. package/lib/feature/gap-cursor/index.d.ts.map +1 -0
  54. package/lib/feature/image-block/index.d.ts +3 -0
  55. package/lib/feature/image-block/index.d.ts.map +1 -0
  56. package/lib/feature/index.d.ts +18 -0
  57. package/lib/feature/index.d.ts.map +1 -0
  58. package/lib/feature/link-tooltip/consts.d.ts +5 -0
  59. package/lib/feature/link-tooltip/consts.d.ts.map +1 -0
  60. package/lib/feature/link-tooltip/index.d.ts +3 -0
  61. package/lib/feature/link-tooltip/index.d.ts.map +1 -0
  62. package/lib/feature/list-item/consts.d.ts +2 -0
  63. package/lib/feature/list-item/consts.d.ts.map +1 -0
  64. package/lib/feature/list-item/index.d.ts +3 -0
  65. package/lib/feature/list-item/index.d.ts.map +1 -0
  66. package/lib/feature/placeholder/index.d.ts +10 -0
  67. package/lib/feature/placeholder/index.d.ts.map +1 -0
  68. package/lib/feature/shared.d.ts +3 -0
  69. package/lib/feature/shared.d.ts.map +1 -0
  70. package/lib/feature/toolbar/component.d.ts +13 -0
  71. package/lib/feature/toolbar/component.d.ts.map +1 -0
  72. package/lib/feature/toolbar/consts.d.ts +5 -0
  73. package/lib/feature/toolbar/consts.d.ts.map +1 -0
  74. package/lib/feature/toolbar/index.d.ts +3 -0
  75. package/lib/feature/toolbar/index.d.ts.map +1 -0
  76. package/lib/forth-ua2bRd8T.js +60 -0
  77. package/lib/fortran-WnF7znuN.js +443 -0
  78. package/lib/gas-wowve1o7.js +183 -0
  79. package/lib/gherkin-m7GIChu3.js +34 -0
  80. package/lib/go-th443Dhb.js +158 -0
  81. package/lib/groovy-tR4RiZnc.js +161 -0
  82. package/lib/haskell-jxVBofv5.js +375 -0
  83. package/lib/haxe-kWPI2tq3.js +390 -0
  84. package/lib/hooks-82sqkbtE.js +21 -0
  85. package/lib/http-3GIFWUlG.js +45 -0
  86. package/lib/icons-HYkfuR-O.js +50 -0
  87. package/lib/idl-PvpMZg-l.js +947 -0
  88. package/lib/index-0RbcZMbq.js +8 -0
  89. package/lib/index-4afXjFMY.js +517 -0
  90. package/lib/index-7MeyepDG.js +78 -0
  91. package/lib/index-7QgQq3x3.js +551 -0
  92. package/lib/index-7pgP6qYs.js +107 -0
  93. package/lib/index-8DvtgRVa.js +19511 -0
  94. package/lib/index-8Gg-jEP4.js +288 -0
  95. package/lib/index-8S8qcncB.js +507 -0
  96. package/lib/index-9A_GmGh4.js +1039 -0
  97. package/lib/index-EJJfYLzA.js +928 -0
  98. package/lib/index-Eg39w5kL.js +984 -0
  99. package/lib/index-FIk_7oPb.js +168 -0
  100. package/lib/index-LlbrXb_n.js +368 -0
  101. package/lib/index-MovKtgMG.js +121 -0
  102. package/lib/index-N9GtIS4X.js +64 -0
  103. package/lib/index-Pwn25-kf.js +8 -0
  104. package/lib/index-SdFSDosa.js +1295 -0
  105. package/lib/index-W5Th22-Z.js +1744 -0
  106. package/lib/index-XiXSFLmI.js +20975 -0
  107. package/lib/index-bknOViGv.js +47 -0
  108. package/lib/index-bkuIUPFS.js +275 -0
  109. package/lib/index-jPA8J9Eo.js +8 -0
  110. package/lib/index-lsG76a9s.js +552 -0
  111. package/lib/index-oTRzPo3B.js +146 -0
  112. package/lib/index-rrf6_6DC.js +317 -0
  113. package/lib/index-vJbZIHYF.js +81 -0
  114. package/lib/index-vPRh55CO.js +137 -0
  115. package/lib/index-vxy63hib.js +323 -0
  116. package/lib/index-wn1_LgCS.js +99 -0
  117. package/lib/index-xHADmDT3.js +12 -0
  118. package/lib/index-yt2EpMtv.js +141 -0
  119. package/lib/index.d.ts +4 -0
  120. package/lib/index.d.ts.map +1 -0
  121. package/lib/index.es.js +7 -0
  122. package/lib/javascript-8ZHqHagw.js +758 -0
  123. package/lib/jinja2-vsOFe0qD.js +154 -0
  124. package/lib/julia-dlp_pbN1.js +241 -0
  125. package/lib/livescript-Gf5R-LT6.js +273 -0
  126. package/lib/lua-c5Y_JsBp.js +221 -0
  127. package/lib/mathematica-iiGTGmUs.js +35 -0
  128. package/lib/mbox-ZJh86H8B.js +78 -0
  129. package/lib/meta-tAGyVRPE.js +511 -0
  130. package/lib/mirc-i0qkCa0y.js +73 -0
  131. package/lib/mllike-Dy551fZW.js +275 -0
  132. package/lib/modelica-n6tGqUT9.js +94 -0
  133. package/lib/mscgen-aKSbB7D9.js +104 -0
  134. package/lib/mumps-lNiKA6sp.js +25 -0
  135. package/lib/nginx--YmuCfDj.js +93 -0
  136. package/lib/nsis-zhS8iA09.js +62 -0
  137. package/lib/ntriples-E3jQl3MC.js +79 -0
  138. package/lib/octave-EQvkGIeG.js +144 -0
  139. package/lib/oz-W2cpqFf6.js +152 -0
  140. package/lib/pascal-lCh6ouNZ.js +79 -0
  141. package/lib/perl-PxEQBX0B.js +915 -0
  142. package/lib/pig-Y_bNcrzS.js +56 -0
  143. package/lib/powershell-GaQP-TZr.js +249 -0
  144. package/lib/properties-mbRyn54L.js +26 -0
  145. package/lib/prosemirror-noTDkx-k.js +4 -0
  146. package/lib/protobuf-8CJideyJ.js +49 -0
  147. package/lib/puppet-ABBaChNZ.js +45 -0
  148. package/lib/python-sKdHg3Ka.js +321 -0
  149. package/lib/q-_1yG40Nm.js +89 -0
  150. package/lib/r-Ziz56bHT.js +108 -0
  151. package/lib/rpm-ORjGOHaQ.js +57 -0
  152. package/lib/ruby-jlbYq0dT.js +233 -0
  153. package/lib/sas-2n7xeUuO.js +107 -0
  154. package/lib/schema-tKk3m1fu.js +62 -0
  155. package/lib/scheme-XCs-NPeU.js +126 -0
  156. package/lib/shell-0_1Um7Dq.js +184 -0
  157. package/lib/sieve-7uyJD1x1.js +73 -0
  158. package/lib/simple-mode--HIzBxba.js +95 -0
  159. package/lib/smalltalk-PEFzrlQ-.js +48 -0
  160. package/lib/solr-BLBaHahN.js +41 -0
  161. package/lib/sparql-4F9ZWf1b.js +204 -0
  162. package/lib/spreadsheet-SGSo6blj.js +49 -0
  163. package/lib/sql-tebLBzN0.js +291 -0
  164. package/lib/stex-SFJcFGOO.js +130 -0
  165. package/lib/stylus-rwwWYWFm.js +256 -0
  166. package/lib/swift-eorJ0tCv.js +238 -0
  167. package/lib/tcl-IwXMB8U4.js +82 -0
  168. package/lib/textile-ok2VyjwC.js +299 -0
  169. package/lib/theme/classic/index.d.ts +3 -0
  170. package/lib/theme/classic/index.d.ts.map +1 -0
  171. package/lib/theme/classic-dark/index.d.ts +3 -0
  172. package/lib/theme/classic-dark/index.d.ts.map +1 -0
  173. package/lib/theme/headless/index.d.ts +3 -0
  174. package/lib/theme/headless/index.d.ts.map +1 -0
  175. package/lib/theme/index.d.ts +8 -0
  176. package/lib/theme/index.d.ts.map +1 -0
  177. package/lib/theme/shared.d.ts +3 -0
  178. package/lib/theme/shared.d.ts.map +1 -0
  179. package/lib/tiddlywiki-DLhz8_pc.js +156 -0
  180. package/lib/tiki-DFAqFElY.js +183 -0
  181. package/lib/tippy.esm-MZ2vxByW.js +1813 -0
  182. package/lib/toml-ryxpTZEV.js +49 -0
  183. package/lib/tooltip-plugin-gcwyQdiT.js +119 -0
  184. package/lib/troff-ZzZyvNct.js +36 -0
  185. package/lib/ttcn-6gvkqqpW.js +136 -0
  186. package/lib/ttcn-cfg-oSu-Dq5C.js +98 -0
  187. package/lib/turtle-10ofr5au.js +87 -0
  188. package/lib/use-css-light-dom-EKWZDmbJ.js +82 -0
  189. package/lib/utils/index.d.ts +4 -0
  190. package/lib/utils/index.d.ts.map +1 -0
  191. package/lib/vb-a6n6fzrD.js +74 -0
  192. package/lib/vbscript-dgvo8jPt.js +324 -0
  193. package/lib/velocity-CBncCrwO.js +97 -0
  194. package/lib/verilog-KlcACt6C.js +271 -0
  195. package/lib/vhdl-NMd7Gf35.js +117 -0
  196. package/lib/webidl-z1UE5DN_.js +160 -0
  197. package/lib/xquery-hDt5jWTp.js +431 -0
  198. package/lib/yacas-ftgh_qwr.js +74 -0
  199. package/lib/yaml-DnNTfjXK.js +53 -0
  200. package/lib/z80-dA1PqWe1.js +62 -0
  201. package/package.json +87 -0
  202. package/src/core/crepe.ts +98 -0
  203. package/src/core/index.ts +4 -0
  204. package/src/core/slice.ts +44 -0
  205. package/src/feature/block-edit/handle/component.ts +68 -0
  206. package/src/feature/block-edit/handle/index.ts +81 -0
  207. package/src/feature/block-edit/index.ts +17 -0
  208. package/src/feature/block-edit/menu/component.ts +210 -0
  209. package/src/feature/block-edit/menu/config.ts +335 -0
  210. package/src/feature/block-edit/menu/icons.ts +171 -0
  211. package/src/feature/block-edit/menu/index.ts +113 -0
  212. package/src/feature/block-edit/style.css +126 -0
  213. package/src/feature/code-mirror/index.ts +60 -0
  214. package/src/feature/code-mirror/style.css +159 -0
  215. package/src/feature/gap-cursor/index.ts +31 -0
  216. package/src/feature/image-block/index.ts +59 -0
  217. package/src/feature/image-block/style.css +215 -0
  218. package/src/feature/index.ts +66 -0
  219. package/src/feature/link-tooltip/consts.ts +47 -0
  220. package/src/feature/link-tooltip/index.ts +22 -0
  221. package/src/feature/link-tooltip/style.css +107 -0
  222. package/src/feature/list-item/consts.ts +15 -0
  223. package/src/feature/list-item/index.ts +30 -0
  224. package/src/feature/list-item/style.css +23 -0
  225. package/src/feature/placeholder/index.ts +87 -0
  226. package/src/feature/placeholder/style.css +9 -0
  227. package/src/feature/shared.ts +4 -0
  228. package/src/feature/toolbar/component.ts +101 -0
  229. package/src/feature/toolbar/consts.ts +26 -0
  230. package/src/feature/toolbar/index.ts +92 -0
  231. package/src/feature/toolbar/style.css +37 -0
  232. package/src/index.ts +5 -0
  233. package/src/theme/classic/index.ts +12 -0
  234. package/src/theme/classic/style.css +192 -0
  235. package/src/theme/classic-dark/index.ts +12 -0
  236. package/src/theme/classic-dark/style.css +197 -0
  237. package/src/theme/headless/index.ts +9 -0
  238. package/src/theme/index.ts +26 -0
  239. package/src/theme/shared.ts +4 -0
  240. package/src/utils/index.ts +12 -0
  241. package/src/vite-env.d.ts +2 -0
@@ -0,0 +1,443 @@
1
+ function r(t) {
2
+ for (var n = {}, e = 0; e < t.length; ++e)
3
+ n[t[e]] = !0;
4
+ return n;
5
+ }
6
+ var l = r([
7
+ "abstract",
8
+ "accept",
9
+ "allocatable",
10
+ "allocate",
11
+ "array",
12
+ "assign",
13
+ "asynchronous",
14
+ "backspace",
15
+ "bind",
16
+ "block",
17
+ "byte",
18
+ "call",
19
+ "case",
20
+ "class",
21
+ "close",
22
+ "common",
23
+ "contains",
24
+ "continue",
25
+ "cycle",
26
+ "data",
27
+ "deallocate",
28
+ "decode",
29
+ "deferred",
30
+ "dimension",
31
+ "do",
32
+ "elemental",
33
+ "else",
34
+ "encode",
35
+ "end",
36
+ "endif",
37
+ "entry",
38
+ "enumerator",
39
+ "equivalence",
40
+ "exit",
41
+ "external",
42
+ "extrinsic",
43
+ "final",
44
+ "forall",
45
+ "format",
46
+ "function",
47
+ "generic",
48
+ "go",
49
+ "goto",
50
+ "if",
51
+ "implicit",
52
+ "import",
53
+ "include",
54
+ "inquire",
55
+ "intent",
56
+ "interface",
57
+ "intrinsic",
58
+ "module",
59
+ "namelist",
60
+ "non_intrinsic",
61
+ "non_overridable",
62
+ "none",
63
+ "nopass",
64
+ "nullify",
65
+ "open",
66
+ "optional",
67
+ "options",
68
+ "parameter",
69
+ "pass",
70
+ "pause",
71
+ "pointer",
72
+ "print",
73
+ "private",
74
+ "program",
75
+ "protected",
76
+ "public",
77
+ "pure",
78
+ "read",
79
+ "recursive",
80
+ "result",
81
+ "return",
82
+ "rewind",
83
+ "save",
84
+ "select",
85
+ "sequence",
86
+ "stop",
87
+ "subroutine",
88
+ "target",
89
+ "then",
90
+ "to",
91
+ "type",
92
+ "use",
93
+ "value",
94
+ "volatile",
95
+ "where",
96
+ "while",
97
+ "write"
98
+ ]), s = r([
99
+ "abort",
100
+ "abs",
101
+ "access",
102
+ "achar",
103
+ "acos",
104
+ "adjustl",
105
+ "adjustr",
106
+ "aimag",
107
+ "aint",
108
+ "alarm",
109
+ "all",
110
+ "allocated",
111
+ "alog",
112
+ "amax",
113
+ "amin",
114
+ "amod",
115
+ "and",
116
+ "anint",
117
+ "any",
118
+ "asin",
119
+ "associated",
120
+ "atan",
121
+ "besj",
122
+ "besjn",
123
+ "besy",
124
+ "besyn",
125
+ "bit_size",
126
+ "btest",
127
+ "cabs",
128
+ "ccos",
129
+ "ceiling",
130
+ "cexp",
131
+ "char",
132
+ "chdir",
133
+ "chmod",
134
+ "clog",
135
+ "cmplx",
136
+ "command_argument_count",
137
+ "complex",
138
+ "conjg",
139
+ "cos",
140
+ "cosh",
141
+ "count",
142
+ "cpu_time",
143
+ "cshift",
144
+ "csin",
145
+ "csqrt",
146
+ "ctime",
147
+ "c_funloc",
148
+ "c_loc",
149
+ "c_associated",
150
+ "c_null_ptr",
151
+ "c_null_funptr",
152
+ "c_f_pointer",
153
+ "c_null_char",
154
+ "c_alert",
155
+ "c_backspace",
156
+ "c_form_feed",
157
+ "c_new_line",
158
+ "c_carriage_return",
159
+ "c_horizontal_tab",
160
+ "c_vertical_tab",
161
+ "dabs",
162
+ "dacos",
163
+ "dasin",
164
+ "datan",
165
+ "date_and_time",
166
+ "dbesj",
167
+ "dbesj",
168
+ "dbesjn",
169
+ "dbesy",
170
+ "dbesy",
171
+ "dbesyn",
172
+ "dble",
173
+ "dcos",
174
+ "dcosh",
175
+ "ddim",
176
+ "derf",
177
+ "derfc",
178
+ "dexp",
179
+ "digits",
180
+ "dim",
181
+ "dint",
182
+ "dlog",
183
+ "dlog",
184
+ "dmax",
185
+ "dmin",
186
+ "dmod",
187
+ "dnint",
188
+ "dot_product",
189
+ "dprod",
190
+ "dsign",
191
+ "dsinh",
192
+ "dsin",
193
+ "dsqrt",
194
+ "dtanh",
195
+ "dtan",
196
+ "dtime",
197
+ "eoshift",
198
+ "epsilon",
199
+ "erf",
200
+ "erfc",
201
+ "etime",
202
+ "exit",
203
+ "exp",
204
+ "exponent",
205
+ "extends_type_of",
206
+ "fdate",
207
+ "fget",
208
+ "fgetc",
209
+ "float",
210
+ "floor",
211
+ "flush",
212
+ "fnum",
213
+ "fputc",
214
+ "fput",
215
+ "fraction",
216
+ "fseek",
217
+ "fstat",
218
+ "ftell",
219
+ "gerror",
220
+ "getarg",
221
+ "get_command",
222
+ "get_command_argument",
223
+ "get_environment_variable",
224
+ "getcwd",
225
+ "getenv",
226
+ "getgid",
227
+ "getlog",
228
+ "getpid",
229
+ "getuid",
230
+ "gmtime",
231
+ "hostnm",
232
+ "huge",
233
+ "iabs",
234
+ "iachar",
235
+ "iand",
236
+ "iargc",
237
+ "ibclr",
238
+ "ibits",
239
+ "ibset",
240
+ "ichar",
241
+ "idate",
242
+ "idim",
243
+ "idint",
244
+ "idnint",
245
+ "ieor",
246
+ "ierrno",
247
+ "ifix",
248
+ "imag",
249
+ "imagpart",
250
+ "index",
251
+ "int",
252
+ "ior",
253
+ "irand",
254
+ "isatty",
255
+ "ishft",
256
+ "ishftc",
257
+ "isign",
258
+ "iso_c_binding",
259
+ "is_iostat_end",
260
+ "is_iostat_eor",
261
+ "itime",
262
+ "kill",
263
+ "kind",
264
+ "lbound",
265
+ "len",
266
+ "len_trim",
267
+ "lge",
268
+ "lgt",
269
+ "link",
270
+ "lle",
271
+ "llt",
272
+ "lnblnk",
273
+ "loc",
274
+ "log",
275
+ "logical",
276
+ "long",
277
+ "lshift",
278
+ "lstat",
279
+ "ltime",
280
+ "matmul",
281
+ "max",
282
+ "maxexponent",
283
+ "maxloc",
284
+ "maxval",
285
+ "mclock",
286
+ "merge",
287
+ "move_alloc",
288
+ "min",
289
+ "minexponent",
290
+ "minloc",
291
+ "minval",
292
+ "mod",
293
+ "modulo",
294
+ "mvbits",
295
+ "nearest",
296
+ "new_line",
297
+ "nint",
298
+ "not",
299
+ "or",
300
+ "pack",
301
+ "perror",
302
+ "precision",
303
+ "present",
304
+ "product",
305
+ "radix",
306
+ "rand",
307
+ "random_number",
308
+ "random_seed",
309
+ "range",
310
+ "real",
311
+ "realpart",
312
+ "rename",
313
+ "repeat",
314
+ "reshape",
315
+ "rrspacing",
316
+ "rshift",
317
+ "same_type_as",
318
+ "scale",
319
+ "scan",
320
+ "second",
321
+ "selected_int_kind",
322
+ "selected_real_kind",
323
+ "set_exponent",
324
+ "shape",
325
+ "short",
326
+ "sign",
327
+ "signal",
328
+ "sinh",
329
+ "sin",
330
+ "sleep",
331
+ "sngl",
332
+ "spacing",
333
+ "spread",
334
+ "sqrt",
335
+ "srand",
336
+ "stat",
337
+ "sum",
338
+ "symlnk",
339
+ "system",
340
+ "system_clock",
341
+ "tan",
342
+ "tanh",
343
+ "time",
344
+ "tiny",
345
+ "transfer",
346
+ "transpose",
347
+ "trim",
348
+ "ttynam",
349
+ "ubound",
350
+ "umask",
351
+ "unlink",
352
+ "unpack",
353
+ "verify",
354
+ "xor",
355
+ "zabs",
356
+ "zcos",
357
+ "zexp",
358
+ "zlog",
359
+ "zsin",
360
+ "zsqrt"
361
+ ]), d = r([
362
+ "c_bool",
363
+ "c_char",
364
+ "c_double",
365
+ "c_double_complex",
366
+ "c_float",
367
+ "c_float_complex",
368
+ "c_funptr",
369
+ "c_int",
370
+ "c_int16_t",
371
+ "c_int32_t",
372
+ "c_int64_t",
373
+ "c_int8_t",
374
+ "c_int_fast16_t",
375
+ "c_int_fast32_t",
376
+ "c_int_fast64_t",
377
+ "c_int_fast8_t",
378
+ "c_int_least16_t",
379
+ "c_int_least32_t",
380
+ "c_int_least64_t",
381
+ "c_int_least8_t",
382
+ "c_intmax_t",
383
+ "c_intptr_t",
384
+ "c_long",
385
+ "c_long_double",
386
+ "c_long_double_complex",
387
+ "c_long_long",
388
+ "c_ptr",
389
+ "c_short",
390
+ "c_signed_char",
391
+ "c_size_t",
392
+ "character",
393
+ "complex",
394
+ "double",
395
+ "integer",
396
+ "logical",
397
+ "real"
398
+ ]), c = /[+\-*&=<>\/\:]/, _ = /^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;
399
+ function u(t, n) {
400
+ if (t.match(_))
401
+ return "operator";
402
+ var e = t.next();
403
+ if (e == "!")
404
+ return t.skipToEnd(), "comment";
405
+ if (e == '"' || e == "'")
406
+ return n.tokenize = m(e), n.tokenize(t, n);
407
+ if (/[\[\]\(\),]/.test(e))
408
+ return null;
409
+ if (/\d/.test(e))
410
+ return t.eatWhile(/[\w\.]/), "number";
411
+ if (c.test(e))
412
+ return t.eatWhile(c), "operator";
413
+ t.eatWhile(/[\w\$_]/);
414
+ var i = t.current().toLowerCase();
415
+ return l.hasOwnProperty(i) ? "keyword" : s.hasOwnProperty(i) || d.hasOwnProperty(i) ? "builtin" : "variable";
416
+ }
417
+ function m(t) {
418
+ return function(n, e) {
419
+ for (var i = !1, a, o = !1; (a = n.next()) != null; ) {
420
+ if (a == t && !i) {
421
+ o = !0;
422
+ break;
423
+ }
424
+ i = !i && a == "\\";
425
+ }
426
+ return (o || !i) && (e.tokenize = null), "string";
427
+ };
428
+ }
429
+ const p = {
430
+ name: "fortran",
431
+ startState: function() {
432
+ return { tokenize: null };
433
+ },
434
+ token: function(t, n) {
435
+ if (t.eatSpace())
436
+ return null;
437
+ var e = (n.tokenize || u)(t, n);
438
+ return e == "comment" || e == "meta", e;
439
+ }
440
+ };
441
+ export {
442
+ p as fortran
443
+ };
@@ -0,0 +1,183 @@
1
+ function v(r) {
2
+ var u = [], b = "", o = {
3
+ ".abort": "builtin",
4
+ ".align": "builtin",
5
+ ".altmacro": "builtin",
6
+ ".ascii": "builtin",
7
+ ".asciz": "builtin",
8
+ ".balign": "builtin",
9
+ ".balignw": "builtin",
10
+ ".balignl": "builtin",
11
+ ".bundle_align_mode": "builtin",
12
+ ".bundle_lock": "builtin",
13
+ ".bundle_unlock": "builtin",
14
+ ".byte": "builtin",
15
+ ".cfi_startproc": "builtin",
16
+ ".comm": "builtin",
17
+ ".data": "builtin",
18
+ ".def": "builtin",
19
+ ".desc": "builtin",
20
+ ".dim": "builtin",
21
+ ".double": "builtin",
22
+ ".eject": "builtin",
23
+ ".else": "builtin",
24
+ ".elseif": "builtin",
25
+ ".end": "builtin",
26
+ ".endef": "builtin",
27
+ ".endfunc": "builtin",
28
+ ".endif": "builtin",
29
+ ".equ": "builtin",
30
+ ".equiv": "builtin",
31
+ ".eqv": "builtin",
32
+ ".err": "builtin",
33
+ ".error": "builtin",
34
+ ".exitm": "builtin",
35
+ ".extern": "builtin",
36
+ ".fail": "builtin",
37
+ ".file": "builtin",
38
+ ".fill": "builtin",
39
+ ".float": "builtin",
40
+ ".func": "builtin",
41
+ ".global": "builtin",
42
+ ".gnu_attribute": "builtin",
43
+ ".hidden": "builtin",
44
+ ".hword": "builtin",
45
+ ".ident": "builtin",
46
+ ".if": "builtin",
47
+ ".incbin": "builtin",
48
+ ".include": "builtin",
49
+ ".int": "builtin",
50
+ ".internal": "builtin",
51
+ ".irp": "builtin",
52
+ ".irpc": "builtin",
53
+ ".lcomm": "builtin",
54
+ ".lflags": "builtin",
55
+ ".line": "builtin",
56
+ ".linkonce": "builtin",
57
+ ".list": "builtin",
58
+ ".ln": "builtin",
59
+ ".loc": "builtin",
60
+ ".loc_mark_labels": "builtin",
61
+ ".local": "builtin",
62
+ ".long": "builtin",
63
+ ".macro": "builtin",
64
+ ".mri": "builtin",
65
+ ".noaltmacro": "builtin",
66
+ ".nolist": "builtin",
67
+ ".octa": "builtin",
68
+ ".offset": "builtin",
69
+ ".org": "builtin",
70
+ ".p2align": "builtin",
71
+ ".popsection": "builtin",
72
+ ".previous": "builtin",
73
+ ".print": "builtin",
74
+ ".protected": "builtin",
75
+ ".psize": "builtin",
76
+ ".purgem": "builtin",
77
+ ".pushsection": "builtin",
78
+ ".quad": "builtin",
79
+ ".reloc": "builtin",
80
+ ".rept": "builtin",
81
+ ".sbttl": "builtin",
82
+ ".scl": "builtin",
83
+ ".section": "builtin",
84
+ ".set": "builtin",
85
+ ".short": "builtin",
86
+ ".single": "builtin",
87
+ ".size": "builtin",
88
+ ".skip": "builtin",
89
+ ".sleb128": "builtin",
90
+ ".space": "builtin",
91
+ ".stab": "builtin",
92
+ ".string": "builtin",
93
+ ".struct": "builtin",
94
+ ".subsection": "builtin",
95
+ ".symver": "builtin",
96
+ ".tag": "builtin",
97
+ ".text": "builtin",
98
+ ".title": "builtin",
99
+ ".type": "builtin",
100
+ ".uleb128": "builtin",
101
+ ".val": "builtin",
102
+ ".version": "builtin",
103
+ ".vtable_entry": "builtin",
104
+ ".vtable_inherit": "builtin",
105
+ ".warning": "builtin",
106
+ ".weak": "builtin",
107
+ ".weakref": "builtin",
108
+ ".word": "builtin"
109
+ }, i = {};
110
+ function p() {
111
+ b = "#", i.al = "variable", i.ah = "variable", i.ax = "variable", i.eax = "variableName.special", i.rax = "variableName.special", i.bl = "variable", i.bh = "variable", i.bx = "variable", i.ebx = "variableName.special", i.rbx = "variableName.special", i.cl = "variable", i.ch = "variable", i.cx = "variable", i.ecx = "variableName.special", i.rcx = "variableName.special", i.dl = "variable", i.dh = "variable", i.dx = "variable", i.edx = "variableName.special", i.rdx = "variableName.special", i.si = "variable", i.esi = "variableName.special", i.rsi = "variableName.special", i.di = "variable", i.edi = "variableName.special", i.rdi = "variableName.special", i.sp = "variable", i.esp = "variableName.special", i.rsp = "variableName.special", i.bp = "variable", i.ebp = "variableName.special", i.rbp = "variableName.special", i.ip = "variable", i.eip = "variableName.special", i.rip = "variableName.special", i.cs = "keyword", i.ds = "keyword", i.ss = "keyword", i.es = "keyword", i.fs = "keyword", i.gs = "keyword";
112
+ }
113
+ function f() {
114
+ b = "@", o.syntax = "builtin", i.r0 = "variable", i.r1 = "variable", i.r2 = "variable", i.r3 = "variable", i.r4 = "variable", i.r5 = "variable", i.r6 = "variable", i.r7 = "variable", i.r8 = "variable", i.r9 = "variable", i.r10 = "variable", i.r11 = "variable", i.r12 = "variable", i.sp = "variableName.special", i.lr = "variableName.special", i.pc = "variableName.special", i.r13 = i.sp, i.r14 = i.lr, i.r15 = i.pc, u.push(function(l, n) {
115
+ if (l === "#")
116
+ return n.eatWhile(/\w/), "number";
117
+ });
118
+ }
119
+ r === "x86" ? p() : (r === "arm" || r === "armv6") && f();
120
+ function d(l, n) {
121
+ for (var e = !1, a; (a = l.next()) != null; ) {
122
+ if (a === n && !e)
123
+ return !1;
124
+ e = !e && a === "\\";
125
+ }
126
+ return e;
127
+ }
128
+ function s(l, n) {
129
+ for (var e = !1, a; (a = l.next()) != null; ) {
130
+ if (a === "/" && e) {
131
+ n.tokenize = null;
132
+ break;
133
+ }
134
+ e = a === "*";
135
+ }
136
+ return "comment";
137
+ }
138
+ return {
139
+ name: "gas",
140
+ startState: function() {
141
+ return {
142
+ tokenize: null
143
+ };
144
+ },
145
+ token: function(l, n) {
146
+ if (n.tokenize)
147
+ return n.tokenize(l, n);
148
+ if (l.eatSpace())
149
+ return null;
150
+ var e, a, t = l.next();
151
+ if (t === "/" && l.eat("*"))
152
+ return n.tokenize = s, s(l, n);
153
+ if (t === b)
154
+ return l.skipToEnd(), "comment";
155
+ if (t === '"')
156
+ return d(l, '"'), "string";
157
+ if (t === ".")
158
+ return l.eatWhile(/\w/), a = l.current().toLowerCase(), e = o[a], e || null;
159
+ if (t === "=")
160
+ return l.eatWhile(/\w/), "tag";
161
+ if (t === "{" || t === "}")
162
+ return "bracket";
163
+ if (/\d/.test(t))
164
+ return t === "0" && l.eat("x") ? (l.eatWhile(/[0-9a-fA-F]/), "number") : (l.eatWhile(/\d/), "number");
165
+ if (/\w/.test(t))
166
+ return l.eatWhile(/\w/), l.eat(":") ? "tag" : (a = l.current().toLowerCase(), e = i[a], e || null);
167
+ for (var c = 0; c < u.length; c++)
168
+ if (e = u[c](t, l, n), e)
169
+ return e;
170
+ },
171
+ languageData: {
172
+ commentTokens: {
173
+ line: b,
174
+ block: { open: "/*", close: "*/" }
175
+ }
176
+ }
177
+ };
178
+ }
179
+ const m = v("x86"), g = v("arm");
180
+ export {
181
+ m as gas,
182
+ g as gasArm
183
+ };
@@ -0,0 +1,34 @@
1
+ const a = {
2
+ name: "gherkin",
3
+ startState: function() {
4
+ return {
5
+ lineNumber: 0,
6
+ tableHeaderLine: !1,
7
+ allowFeature: !0,
8
+ allowBackground: !1,
9
+ allowScenario: !1,
10
+ allowSteps: !1,
11
+ allowPlaceholders: !1,
12
+ allowMultilineArgument: !1,
13
+ inMultilineString: !1,
14
+ inMultilineTable: !1,
15
+ inKeywordLine: !1
16
+ };
17
+ },
18
+ token: function(n, e) {
19
+ if (n.sol() && (e.lineNumber++, e.inKeywordLine = !1, e.inMultilineTable && (e.tableHeaderLine = !1, n.match(/\s*\|/, !1) || (e.allowMultilineArgument = !1, e.inMultilineTable = !1))), n.eatSpace(), e.allowMultilineArgument) {
20
+ if (e.inMultilineString)
21
+ return n.match('"""') ? (e.inMultilineString = !1, e.allowMultilineArgument = !1) : n.match(/.*/), "string";
22
+ if (e.inMultilineTable)
23
+ return n.match(/\|\s*/) ? "bracket" : (n.match(/[^\|]*/), e.tableHeaderLine ? "header" : "string");
24
+ if (n.match('"""'))
25
+ return e.inMultilineString = !0, "string";
26
+ if (n.match("|"))
27
+ return e.inMultilineTable = !0, e.tableHeaderLine = !0, "bracket";
28
+ }
29
+ return n.match(/#.*/) ? "comment" : !e.inKeywordLine && n.match(/@\S+/) ? "tag" : !e.inKeywordLine && e.allowFeature && n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/) ? (e.allowScenario = !0, e.allowBackground = !0, e.allowPlaceholders = !1, e.allowSteps = !1, e.allowMultilineArgument = !1, e.inKeywordLine = !0, "keyword") : !e.inKeywordLine && e.allowBackground && n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/) ? (e.allowPlaceholders = !1, e.allowSteps = !0, e.allowBackground = !1, e.allowMultilineArgument = !1, e.inKeywordLine = !0, "keyword") : !e.inKeywordLine && e.allowScenario && n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/) ? (e.allowPlaceholders = !0, e.allowSteps = !0, e.allowMultilineArgument = !1, e.inKeywordLine = !0, "keyword") : e.allowScenario && n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/) ? (e.allowPlaceholders = !1, e.allowSteps = !0, e.allowBackground = !1, e.allowMultilineArgument = !0, "keyword") : !e.inKeywordLine && e.allowScenario && n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/) ? (e.allowPlaceholders = !1, e.allowSteps = !0, e.allowBackground = !1, e.allowMultilineArgument = !1, e.inKeywordLine = !0, "keyword") : !e.inKeywordLine && e.allowSteps && n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/) ? (e.inStep = !0, e.allowPlaceholders = !0, e.allowMultilineArgument = !0, e.inKeywordLine = !0, "keyword") : n.match(/"[^"]*"?/) ? "string" : e.allowPlaceholders && n.match(/<[^>]*>?/) ? "variable" : (n.next(), n.eatWhile(/[^@"<#]/), null);
30
+ }
31
+ };
32
+ export {
33
+ a as gherkin
34
+ };