editor.md-next 0.0.0-stage → 0.1.1
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.
- package/LICENSE +32 -0
- package/dist/cdn/editormd-next.min.js +96 -0
- package/dist/cdn/index.css +2 -0
- package/dist/es/chunks/apl-BsW9fB9B.js +74 -0
- package/dist/es/chunks/asciiarmor-CZm6RLC5.js +30 -0
- package/dist/es/chunks/asn1-DBNYSAs9.js +86 -0
- package/dist/es/chunks/asterisk-XIYTp-BQ.js +63 -0
- package/dist/es/chunks/brainfuck-C03PadMX.js +26 -0
- package/dist/es/chunks/clike-QWVxZJBi.js +583 -0
- package/dist/es/chunks/clojure-DT_PY7rc.js +98 -0
- package/dist/es/chunks/cmake-DsoLxE-D.js +27 -0
- package/dist/es/chunks/cobol-CZjCUlI-.js +59 -0
- package/dist/es/chunks/coffeescript-CuHwxkgS.js +174 -0
- package/dist/es/chunks/commonlisp-CGpKWWCQ.js +90 -0
- package/dist/es/chunks/crystal-BH2tBqmL.js +159 -0
- package/dist/es/chunks/css-C6pN9rmb.js +314 -0
- package/dist/es/chunks/cypher-DknS4f0k.js +66 -0
- package/dist/es/chunks/d-zXrED2QC.js +121 -0
- package/dist/es/chunks/diff-Ca3g43eR.js +15 -0
- package/dist/es/chunks/dist-9Y-Blrkp.js +118 -0
- package/dist/es/chunks/dist-B0cBTTiS.js +408 -0
- package/dist/es/chunks/dist-BX9Ur1J1.js +74 -0
- package/dist/es/chunks/dist-BmAxhg3z.js +555 -0
- package/dist/es/chunks/dist-C6c_aHTh.js +269 -0
- package/dist/es/chunks/dist-CGdw3vqm.js +429 -0
- package/dist/es/chunks/dist-CNbWaVYs.js +11572 -0
- package/dist/es/chunks/dist-CR-jmTSB.js +1338 -0
- package/dist/es/chunks/dist-CahNaXTc.js +388 -0
- package/dist/es/chunks/dist-CeqtAM8-.js +438 -0
- package/dist/es/chunks/dist-Clo-Jkvm.js +291 -0
- package/dist/es/chunks/dist-Cpw9AD2K.js +372 -0
- package/dist/es/chunks/dist-Ct5FNAAH.js +406 -0
- package/dist/es/chunks/dist-D0OW86fR.js +605 -0
- package/dist/es/chunks/dist-DAlgXLzd.js +110 -0
- package/dist/es/chunks/dist-DL-UifMi.js +744 -0
- package/dist/es/chunks/dist-DQadNG25.js +523 -0
- package/dist/es/chunks/dist-DlAXkWGE.js +67 -0
- package/dist/es/chunks/dist-DoThxrrR.js +371 -0
- package/dist/es/chunks/dist-DrwgGib-.js +377 -0
- package/dist/es/chunks/dist-P5rAF7pi.js +197 -0
- package/dist/es/chunks/dist-fTCYxiV-.js +355 -0
- package/dist/es/chunks/dockerfile-BZSDl6MT.js +196 -0
- package/dist/es/chunks/dtd-DzUNfrcJ.js +77 -0
- package/dist/es/chunks/dylan-CFjlscB1.js +186 -0
- package/dist/es/chunks/ebnf-Vn9hWL1o.js +67 -0
- package/dist/es/chunks/ecl-CbjLeBF5.js +105 -0
- package/dist/es/chunks/eiffel-Dmm3m78y.js +49 -0
- package/dist/es/chunks/elm-CSe2F7PE.js +85 -0
- package/dist/es/chunks/erlang-D6YOoBpM.js +321 -0
- package/dist/es/chunks/factor-DAqyQvq1.js +165 -0
- package/dist/es/chunks/fcl-BZA_wXmw.js +99 -0
- package/dist/es/chunks/forth-MNc4axOK.js +45 -0
- package/dist/es/chunks/fortran-auI4bdzC.js +40 -0
- package/dist/es/chunks/gas-CZDp8wLI.js +167 -0
- package/dist/es/chunks/gherkin-B12NX28O.js +29 -0
- package/dist/es/chunks/groovy-CBShT4in.js +143 -0
- package/dist/es/chunks/haskell-DQf5nq2l.js +85 -0
- package/dist/es/chunks/haxe-CBKywepX.js +351 -0
- package/dist/es/chunks/http-B-vrcJu5.js +43 -0
- package/dist/es/chunks/idl-kztl-rIS.js +41 -0
- package/dist/es/chunks/javascript-COVyUmNV.js +636 -0
- package/dist/es/chunks/julia-C7x1UmUy.js +173 -0
- package/dist/es/chunks/livescript-BcSQznfC.js +250 -0
- package/dist/es/chunks/lua-CuzOmeFy.js +104 -0
- package/dist/es/chunks/mathematica-C_8O0eBN.js +37 -0
- package/dist/es/chunks/mbox-CgRq7o1s.js +65 -0
- package/dist/es/chunks/mirc-46fAnY_I.js +61 -0
- package/dist/es/chunks/mllike-DwngWEOH.js +260 -0
- package/dist/es/chunks/modelica-CLh6SOPZ.js +82 -0
- package/dist/es/chunks/mscgen-CqCKoWqr.js +287 -0
- package/dist/es/chunks/mumps-CTaGGpGh.js +24 -0
- package/dist/es/chunks/nginx-D8_Tx5a5.js +76 -0
- package/dist/es/chunks/nsis-LQ_3myBa.js +143 -0
- package/dist/es/chunks/ntriples-C8_f-qnr.js +76 -0
- package/dist/es/chunks/octave-Bg8pIvq8.js +40 -0
- package/dist/es/chunks/oz-fY6iPhaV.js +151 -0
- package/dist/es/chunks/pascal-yJGuSy92.js +66 -0
- package/dist/es/chunks/perl-Cp3_dIJp.js +626 -0
- package/dist/es/chunks/pig-Dp8CFFHM.js +49 -0
- package/dist/es/chunks/powershell-CFKKqebC.js +233 -0
- package/dist/es/chunks/properties-bVaZpKhj.js +19 -0
- package/dist/es/chunks/protobuf-CJ_NuiRp.js +14 -0
- package/dist/es/chunks/pug-CNVrzrF7.js +202 -0
- package/dist/es/chunks/puppet-DFrFlsRb.js +37 -0
- package/dist/es/chunks/python-DDOdLHWp.js +219 -0
- package/dist/es/chunks/q-CfAEY3XK.js +82 -0
- package/dist/es/chunks/r-D33f5qKA.js +133 -0
- package/dist/es/chunks/rolldown-runtime-QGRDbDUS.js +19 -0
- package/dist/es/chunks/rpm-KA2CbYVz.js +39 -0
- package/dist/es/chunks/ruby-DkaeL5UR.js +165 -0
- package/dist/es/chunks/sas-BMhoxqFi.js +73 -0
- package/dist/es/chunks/scheme-DiiFnhTV.js +116 -0
- package/dist/es/chunks/shell-BkraTAet.js +108 -0
- package/dist/es/chunks/sieve-CO0RsW8J.js +59 -0
- package/dist/es/chunks/simple-mode-DwMrk-pB.js +95 -0
- package/dist/es/chunks/smalltalk-susA3LoJ.js +43 -0
- package/dist/es/chunks/solr-Dyiozr6d.js +36 -0
- package/dist/es/chunks/sparql-svcWfrig.js +78 -0
- package/dist/es/chunks/spreadsheet-D64TPnFY.js +48 -0
- package/dist/es/chunks/sql-iy-in7fW.js +254 -0
- package/dist/es/chunks/stex-CK4iWXBq.js +108 -0
- package/dist/es/chunks/stylus-Bla1TtoF.js +281 -0
- package/dist/es/chunks/swift-BfLWtovc.js +158 -0
- package/dist/es/chunks/tcl-Cqsx32oK.js +71 -0
- package/dist/es/chunks/textile-CP9LptjR.js +215 -0
- package/dist/es/chunks/tiddlywiki-Ta-GM0jK.js +129 -0
- package/dist/es/chunks/tiki-CX4cONcl.js +160 -0
- package/dist/es/chunks/toml-BvD52WqI.js +27 -0
- package/dist/es/chunks/troff-CQ9EHWHs.js +29 -0
- package/dist/es/chunks/ttcn-DvhS_Gkc.js +117 -0
- package/dist/es/chunks/ttcn-cfg-GQi0YvSM.js +80 -0
- package/dist/es/chunks/turtle-VdGQLPpt.js +78 -0
- package/dist/es/chunks/vb-CPJS1Nrj.js +108 -0
- package/dist/es/chunks/vbscript-DEYreBb1.js +208 -0
- package/dist/es/chunks/velocity-BzjrTOAF.js +89 -0
- package/dist/es/chunks/verilog-Bc3Yq1WU.js +218 -0
- package/dist/es/chunks/vhdl-BD6jHQjr.js +102 -0
- package/dist/es/chunks/webidl-C5YO-ffA.js +102 -0
- package/dist/es/chunks/xquery-ugZJVSaq.js +204 -0
- package/dist/es/chunks/yacas-tAOeQ6Ok.js +72 -0
- package/dist/es/chunks/z80-DZa7RpgS.js +43 -0
- package/dist/es/index.js +19829 -0
- package/dist/iife/index.iife.js +96 -0
- package/dist/index.css +2 -0
- package/dist/types/cm/create-view.d.ts +19 -0
- package/dist/types/cm/create-view.d.ts.map +1 -0
- package/dist/types/cm/shortcuts.d.ts +11 -0
- package/dist/types/cm/shortcuts.d.ts.map +1 -0
- package/dist/types/cm/themes.d.ts +24 -0
- package/dist/types/cm/themes.d.ts.map +1 -0
- package/dist/types/cm/themes.test.d.ts +2 -0
- package/dist/types/cm/themes.test.d.ts.map +1 -0
- package/dist/types/defaults.d.ts +5 -0
- package/dist/types/defaults.d.ts.map +1 -0
- package/dist/types/dialogs/code.d.ts +5 -0
- package/dist/types/dialogs/code.d.ts.map +1 -0
- package/dist/types/dialogs/data/html-entities-data.d.ts +9 -0
- package/dist/types/dialogs/data/html-entities-data.d.ts.map +1 -0
- package/dist/types/dialogs/dialog.d.ts +37 -0
- package/dist/types/dialogs/dialog.d.ts.map +1 -0
- package/dist/types/dialogs/emoji.d.ts +4 -0
- package/dist/types/dialogs/emoji.d.ts.map +1 -0
- package/dist/types/dialogs/entities.d.ts +4 -0
- package/dist/types/dialogs/entities.d.ts.map +1 -0
- package/dist/types/dialogs/form.d.ts +12 -0
- package/dist/types/dialogs/form.d.ts.map +1 -0
- package/dist/types/dialogs/image.d.ts +4 -0
- package/dist/types/dialogs/image.d.ts.map +1 -0
- package/dist/types/dialogs/link.d.ts +6 -0
- package/dist/types/dialogs/link.d.ts.map +1 -0
- package/dist/types/dialogs/misc.d.ts +6 -0
- package/dist/types/dialogs/misc.d.ts.map +1 -0
- package/dist/types/dialogs/registry.d.ts +8 -0
- package/dist/types/dialogs/registry.d.ts.map +1 -0
- package/dist/types/dialogs/table.d.ts +4 -0
- package/dist/types/dialogs/table.d.ts.map +1 -0
- package/dist/types/editor.d.ts +105 -0
- package/dist/types/editor.d.ts.map +1 -0
- package/dist/types/features/paste-drop.d.ts +4 -0
- package/dist/types/features/paste-drop.d.ts.map +1 -0
- package/dist/types/features/view-modes.d.ts +8 -0
- package/dist/types/features/view-modes.d.ts.map +1 -0
- package/dist/types/i18n/en.d.ts +3 -0
- package/dist/types/i18n/en.d.ts.map +1 -0
- package/dist/types/i18n/index.d.ts +9 -0
- package/dist/types/i18n/index.d.ts.map +1 -0
- package/dist/types/i18n/zh-cn.d.ts +3 -0
- package/dist/types/i18n/zh-cn.d.ts.map +1 -0
- package/dist/types/i18n/zh-tw.d.ts +3 -0
- package/dist/types/i18n/zh-tw.d.ts.map +1 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lifecycle/layout.d.ts +11 -0
- package/dist/types/lifecycle/layout.d.ts.map +1 -0
- package/dist/types/lifecycle/mount.d.ts +12 -0
- package/dist/types/lifecycle/mount.d.ts.map +1 -0
- package/dist/types/markdown/cdn-lazy.d.ts +49 -0
- package/dist/types/markdown/cdn-lazy.d.ts.map +1 -0
- package/dist/types/markdown/data/emoji-data.d.ts +13 -0
- package/dist/types/markdown/data/emoji-data.d.ts.map +1 -0
- package/dist/types/markdown/data/emoji-unicode.d.ts +6 -0
- package/dist/types/markdown/data/emoji-unicode.d.ts.map +1 -0
- package/dist/types/markdown/data-attr.d.ts +10 -0
- package/dist/types/markdown/data-attr.d.ts.map +1 -0
- package/dist/types/markdown/engine.d.ts +18 -0
- package/dist/types/markdown/engine.d.ts.map +1 -0
- package/dist/types/markdown/engine.test.d.ts +2 -0
- package/dist/types/markdown/engine.test.d.ts.map +1 -0
- package/dist/types/markdown/highlight.d.ts +9 -0
- package/dist/types/markdown/highlight.d.ts.map +1 -0
- package/dist/types/markdown/plugin-emoji.d.ts +9 -0
- package/dist/types/markdown/plugin-emoji.d.ts.map +1 -0
- package/dist/types/markdown/plugin-fence.d.ts +3 -0
- package/dist/types/markdown/plugin-fence.d.ts.map +1 -0
- package/dist/types/markdown/plugin-misc.d.ts +9 -0
- package/dist/types/markdown/plugin-misc.d.ts.map +1 -0
- package/dist/types/markdown/plugin-tasks.d.ts +4 -0
- package/dist/types/markdown/plugin-tasks.d.ts.map +1 -0
- package/dist/types/markdown/plugin-tex.d.ts +3 -0
- package/dist/types/markdown/plugin-tex.d.ts.map +1 -0
- package/dist/types/markdown/plugin-toc.d.ts +18 -0
- package/dist/types/markdown/plugin-toc.d.ts.map +1 -0
- package/dist/types/normalize.d.ts +3 -0
- package/dist/types/normalize.d.ts.map +1 -0
- package/dist/types/preview/pane.d.ts +9 -0
- package/dist/types/preview/pane.d.ts.map +1 -0
- package/dist/types/preview/post-render.d.ts +19 -0
- package/dist/types/preview/post-render.d.ts.map +1 -0
- package/dist/types/preview/sync-scroll.d.ts +13 -0
- package/dist/types/preview/sync-scroll.d.ts.map +1 -0
- package/dist/types/preview/toc.d.ts +15 -0
- package/dist/types/preview/toc.d.ts.map +1 -0
- package/dist/types/render-to.d.ts +3 -0
- package/dist/types/render-to.d.ts.map +1 -0
- package/dist/types/toolbar/handlers.d.ts +4 -0
- package/dist/types/toolbar/handlers.d.ts.map +1 -0
- package/dist/types/toolbar/icons.d.ts +5 -0
- package/dist/types/toolbar/icons.d.ts.map +1 -0
- package/dist/types/toolbar/modes.d.ts +20 -0
- package/dist/types/toolbar/modes.d.ts.map +1 -0
- package/dist/types/toolbar/toolbar.d.ts +16 -0
- package/dist/types/toolbar/toolbar.d.ts.map +1 -0
- package/dist/types/types/common.d.ts +7 -0
- package/dist/types/types/common.d.ts.map +1 -0
- package/dist/types/types/events.d.ts +38 -0
- package/dist/types/types/events.d.ts.map +1 -0
- package/dist/types/types/lang.d.ts +95 -0
- package/dist/types/types/lang.d.ts.map +1 -0
- package/dist/types/types/settings.d.ts +171 -0
- package/dist/types/types/settings.d.ts.map +1 -0
- package/dist/umd/index.umd.cjs +96 -0
- package/package.json +69 -3
- package/README.md +0 -3
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/forth.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
var t = [];
|
|
4
|
+
return e.split(" ").forEach(function(e) {
|
|
5
|
+
t.push({ name: e });
|
|
6
|
+
}), t;
|
|
7
|
+
}
|
|
8
|
+
var t = e("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"), n = e("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");
|
|
9
|
+
function r(e, t) {
|
|
10
|
+
for (var n = e.length - 1; n >= 0; n--) if (e[n].name === t.toUpperCase()) return e[n];
|
|
11
|
+
}
|
|
12
|
+
var i = {
|
|
13
|
+
name: "forth",
|
|
14
|
+
startState: function() {
|
|
15
|
+
return {
|
|
16
|
+
state: "",
|
|
17
|
+
base: 10,
|
|
18
|
+
coreWordList: t,
|
|
19
|
+
immediateWordList: n,
|
|
20
|
+
wordList: []
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
token: function(e, t) {
|
|
24
|
+
var n;
|
|
25
|
+
if (e.eatSpace()) return null;
|
|
26
|
+
if (t.state === "") {
|
|
27
|
+
if (e.match(/^(\]|:NONAME)(\s|$)/i)) return t.state = " compilation", "builtin";
|
|
28
|
+
if (n = e.match(/^(\:)\s+(\S+)(\s|$)+/), n) return t.wordList.push({ name: n[2].toUpperCase() }), t.state = " compilation", "def";
|
|
29
|
+
if (n = e.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i), n) return t.wordList.push({ name: n[2].toUpperCase() }), "def";
|
|
30
|
+
if (n = e.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/), n) return "builtin";
|
|
31
|
+
} else {
|
|
32
|
+
if (e.match(/^(\;|\[)(\s)/)) return t.state = "", e.backUp(1), "builtin";
|
|
33
|
+
if (e.match(/^(\;|\[)($)/)) return t.state = "", "builtin";
|
|
34
|
+
if (e.match(/^(POSTPONE)\s+\S+(\s|$)+/)) return "builtin";
|
|
35
|
+
}
|
|
36
|
+
if (n = e.match(/^(\S+)(\s+|$)/), n) return r(t.wordList, n[1]) === void 0 ? n[1] === "\\" ? (e.skipToEnd(), "comment") : r(t.coreWordList, n[1]) === void 0 ? r(t.immediateWordList, n[1]) === void 0 ? n[1] === "(" ? (e.eatWhile(function(e) {
|
|
37
|
+
return e !== ")";
|
|
38
|
+
}), e.eat(")"), "comment") : n[1] === ".(" ? (e.eatWhile(function(e) {
|
|
39
|
+
return e !== ")";
|
|
40
|
+
}), e.eat(")"), "string") : n[1] === "S\"" || n[1] === ".\"" || n[1] === "C\"" ? (e.eatWhile(function(e) {
|
|
41
|
+
return e !== "\"";
|
|
42
|
+
}), e.eat("\""), "string") : n[1] - 68719476735 ? "number" : "atom" : "keyword" : "builtin" : "variable";
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
export { i as forth };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/fortran.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
for (var t = {}, n = 0; n < e.length; ++n) t[e[n]] = !0;
|
|
4
|
+
return t;
|
|
5
|
+
}
|
|
6
|
+
var t = e(/* @__PURE__ */ "abstract.accept.allocatable.allocate.array.assign.asynchronous.backspace.bind.block.byte.call.case.class.close.common.contains.continue.cycle.data.deallocate.decode.deferred.dimension.do.elemental.else.encode.end.endif.entry.enumerator.equivalence.exit.external.extrinsic.final.forall.format.function.generic.go.goto.if.implicit.import.include.inquire.intent.interface.intrinsic.module.namelist.non_intrinsic.non_overridable.none.nopass.nullify.open.optional.options.parameter.pass.pause.pointer.print.private.program.protected.public.pure.read.recursive.result.return.rewind.save.select.sequence.stop.subroutine.target.then.to.type.use.value.volatile.where.while.write".split(".")), n = e(/* @__PURE__ */ "abort.abs.access.achar.acos.adjustl.adjustr.aimag.aint.alarm.all.allocated.alog.amax.amin.amod.and.anint.any.asin.associated.atan.besj.besjn.besy.besyn.bit_size.btest.cabs.ccos.ceiling.cexp.char.chdir.chmod.clog.cmplx.command_argument_count.complex.conjg.cos.cosh.count.cpu_time.cshift.csin.csqrt.ctime.c_funloc.c_loc.c_associated.c_null_ptr.c_null_funptr.c_f_pointer.c_null_char.c_alert.c_backspace.c_form_feed.c_new_line.c_carriage_return.c_horizontal_tab.c_vertical_tab.dabs.dacos.dasin.datan.date_and_time.dbesj.dbesj.dbesjn.dbesy.dbesy.dbesyn.dble.dcos.dcosh.ddim.derf.derfc.dexp.digits.dim.dint.dlog.dlog.dmax.dmin.dmod.dnint.dot_product.dprod.dsign.dsinh.dsin.dsqrt.dtanh.dtan.dtime.eoshift.epsilon.erf.erfc.etime.exit.exp.exponent.extends_type_of.fdate.fget.fgetc.float.floor.flush.fnum.fputc.fput.fraction.fseek.fstat.ftell.gerror.getarg.get_command.get_command_argument.get_environment_variable.getcwd.getenv.getgid.getlog.getpid.getuid.gmtime.hostnm.huge.iabs.iachar.iand.iargc.ibclr.ibits.ibset.ichar.idate.idim.idint.idnint.ieor.ierrno.ifix.imag.imagpart.index.int.ior.irand.isatty.ishft.ishftc.isign.iso_c_binding.is_iostat_end.is_iostat_eor.itime.kill.kind.lbound.len.len_trim.lge.lgt.link.lle.llt.lnblnk.loc.log.logical.long.lshift.lstat.ltime.matmul.max.maxexponent.maxloc.maxval.mclock.merge.move_alloc.min.minexponent.minloc.minval.mod.modulo.mvbits.nearest.new_line.nint.not.or.pack.perror.precision.present.product.radix.rand.random_number.random_seed.range.real.realpart.rename.repeat.reshape.rrspacing.rshift.same_type_as.scale.scan.second.selected_int_kind.selected_real_kind.set_exponent.shape.short.sign.signal.sinh.sin.sleep.sngl.spacing.spread.sqrt.srand.stat.sum.symlnk.system.system_clock.tan.tanh.time.tiny.transfer.transpose.trim.ttynam.ubound.umask.unlink.unpack.verify.xor.zabs.zcos.zexp.zlog.zsin.zsqrt".split(".")), r = e(/* @__PURE__ */ "c_bool.c_char.c_double.c_double_complex.c_float.c_float_complex.c_funptr.c_int.c_int16_t.c_int32_t.c_int64_t.c_int8_t.c_int_fast16_t.c_int_fast32_t.c_int_fast64_t.c_int_fast8_t.c_int_least16_t.c_int_least32_t.c_int_least64_t.c_int_least8_t.c_intmax_t.c_intptr_t.c_long.c_long_double.c_long_double_complex.c_long_long.c_ptr.c_short.c_signed_char.c_size_t.character.complex.double.integer.logical.real".split(".")), i = /[+\-*&=<>\/\:]/, a = /^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;
|
|
7
|
+
function o(e, o) {
|
|
8
|
+
if (e.match(a)) return "operator";
|
|
9
|
+
var c = e.next();
|
|
10
|
+
if (c == "!") return e.skipToEnd(), "comment";
|
|
11
|
+
if (c == "\"" || c == "'") return o.tokenize = s(c), o.tokenize(e, o);
|
|
12
|
+
if (/[\[\]\(\),]/.test(c)) return null;
|
|
13
|
+
if (/\d/.test(c)) return e.eatWhile(/[\w\.]/), "number";
|
|
14
|
+
if (i.test(c)) return e.eatWhile(i), "operator";
|
|
15
|
+
e.eatWhile(/[\w\$_]/);
|
|
16
|
+
var l = e.current().toLowerCase();
|
|
17
|
+
return t.hasOwnProperty(l) ? "keyword" : n.hasOwnProperty(l) || r.hasOwnProperty(l) ? "builtin" : "variable";
|
|
18
|
+
}
|
|
19
|
+
function s(e) {
|
|
20
|
+
return function(t, n) {
|
|
21
|
+
for (var r = !1, i, a = !1; (i = t.next()) != null;) {
|
|
22
|
+
if (i == e && !r) {
|
|
23
|
+
a = !0;
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
r = !r && i == "\\";
|
|
27
|
+
}
|
|
28
|
+
return (a || !r) && (n.tokenize = null), "string";
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
var c = {
|
|
32
|
+
name: "fortran",
|
|
33
|
+
startState: function() {
|
|
34
|
+
return { tokenize: null };
|
|
35
|
+
},
|
|
36
|
+
token: function(e, t) {
|
|
37
|
+
return e.eatSpace() ? null : (t.tokenize || o)(e, t);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export { c as fortran };
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/gas.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
var t = [], n = "", r = {
|
|
4
|
+
".abort": "builtin",
|
|
5
|
+
".align": "builtin",
|
|
6
|
+
".altmacro": "builtin",
|
|
7
|
+
".ascii": "builtin",
|
|
8
|
+
".asciz": "builtin",
|
|
9
|
+
".balign": "builtin",
|
|
10
|
+
".balignw": "builtin",
|
|
11
|
+
".balignl": "builtin",
|
|
12
|
+
".bundle_align_mode": "builtin",
|
|
13
|
+
".bundle_lock": "builtin",
|
|
14
|
+
".bundle_unlock": "builtin",
|
|
15
|
+
".byte": "builtin",
|
|
16
|
+
".cfi_startproc": "builtin",
|
|
17
|
+
".comm": "builtin",
|
|
18
|
+
".data": "builtin",
|
|
19
|
+
".def": "builtin",
|
|
20
|
+
".desc": "builtin",
|
|
21
|
+
".dim": "builtin",
|
|
22
|
+
".double": "builtin",
|
|
23
|
+
".eject": "builtin",
|
|
24
|
+
".else": "builtin",
|
|
25
|
+
".elseif": "builtin",
|
|
26
|
+
".end": "builtin",
|
|
27
|
+
".endef": "builtin",
|
|
28
|
+
".endfunc": "builtin",
|
|
29
|
+
".endif": "builtin",
|
|
30
|
+
".equ": "builtin",
|
|
31
|
+
".equiv": "builtin",
|
|
32
|
+
".eqv": "builtin",
|
|
33
|
+
".err": "builtin",
|
|
34
|
+
".error": "builtin",
|
|
35
|
+
".exitm": "builtin",
|
|
36
|
+
".extern": "builtin",
|
|
37
|
+
".fail": "builtin",
|
|
38
|
+
".file": "builtin",
|
|
39
|
+
".fill": "builtin",
|
|
40
|
+
".float": "builtin",
|
|
41
|
+
".func": "builtin",
|
|
42
|
+
".global": "builtin",
|
|
43
|
+
".gnu_attribute": "builtin",
|
|
44
|
+
".hidden": "builtin",
|
|
45
|
+
".hword": "builtin",
|
|
46
|
+
".ident": "builtin",
|
|
47
|
+
".if": "builtin",
|
|
48
|
+
".incbin": "builtin",
|
|
49
|
+
".include": "builtin",
|
|
50
|
+
".int": "builtin",
|
|
51
|
+
".internal": "builtin",
|
|
52
|
+
".irp": "builtin",
|
|
53
|
+
".irpc": "builtin",
|
|
54
|
+
".lcomm": "builtin",
|
|
55
|
+
".lflags": "builtin",
|
|
56
|
+
".line": "builtin",
|
|
57
|
+
".linkonce": "builtin",
|
|
58
|
+
".list": "builtin",
|
|
59
|
+
".ln": "builtin",
|
|
60
|
+
".loc": "builtin",
|
|
61
|
+
".loc_mark_labels": "builtin",
|
|
62
|
+
".local": "builtin",
|
|
63
|
+
".long": "builtin",
|
|
64
|
+
".macro": "builtin",
|
|
65
|
+
".mri": "builtin",
|
|
66
|
+
".noaltmacro": "builtin",
|
|
67
|
+
".nolist": "builtin",
|
|
68
|
+
".octa": "builtin",
|
|
69
|
+
".offset": "builtin",
|
|
70
|
+
".org": "builtin",
|
|
71
|
+
".p2align": "builtin",
|
|
72
|
+
".popsection": "builtin",
|
|
73
|
+
".previous": "builtin",
|
|
74
|
+
".print": "builtin",
|
|
75
|
+
".protected": "builtin",
|
|
76
|
+
".psize": "builtin",
|
|
77
|
+
".purgem": "builtin",
|
|
78
|
+
".pushsection": "builtin",
|
|
79
|
+
".quad": "builtin",
|
|
80
|
+
".reloc": "builtin",
|
|
81
|
+
".rept": "builtin",
|
|
82
|
+
".sbttl": "builtin",
|
|
83
|
+
".scl": "builtin",
|
|
84
|
+
".section": "builtin",
|
|
85
|
+
".set": "builtin",
|
|
86
|
+
".short": "builtin",
|
|
87
|
+
".single": "builtin",
|
|
88
|
+
".size": "builtin",
|
|
89
|
+
".skip": "builtin",
|
|
90
|
+
".sleb128": "builtin",
|
|
91
|
+
".space": "builtin",
|
|
92
|
+
".stab": "builtin",
|
|
93
|
+
".string": "builtin",
|
|
94
|
+
".struct": "builtin",
|
|
95
|
+
".subsection": "builtin",
|
|
96
|
+
".symver": "builtin",
|
|
97
|
+
".tag": "builtin",
|
|
98
|
+
".text": "builtin",
|
|
99
|
+
".title": "builtin",
|
|
100
|
+
".type": "builtin",
|
|
101
|
+
".uleb128": "builtin",
|
|
102
|
+
".val": "builtin",
|
|
103
|
+
".version": "builtin",
|
|
104
|
+
".vtable_entry": "builtin",
|
|
105
|
+
".vtable_inherit": "builtin",
|
|
106
|
+
".warning": "builtin",
|
|
107
|
+
".weak": "builtin",
|
|
108
|
+
".weakref": "builtin",
|
|
109
|
+
".word": "builtin"
|
|
110
|
+
}, i = {};
|
|
111
|
+
function a() {
|
|
112
|
+
n = "#", 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";
|
|
113
|
+
}
|
|
114
|
+
function o() {
|
|
115
|
+
n = "@", r.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, t.push(function(e, t) {
|
|
116
|
+
if (e === "#") return t.eatWhile(/\w/), "number";
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
e === "x86" ? a() : (e === "arm" || e === "armv6") && o();
|
|
120
|
+
function s(e, t) {
|
|
121
|
+
for (var n = !1, r; (r = e.next()) != null;) {
|
|
122
|
+
if (r === t && !n) return !1;
|
|
123
|
+
n = !n && r === "\\";
|
|
124
|
+
}
|
|
125
|
+
return n;
|
|
126
|
+
}
|
|
127
|
+
function c(e, t) {
|
|
128
|
+
for (var n = !1, r; (r = e.next()) != null;) {
|
|
129
|
+
if (r === "/" && n) {
|
|
130
|
+
t.tokenize = null;
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
n = r === "*";
|
|
134
|
+
}
|
|
135
|
+
return "comment";
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
name: "gas",
|
|
139
|
+
startState: function() {
|
|
140
|
+
return { tokenize: null };
|
|
141
|
+
},
|
|
142
|
+
token: function(e, a) {
|
|
143
|
+
if (a.tokenize) return a.tokenize(e, a);
|
|
144
|
+
if (e.eatSpace()) return null;
|
|
145
|
+
var o, l, u = e.next();
|
|
146
|
+
if (u === "/" && e.eat("*")) return a.tokenize = c, c(e, a);
|
|
147
|
+
if (u === n) return e.skipToEnd(), "comment";
|
|
148
|
+
if (u === "\"") return s(e, "\""), "string";
|
|
149
|
+
if (u === ".") return e.eatWhile(/\w/), l = e.current().toLowerCase(), o = r[l], o || null;
|
|
150
|
+
if (u === "=") return e.eatWhile(/\w/), "tag";
|
|
151
|
+
if (u === "{" || u === "}") return "bracket";
|
|
152
|
+
if (/\d/.test(u)) return u === "0" && e.eat("x") ? (e.eatWhile(/[0-9a-fA-F]/), "number") : (e.eatWhile(/\d/), "number");
|
|
153
|
+
if (/\w/.test(u)) return e.eatWhile(/\w/), e.eat(":") ? "tag" : (l = e.current().toLowerCase(), o = i[l], o || null);
|
|
154
|
+
for (var d = 0; d < t.length; d++) if (o = t[d](u, e, a), o) return o;
|
|
155
|
+
},
|
|
156
|
+
languageData: { commentTokens: {
|
|
157
|
+
line: n,
|
|
158
|
+
block: {
|
|
159
|
+
open: "/*",
|
|
160
|
+
close: "*/"
|
|
161
|
+
}
|
|
162
|
+
} }
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
var t = e("x86");
|
|
166
|
+
e("arm");
|
|
167
|
+
export { t as gas };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/gherkin.js
|
|
2
|
+
var e = {
|
|
3
|
+
name: "gherkin",
|
|
4
|
+
startState: function() {
|
|
5
|
+
return {
|
|
6
|
+
lineNumber: 0,
|
|
7
|
+
tableHeaderLine: !1,
|
|
8
|
+
allowFeature: !0,
|
|
9
|
+
allowBackground: !1,
|
|
10
|
+
allowScenario: !1,
|
|
11
|
+
allowSteps: !1,
|
|
12
|
+
allowPlaceholders: !1,
|
|
13
|
+
allowMultilineArgument: !1,
|
|
14
|
+
inMultilineString: !1,
|
|
15
|
+
inMultilineTable: !1,
|
|
16
|
+
inKeywordLine: !1
|
|
17
|
+
};
|
|
18
|
+
},
|
|
19
|
+
token: function(e, t) {
|
|
20
|
+
if (e.sol() && (t.lineNumber++, t.inKeywordLine = !1, t.inMultilineTable && (t.tableHeaderLine = !1, e.match(/\s*\|/, !1) || (t.allowMultilineArgument = !1, t.inMultilineTable = !1))), e.eatSpace(), t.allowMultilineArgument) {
|
|
21
|
+
if (t.inMultilineString) return e.match("\"\"\"") ? (t.inMultilineString = !1, t.allowMultilineArgument = !1) : e.match(/.*/), "string";
|
|
22
|
+
if (t.inMultilineTable) return e.match(/\|\s*/) ? "bracket" : (e.match(/[^\|]*/), t.tableHeaderLine ? "header" : "string");
|
|
23
|
+
if (e.match("\"\"\"")) return t.inMultilineString = !0, "string";
|
|
24
|
+
if (e.match("|")) return t.inMultilineTable = !0, t.tableHeaderLine = !0, "bracket";
|
|
25
|
+
}
|
|
26
|
+
return e.match(/#.*/) ? "comment" : !t.inKeywordLine && e.match(/@\S+/) ? "tag" : !t.inKeywordLine && t.allowFeature && e.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):/) ? (t.allowScenario = !0, t.allowBackground = !0, t.allowPlaceholders = !1, t.allowSteps = !1, t.allowMultilineArgument = !1, t.inKeywordLine = !0, "keyword") : !t.inKeywordLine && t.allowBackground && e.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):/) ? (t.allowPlaceholders = !1, t.allowSteps = !0, t.allowBackground = !1, t.allowMultilineArgument = !1, t.inKeywordLine = !0, "keyword") : !t.inKeywordLine && t.allowScenario && e.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):/) ? (t.allowPlaceholders = !0, t.allowSteps = !0, t.allowMultilineArgument = !1, t.inKeywordLine = !0, "keyword") : t.allowScenario && e.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):/) ? (t.allowPlaceholders = !1, t.allowSteps = !0, t.allowBackground = !1, t.allowMultilineArgument = !0, "keyword") : !t.inKeywordLine && t.allowScenario && e.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):/) ? (t.allowPlaceholders = !1, t.allowSteps = !0, t.allowBackground = !1, t.allowMultilineArgument = !1, t.inKeywordLine = !0, "keyword") : !t.inKeywordLine && t.allowSteps && e.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 |\* )/) ? (t.inStep = !0, t.allowPlaceholders = !0, t.allowMultilineArgument = !0, t.inKeywordLine = !0, "keyword") : e.match(/"[^"]*"?/) ? "string" : t.allowPlaceholders && e.match(/<[^>]*>?/) ? "variable" : (e.next(), e.eatWhile(/[^@"<#]/), null);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export { e as gherkin };
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/groovy.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
for (var t = {}, n = e.split(" "), r = 0; r < n.length; ++r) t[n[r]] = !0;
|
|
4
|
+
return t;
|
|
5
|
+
}
|
|
6
|
+
var t = e("abstract as assert boolean break byte case catch char class const continue def default do double else enum extends final finally float for goto if implements import in instanceof int interface long native new package private protected public return short static strictfp super switch synchronized threadsafe throw throws trait transient try void volatile while"), n = e("catch class def do else enum finally for if interface switch trait try while"), r = e("return break continue"), i = e("null true false this"), a;
|
|
7
|
+
function o(e, o) {
|
|
8
|
+
var c = e.next();
|
|
9
|
+
if (c == "\"" || c == "'") return s(c, e, o);
|
|
10
|
+
if (/[\[\]{}\(\),;\:\.]/.test(c)) return a = c, null;
|
|
11
|
+
if (/\d/.test(c)) return e.eatWhile(/[\w\.]/), e.eat(/eE/) && (e.eat(/\+\-/), e.eatWhile(/\d/)), "number";
|
|
12
|
+
if (c == "/") {
|
|
13
|
+
if (e.eat("*")) return o.tokenize.push(u), u(e, o);
|
|
14
|
+
if (e.eat("/")) return e.skipToEnd(), "comment";
|
|
15
|
+
if (d(o.lastToken, !1)) return s(c, e, o);
|
|
16
|
+
}
|
|
17
|
+
if (c == "-" && e.eat(">")) return a = "->", null;
|
|
18
|
+
if (/[+\-*&%=<>!?|\/~]/.test(c)) return e.eatWhile(/[+\-*&%=<>|~]/), "operator";
|
|
19
|
+
if (e.eatWhile(/[\w\$_]/), c == "@") return e.eatWhile(/[\w\$_\.]/), "meta";
|
|
20
|
+
if (o.lastToken == ".") return "property";
|
|
21
|
+
if (e.eat(":")) return a = "proplabel", "property";
|
|
22
|
+
var l = e.current();
|
|
23
|
+
return i.propertyIsEnumerable(l) ? "atom" : t.propertyIsEnumerable(l) ? (n.propertyIsEnumerable(l) ? a = "newstatement" : r.propertyIsEnumerable(l) && (a = "standalone"), "keyword") : "variable";
|
|
24
|
+
}
|
|
25
|
+
o.isBase = !0;
|
|
26
|
+
function s(e, t, n) {
|
|
27
|
+
var r = !1;
|
|
28
|
+
if (e != "/" && t.eat(e)) {
|
|
29
|
+
if (t.eat(e)) r = !0;
|
|
30
|
+
else return "string";
|
|
31
|
+
}
|
|
32
|
+
function i(t, n) {
|
|
33
|
+
for (var i = !1, a, o = !r; (a = t.next()) != null;) {
|
|
34
|
+
if (a == e && !i) {
|
|
35
|
+
if (!r) break;
|
|
36
|
+
if (t.match(e + e)) {
|
|
37
|
+
o = !0;
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
if (e == "\"" && a == "$" && !i) {
|
|
42
|
+
if (t.eat("{")) return n.tokenize.push(c()), "string";
|
|
43
|
+
if (t.match(/^\w/, !1)) return n.tokenize.push(l), "string";
|
|
44
|
+
}
|
|
45
|
+
i = !i && a == "\\";
|
|
46
|
+
}
|
|
47
|
+
return o && n.tokenize.pop(), "string";
|
|
48
|
+
}
|
|
49
|
+
return n.tokenize.push(i), i(t, n);
|
|
50
|
+
}
|
|
51
|
+
function c() {
|
|
52
|
+
var e = 1;
|
|
53
|
+
function t(t, n) {
|
|
54
|
+
if (t.peek() == "}") {
|
|
55
|
+
if (e--, e == 0) return n.tokenize.pop(), n.tokenize[n.tokenize.length - 1](t, n);
|
|
56
|
+
} else t.peek() == "{" && e++;
|
|
57
|
+
return o(t, n);
|
|
58
|
+
}
|
|
59
|
+
return t.isBase = !0, t;
|
|
60
|
+
}
|
|
61
|
+
function l(e, t) {
|
|
62
|
+
var n = e.match(/^(\.|[\w\$_]+)/);
|
|
63
|
+
return n && e.match(n[0] == "." ? /^[\w$_]/ : /^\./) || t.tokenize.pop(), n ? n[0] == "." ? null : "variable" : t.tokenize[t.tokenize.length - 1](e, t);
|
|
64
|
+
}
|
|
65
|
+
function u(e, t) {
|
|
66
|
+
for (var n = !1, r; r = e.next();) {
|
|
67
|
+
if (r == "/" && n) {
|
|
68
|
+
t.tokenize.pop();
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
n = r == "*";
|
|
72
|
+
}
|
|
73
|
+
return "comment";
|
|
74
|
+
}
|
|
75
|
+
function d(e, t) {
|
|
76
|
+
return !e || e == "operator" || e == "->" || /[\.\[\{\(,;:]/.test(e) || e == "newstatement" || e == "keyword" || e == "proplabel" || e == "standalone" && !t;
|
|
77
|
+
}
|
|
78
|
+
function f(e, t, n, r, i) {
|
|
79
|
+
this.indented = e, this.column = t, this.type = n, this.align = r, this.prev = i;
|
|
80
|
+
}
|
|
81
|
+
function p(e, t, n) {
|
|
82
|
+
return e.context = new f(e.indented, t, n, null, e.context);
|
|
83
|
+
}
|
|
84
|
+
function m(e) {
|
|
85
|
+
var t = e.context.type;
|
|
86
|
+
return (t == ")" || t == "]" || t == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
|
|
87
|
+
}
|
|
88
|
+
var h = {
|
|
89
|
+
name: "groovy",
|
|
90
|
+
startState: function(e) {
|
|
91
|
+
return {
|
|
92
|
+
tokenize: [o],
|
|
93
|
+
context: new f(-e, 0, "top", !1),
|
|
94
|
+
indented: 0,
|
|
95
|
+
startOfLine: !0,
|
|
96
|
+
lastToken: null
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
token: function(e, t) {
|
|
100
|
+
var n = t.context;
|
|
101
|
+
if (e.sol() && (n.align ?? (n.align = !1), t.indented = e.indentation(), t.startOfLine = !0, n.type == "statement" && !d(t.lastToken, !0) && (m(t), n = t.context)), e.eatSpace()) return null;
|
|
102
|
+
a = null;
|
|
103
|
+
var r = t.tokenize[t.tokenize.length - 1](e, t);
|
|
104
|
+
if (r == "comment") return r;
|
|
105
|
+
if (n.align ?? (n.align = !0), (a == ";" || a == ":") && n.type == "statement") m(t);
|
|
106
|
+
else if (a == "->" && n.type == "statement" && n.prev.type == "}") m(t), t.context.align = !1;
|
|
107
|
+
else if (a == "{") p(t, e.column(), "}");
|
|
108
|
+
else if (a == "[") p(t, e.column(), "]");
|
|
109
|
+
else if (a == "(") p(t, e.column(), ")");
|
|
110
|
+
else if (a == "}") {
|
|
111
|
+
for (; n.type == "statement";) n = m(t);
|
|
112
|
+
for (n.type == "}" && (n = m(t)); n.type == "statement";) n = m(t);
|
|
113
|
+
} else a == n.type ? m(t) : (n.type == "}" || n.type == "top" || n.type == "statement" && a == "newstatement") && p(t, e.column(), "statement");
|
|
114
|
+
return t.startOfLine = !1, t.lastToken = a || r, r;
|
|
115
|
+
},
|
|
116
|
+
indent: function(e, t, n) {
|
|
117
|
+
if (!e.tokenize[e.tokenize.length - 1].isBase) return null;
|
|
118
|
+
var r = t && t.charAt(0), i = e.context;
|
|
119
|
+
i.type == "statement" && !d(e.lastToken, !0) && (i = i.prev);
|
|
120
|
+
var a = r == i.type;
|
|
121
|
+
return i.type == "statement" ? i.indented + (r == "{" ? 0 : n.unit) : i.align ? i.column + +!a : i.indented + (a ? 0 : n.unit);
|
|
122
|
+
},
|
|
123
|
+
languageData: {
|
|
124
|
+
indentOnInput: /^\s*[{}]$/,
|
|
125
|
+
commentTokens: {
|
|
126
|
+
line: "//",
|
|
127
|
+
block: {
|
|
128
|
+
open: "/*",
|
|
129
|
+
close: "*/"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
closeBrackets: { brackets: [
|
|
133
|
+
"(",
|
|
134
|
+
"[",
|
|
135
|
+
"{",
|
|
136
|
+
"'",
|
|
137
|
+
"\"",
|
|
138
|
+
"'''",
|
|
139
|
+
"\"\"\""
|
|
140
|
+
] }
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
export { h as groovy };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/haskell.js
|
|
2
|
+
function e(e, t, n) {
|
|
3
|
+
return t(n), n(e, t);
|
|
4
|
+
}
|
|
5
|
+
var t = /[a-z_]/, n = /[A-Z]/, r = /\d/, i = /[0-9A-Fa-f]/, a = /[0-7]/, o = /[a-z_A-Z0-9'\xa1-\uffff]/, s = /[-!#$%&*+.\/<=>?@\\^|~:]/, c = /[(),;[\]`{}]/, l = /[ \t\v\f]/;
|
|
6
|
+
function u(u, p) {
|
|
7
|
+
if (u.eatWhile(l)) return null;
|
|
8
|
+
var m = u.next();
|
|
9
|
+
if (c.test(m)) {
|
|
10
|
+
if (m == "{" && u.eat("-")) {
|
|
11
|
+
var h = "comment";
|
|
12
|
+
return u.eat("#") && (h = "meta"), e(u, p, d(h, 1));
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
if (m == "'") return u.eat("\\"), u.next(), u.eat("'") ? "string" : "error";
|
|
17
|
+
if (m == "\"") return e(u, p, f);
|
|
18
|
+
if (n.test(m)) return u.eatWhile(o), u.eat(".") ? "qualifier" : "type";
|
|
19
|
+
if (t.test(m)) return u.eatWhile(o), "variable";
|
|
20
|
+
if (r.test(m)) {
|
|
21
|
+
if (m == "0") {
|
|
22
|
+
if (u.eat(/[xX]/)) return u.eatWhile(i), "integer";
|
|
23
|
+
if (u.eat(/[oO]/)) return u.eatWhile(a), "number";
|
|
24
|
+
}
|
|
25
|
+
u.eatWhile(r);
|
|
26
|
+
var h = "number";
|
|
27
|
+
return u.match(/^\.\d+/) && (h = "number"), u.eat(/[eE]/) && (h = "number", u.eat(/[-+]/), u.eatWhile(r)), h;
|
|
28
|
+
}
|
|
29
|
+
return m == "." && u.eat(".") ? "keyword" : s.test(m) ? m == "-" && u.eat(/-/) && (u.eatWhile(/-/), !u.eat(s)) ? (u.skipToEnd(), "comment") : (u.eatWhile(s), "variable") : "error";
|
|
30
|
+
}
|
|
31
|
+
function d(e, t) {
|
|
32
|
+
return t == 0 ? u : function(n, r) {
|
|
33
|
+
for (var i = t; !n.eol();) {
|
|
34
|
+
var a = n.next();
|
|
35
|
+
if (a == "{" && n.eat("-")) ++i;
|
|
36
|
+
else if (a == "-" && n.eat("}") && (--i, i == 0)) return r(u), e;
|
|
37
|
+
}
|
|
38
|
+
return r(d(e, i)), e;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function f(e, t) {
|
|
42
|
+
for (; !e.eol();) {
|
|
43
|
+
var n = e.next();
|
|
44
|
+
if (n == "\"") return t(u), "string";
|
|
45
|
+
if (n == "\\") {
|
|
46
|
+
if (e.eol() || e.eat(l)) return t(p), "string";
|
|
47
|
+
e.eat("&") || e.next();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return t(u), "error";
|
|
51
|
+
}
|
|
52
|
+
function p(t, n) {
|
|
53
|
+
return t.eat("\\") ? e(t, n, f) : (t.next(), n(u), "error");
|
|
54
|
+
}
|
|
55
|
+
var m = (function() {
|
|
56
|
+
var e = {};
|
|
57
|
+
function t(t) {
|
|
58
|
+
return function() {
|
|
59
|
+
for (var n = 0; n < arguments.length; n++) e[arguments[n]] = t;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
return t("keyword")("case", "class", "data", "default", "deriving", "do", "else", "foreign", "if", "import", "in", "infix", "infixl", "infixr", "instance", "let", "module", "newtype", "of", "then", "type", "where", "_"), t("keyword")("..", ":", "::", "=", "\\", "<-", "->", "@", "~", "=>"), t("builtin")("!!", "$!", "$", "&&", "+", "++", "-", ".", "/", "/=", "<", "<*", "<=", "<$>", "<*>", "=<<", "==", ">", ">=", ">>", ">>=", "^", "^^", "||", "*", "*>", "**"), t("builtin")("Applicative", "Bool", "Bounded", "Char", "Double", "EQ", "Either", "Enum", "Eq", "False", "FilePath", "Float", "Floating", "Fractional", "Functor", "GT", "IO", "IOError", "Int", "Integer", "Integral", "Just", "LT", "Left", "Maybe", "Monad", "Nothing", "Num", "Ord", "Ordering", "Rational", "Read", "ReadS", "Real", "RealFloat", "RealFrac", "Right", "Show", "ShowS", "String", "True"), t("builtin")("abs", "acos", "acosh", "all", "and", "any", "appendFile", "asTypeOf", "asin", "asinh", "atan", "atan2", "atanh", "break", "catch", "ceiling", "compare", "concat", "concatMap", "const", "cos", "cosh", "curry", "cycle", "decodeFloat", "div", "divMod", "drop", "dropWhile", "either", "elem", "encodeFloat", "enumFrom", "enumFromThen", "enumFromThenTo", "enumFromTo", "error", "even", "exp", "exponent", "fail", "filter", "flip", "floatDigits", "floatRadix", "floatRange", "floor", "fmap", "foldl", "foldl1", "foldr", "foldr1", "fromEnum", "fromInteger", "fromIntegral", "fromRational", "fst", "gcd", "getChar", "getContents", "getLine", "head", "id", "init", "interact", "ioError", "isDenormalized", "isIEEE", "isInfinite", "isNaN", "isNegativeZero", "iterate", "last", "lcm", "length", "lex", "lines", "log", "logBase", "lookup", "map", "mapM", "mapM_", "max", "maxBound", "maximum", "maybe", "min", "minBound", "minimum", "mod", "negate", "not", "notElem", "null", "odd", "or", "otherwise", "pi", "pred", "print", "product", "properFraction", "pure", "putChar", "putStr", "putStrLn", "quot", "quotRem", "read", "readFile", "readIO", "readList", "readLn", "readParen", "reads", "readsPrec", "realToFrac", "recip", "rem", "repeat", "replicate", "return", "reverse", "round", "scaleFloat", "scanl", "scanl1", "scanr", "scanr1", "seq", "sequence", "sequence_", "show", "showChar", "showList", "showParen", "showString", "shows", "showsPrec", "significand", "signum", "sin", "sinh", "snd", "span", "splitAt", "sqrt", "subtract", "succ", "sum", "tail", "take", "takeWhile", "tan", "tanh", "toEnum", "toInteger", "toRational", "truncate", "uncurry", "undefined", "unlines", "until", "unwords", "unzip", "unzip3", "userError", "words", "writeFile", "zip", "zip3", "zipWith", "zipWith3"), e;
|
|
63
|
+
})(), h = {
|
|
64
|
+
name: "haskell",
|
|
65
|
+
startState: function() {
|
|
66
|
+
return { f: u };
|
|
67
|
+
},
|
|
68
|
+
copyState: function(e) {
|
|
69
|
+
return { f: e.f };
|
|
70
|
+
},
|
|
71
|
+
token: function(e, t) {
|
|
72
|
+
var n = t.f(e, function(e) {
|
|
73
|
+
t.f = e;
|
|
74
|
+
}), r = e.current();
|
|
75
|
+
return m.hasOwnProperty(r) ? m[r] : n;
|
|
76
|
+
},
|
|
77
|
+
languageData: { commentTokens: {
|
|
78
|
+
line: "--",
|
|
79
|
+
block: {
|
|
80
|
+
open: "{-",
|
|
81
|
+
close: "-}"
|
|
82
|
+
}
|
|
83
|
+
} }
|
|
84
|
+
};
|
|
85
|
+
export { h as haskell };
|