@tempots/beatui 0.17.0 → 0.19.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.
- package/README.md +15 -34
- package/dist/2019-CfIF9XVA.cjs +1 -0
- package/dist/2019-D0n7sHsB.js +164 -0
- package/dist/2020-BkXWq9F8.js +192 -0
- package/dist/2020-D1ziwonq.cjs +1 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/apl-B2DGVGxc.js +76 -0
- package/dist/apl-M-DNMvvR.cjs +1 -0
- package/dist/ar-BsUm-TCn.cjs +1 -0
- package/dist/{ar-D5jeVM2s.js → ar-CMndb3tf.js} +24 -18
- package/dist/ar-DYmDITuw.cjs +1 -0
- package/dist/asciiarmor-2LVJmxlE.js +34 -0
- package/dist/asciiarmor-BMx3XVjX.cjs +1 -0
- package/dist/asn1-OOsVM4yU.cjs +1 -0
- package/dist/asn1-jKiBa2Ya.js +95 -0
- package/dist/asterisk-B1QUaW1C.cjs +1 -0
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/auth/index.cjs.js +1 -0
- package/dist/auth/index.es.js +1331 -0
- package/dist/beatui.css +1 -1
- package/dist/brainfuck-BjUlYKdF.cjs +1 -0
- package/dist/brainfuck-C_p9pTT8.js +34 -0
- package/dist/clike-BEMIzMUI.cjs +1 -0
- package/dist/clike-DGTaUp48.js +620 -0
- package/dist/clojure-Ap_IXD2I.cjs +1 -0
- package/dist/clojure-CCKyeQKf.js +800 -0
- package/dist/cmake-C4D5_VmS.cjs +1 -0
- package/dist/cmake-CuaCgAKt.js +28 -0
- package/dist/cobol-BlTKFDRj.js +72 -0
- package/dist/cobol-Du-cT2hr.cjs +1 -0
- package/dist/coffeescript-BVCvwO8I.js +179 -0
- package/dist/coffeescript-DDFAj2ea.cjs +1 -0
- package/dist/commonlisp-CXBBRCTx.cjs +1 -0
- package/dist/commonlisp-D_kxz07b.js +75 -0
- package/dist/crystal-D309uH6_.js +217 -0
- package/dist/crystal-DAFWRDbh.cjs +1 -0
- package/dist/css-BkF-NPzE.js +1553 -0
- package/dist/css-DzFJyRJ8.cjs +1 -0
- package/dist/cypher-BMq4Fwjl.js +68 -0
- package/dist/cypher-BN0-oCze.cjs +1 -0
- package/dist/d-BHsqGcfm.cjs +1 -0
- package/dist/d-BZcgY6La.js +127 -0
- package/dist/de-BUFLEyKr.cjs +1 -0
- package/dist/{de-QCsvvABM.js → de-Cgy7XJBg.js} +25 -19
- package/dist/de-ClQgQrXM.cjs +1 -0
- package/dist/diff-CemTHKfk.cjs +1 -0
- package/dist/diff-Cg9d_RX2.js +18 -0
- package/dist/dockerfile-BBTH3voH.cjs +1 -0
- package/dist/dockerfile-DIy8NleC.js +194 -0
- package/dist/dtd-ChoVQPwv.cjs +1 -0
- package/dist/dtd-CtLokQ-U.js +84 -0
- package/dist/dylan-QYeExnWK.js +234 -0
- package/dist/dylan-apTQIgUA.cjs +1 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/ebnf-LYmLy17h.cjs +1 -0
- package/dist/ecl-C7WNQq7-.cjs +1 -0
- package/dist/ecl-CiXN-g_D.js +121 -0
- package/dist/eiffel-BJThA8RG.cjs +1 -0
- package/dist/eiffel-yQhjl4T1.js +110 -0
- package/dist/elm-CNT9vbN0.js +108 -0
- package/dist/elm-CcXP9T36.cjs +1 -0
- package/dist/erlang-B6mpcObI.cjs +1 -0
- package/dist/erlang-CFOYdy9e.js +487 -0
- package/dist/es-BN5Mihv0.cjs +1 -0
- package/dist/es-BxBeTRCv.cjs +1 -0
- package/dist/{es-QPLFaGbp.js → es-j0qszDAW.js} +23 -17
- package/dist/fa-BUQvM0nj.cjs +1 -0
- package/dist/{fa-DQmCKW-7.js → fa-COUp2ofv.js} +24 -16
- package/dist/fa-DxPseW3g.cjs +1 -0
- package/dist/factor-B-tsx9yW.cjs +1 -0
- package/dist/factor-DDOC7X6P.js +65 -0
- package/dist/fcl-BzAKklXo.cjs +1 -0
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/forth-BmxRyE9S.js +60 -0
- package/dist/forth-CPAzyZ_n.cjs +1 -0
- package/dist/fortran-9bvPyrOW.js +442 -0
- package/dist/fortran-DHiTlGV1.cjs +1 -0
- package/dist/{fr-MvvOUdq6.js → fr-B5Ar6QcE.js} +26 -20
- package/dist/fr-Cdyopuz3.cjs +1 -0
- package/dist/fr-CwvsJDIZ.cjs +1 -0
- package/dist/gas-BiPtGF2E.cjs +1 -0
- package/dist/gas-cpmYfFX2.js +183 -0
- package/dist/gherkin-CJuwpceU.js +34 -0
- package/dist/gherkin-Djo7Y51D.cjs +1 -0
- package/dist/groovy-BMVITiCm.cjs +1 -0
- package/dist/groovy-DZeT_VM-.js +146 -0
- package/dist/haskell-Bvt3Qq1t.js +375 -0
- package/dist/haskell-CngODaW-.cjs +1 -0
- package/dist/haxe-70NVW1pR.js +359 -0
- package/dist/haxe-Dyk-piTh.cjs +1 -0
- package/dist/{he-BgUKFv6v.js → he-D5HTHvKh.js} +24 -18
- package/dist/he-DarDNPn0.cjs +1 -0
- package/dist/he-HZvvmFUB.cjs +1 -0
- package/dist/{hi-BJXdbCIZ.js → hi-Bcc7iEXp.js} +24 -18
- package/dist/hi-Cnr1RtgA.cjs +1 -0
- package/dist/hi-tATwsXJ6.cjs +1 -0
- package/dist/http-BkLifcnL.cjs +1 -0
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/idl-B6TRFYjl.js +947 -0
- package/dist/idl-FmHDmsE-.cjs +1 -0
- package/dist/index-2DKUYRWr.js +226 -0
- package/dist/index-85k3bgcY.cjs +1 -0
- package/dist/index-B-d5blto.js +302 -0
- package/dist/index-B16dbwxM.cjs +1 -0
- package/dist/index-B2079wM-.js +921 -0
- package/dist/index-B66rNs5i.cjs +2 -0
- package/dist/index-BF4pXHo-.js +270 -0
- package/dist/index-BJfVmi_X.js +612 -0
- package/dist/index-BUKtbimR.cjs +6 -0
- package/dist/index-BYk56bqR.cjs +13 -0
- package/dist/index-BZHMnjr6.cjs +1 -0
- package/dist/index-Bg1QLlyj.js +552 -0
- package/dist/index-BguvTLHu.cjs +1 -0
- package/dist/index-BirEb-BA.js +8285 -0
- package/dist/index-By8a3eg5.cjs +1 -0
- package/dist/index-C4UzgyIA.cjs +1 -0
- package/dist/index-C9XAXTDx.cjs +1 -0
- package/dist/index-CFo2nnaI.js +342 -0
- package/dist/index-CHgx0rFt.js +76 -0
- package/dist/index-CIfx_bs7.cjs +7 -0
- package/dist/index-CKRuo2DB.js +960 -0
- package/dist/index-CRfUh74G.cjs +1 -0
- package/dist/index-CUs1c8a9.js +309 -0
- package/dist/index-CoBM7UvE.js +157 -0
- package/dist/index-Cohec4rB.cjs +1 -0
- package/dist/index-D-Rzl363.cjs +1 -0
- package/dist/index-D0-d-xdJ.js +953 -0
- package/dist/index-DC4nzG_w.js +554 -0
- package/dist/index-DD-MOsCa.js +59 -0
- package/dist/index-DD8_efWr.cjs +1 -0
- package/dist/index-DJ-avKHU.js +138 -0
- package/dist/index-DSvEBuy-.cjs +3 -0
- package/dist/index-DV7tB1MN.cjs +1 -0
- package/dist/index-DXFKCiah.cjs +8 -0
- package/dist/index-DYIv5X6N.js +289 -0
- package/dist/index-Dben4dbo.js +1874 -0
- package/dist/index-DgUJYXoy.cjs +1 -0
- package/dist/index-DjNMMz5-.cjs +1 -0
- package/dist/index-DxG_avr8.cjs +1 -0
- package/dist/index-FEy4Hwnx.cjs +1 -0
- package/dist/index-_OaxQJX1.js +74 -0
- package/dist/index-dV4F3c70.js +136 -0
- package/dist/index-dsitEt8M.cjs +1 -0
- package/dist/index-faGepKVA.js +94 -0
- package/dist/index-kk6qFeC5.cjs +1 -0
- package/dist/index-rWglN8IQ.js +1307 -0
- package/dist/index-tuwLQMCb.js +251 -0
- package/dist/index-ykojBEwT.js +101 -0
- package/dist/index.cjs.js +143 -0
- package/dist/index.es.js +4456 -7705
- package/dist/index.esm-8xolKogd.cjs +1 -0
- package/dist/index.esm-CSotgpVw.js +4959 -0
- package/dist/it-B7KeOLBm.cjs +1 -0
- package/dist/it-BmFag7j0.cjs +1 -0
- package/dist/{it-Bu7Sjs-g.js → it-CTCKFU5g.js} +24 -18
- package/dist/ja-0ldomgID.cjs +1 -0
- package/dist/{ja-DrXpNYfH.js → ja-BGoETTZv.js} +23 -15
- package/dist/ja-Dj-bAKLf.cjs +1 -0
- package/dist/javascript-C2yteZeJ.js +691 -0
- package/dist/javascript-DngSGg_0.cjs +1 -0
- package/dist/jinja2-DnB6dQmV.js +154 -0
- package/dist/jinja2-wbVbDTNi.cjs +1 -0
- package/dist/json-schema/index.cjs.js +1 -0
- package/dist/json-schema/index.es.js +37 -0
- package/dist/julia-DA67Qw9E.cjs +1 -0
- package/dist/julia-DpvXAuO6.js +241 -0
- package/dist/ko-BomUE-yQ.cjs +1 -0
- package/dist/ko-C4WEkArz.cjs +1 -0
- package/dist/{ko-BmkxLoBO.js → ko-xHeRs9LU.js} +22 -14
- package/dist/link-portal-Cr2l9f3k.js +9 -0
- package/dist/link-portal-_tiDFZqh.cjs +1 -0
- package/dist/livescript-Bg3URadp.cjs +1 -0
- package/dist/livescript-CanGTf8u.js +272 -0
- package/dist/lua-CIsxjGwi.cjs +1 -0
- package/dist/lua-XplVlWi_.js +217 -0
- package/dist/markdown/index.cjs.js +2 -0
- package/dist/markdown/index.es.js +422 -0
- package/dist/markdown.css +39 -0
- package/dist/mathematica-BG089QIc.cjs +1 -0
- package/dist/mathematica-jaRHnSxC.js +35 -0
- package/dist/mbox-BctzC1hL.js +76 -0
- package/dist/mbox-CySolFFZ.cjs +1 -0
- package/dist/milkdown/index.cjs.js +1 -0
- package/dist/milkdown/index.es.js +4 -0
- package/dist/milkdown-input-BbbZJGDl.js +62376 -0
- package/dist/milkdown-input-C-Muq7PQ.cjs +941 -0
- package/dist/milkdown-url-BKbqhNCO.js +4 -0
- package/dist/milkdown-url-BLgXPmZR.cjs +1 -0
- package/dist/milkdown.css +1903 -0
- package/dist/mirc-BfqEffzk.cjs +1 -0
- package/dist/mirc-CFBPAOaF.js +72 -0
- package/dist/mllike-BSnXJBGA.js +272 -0
- package/dist/mllike-QUjwI6zq.cjs +1 -0
- package/dist/modal-nbZW44XS.js +614 -0
- package/dist/modal-wbG_oGOr.cjs +1 -0
- package/dist/modelica-B6Zhcb-M.cjs +1 -0
- package/dist/modelica-vUgVs--1.js +93 -0
- package/dist/monaco/index.cjs.js +2 -0
- package/dist/monaco/index.es.js +269 -0
- package/dist/monaco.css +14 -0
- package/dist/mscgen-BToym4Bs.cjs +1 -0
- package/dist/mscgen-Cpl0NYLN.js +104 -0
- package/dist/mumps-CQoS1kWX.js +25 -0
- package/dist/mumps-wfyQdxSu.cjs +1 -0
- package/dist/nginx-CwqyBUfA.cjs +1 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/nl-D-y231ZO.cjs +1 -0
- package/dist/nl-Dr-l6zUy.cjs +1 -0
- package/dist/{nl-DC5KbcZ1.js → nl-ey2Li7DF.js} +24 -18
- package/dist/notice-CIPcSfD5.js +2432 -0
- package/dist/notice-Cq02YHoN.cjs +1 -0
- package/dist/nsis-DPj2fUaP.cjs +1 -0
- package/dist/nsis-fePjrhq7.js +62 -0
- package/dist/ntriples-CsNjv2QF.js +79 -0
- package/dist/ntriples-DgwJmozm.cjs +1 -0
- package/dist/octave-1pkKrgAA.cjs +1 -0
- package/dist/octave-C8PmmSRH.js +143 -0
- package/dist/oz-BXOZCt0U.cjs +1 -0
- package/dist/oz-Ce8aN8oE.js +151 -0
- package/dist/pascal-De0D6mP7.js +77 -0
- package/dist/pascal-DtY2LEkJ.cjs +1 -0
- package/dist/perl-B4bSCe1C.js +915 -0
- package/dist/perl-CVDWbEju.cjs +1 -0
- package/dist/pig-D24Z8EXi.js +54 -0
- package/dist/pig-DMByOrnr.cjs +1 -0
- package/dist/pl-BK0i_yvq.cjs +1 -0
- package/dist/{pl-BJJ-Grej.js → pl-Bf0QaCGx.js} +27 -21
- package/dist/pl-G6e4Mybr.cjs +1 -0
- package/dist/powershell-BaoYaFvj.cjs +1 -0
- package/dist/powershell-DkYVfTzP.js +249 -0
- package/dist/preprocess-CvkqwVNt.cjs +3 -0
- package/dist/preprocess-D898zxsP.js +2295 -0
- package/dist/properties-DXHJZ3WE.cjs +1 -0
- package/dist/properties-Dn9wna3M.js +26 -0
- package/dist/protobuf-BKhXdfH6.cjs +1 -0
- package/dist/protobuf-BPIjwpzm.js +49 -0
- package/dist/pt-CD2Eqazl.cjs +1 -0
- package/dist/{pt-DH8tH7fr.js → pt-D-_KxA9g.js} +26 -20
- package/dist/pt-oBMmVYcu.cjs +1 -0
- package/dist/pug-CwAQJzGR.js +248 -0
- package/dist/pug-kEfRDOiF.cjs +1 -0
- package/dist/puppet-8mAyuMbW.cjs +1 -0
- package/dist/puppet-nyd4dhjf.js +45 -0
- package/dist/python-BkR3uSy8.js +313 -0
- package/dist/python-D-iU6WXz.cjs +1 -0
- package/dist/q-BPQ45Nxu.cjs +1 -0
- package/dist/q-DXjKs-tC.js +83 -0
- package/dist/r-LKEuhEGI.js +104 -0
- package/dist/r-r2_EZsON.cjs +1 -0
- package/dist/rpm-IznJm2Xc.js +57 -0
- package/dist/rpm-YK81m3qU.cjs +1 -0
- package/dist/ru-CKh2xgqC.cjs +1 -0
- package/dist/ru-CtxMmoa6.cjs +1 -0
- package/dist/{ru-DoNk8aVN.js → ru-Dzbl29K2.js} +29 -21
- package/dist/ruby-CcYfvIk6.js +228 -0
- package/dist/ruby-Cn1sFkZF.cjs +1 -0
- package/dist/sas-7E8yHoCW.js +105 -0
- package/dist/sas-DAGcJy94.cjs +1 -0
- package/dist/scheme-B0ZrbojV.cjs +1 -0
- package/dist/scheme-DjibxsNh.js +124 -0
- package/dist/shell-BMYo43V6.cjs +1 -0
- package/dist/shell-C0C2sNA_.js +182 -0
- package/dist/sieve-Bwz7vjP5.js +72 -0
- package/dist/sieve-CIYW-b_H.cjs +1 -0
- package/dist/simple-mode-B0dvCdAA.js +89 -0
- package/dist/simple-mode-BIKNPBes.cjs +1 -0
- package/dist/smalltalk-Bhddl2pB.js +48 -0
- package/dist/smalltalk-CSslY-3i.cjs +1 -0
- package/dist/solr-A1kSnAwJ.cjs +1 -0
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/sparql-DnHMBLLY.cjs +1 -0
- package/dist/sparql-FarWu_Gb.js +197 -0
- package/dist/spreadsheet-B7_BK8hB.cjs +1 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/sql-9VmIWHrZ.cjs +1 -0
- package/dist/sql-CfG5lQ3l.js +282 -0
- package/dist/stex-B4wyjEnp.cjs +1 -0
- package/dist/stex-Du4h4KAU.js +129 -0
- package/dist/styles-url-B-d6aezR.cjs +1 -0
- package/dist/styles-url-B4WGMvfi.js +4 -0
- package/dist/styles-url-CZUL_YRT.cjs +1 -0
- package/dist/styles-url-DpP5gepF.js +4 -0
- package/dist/stylus-CAdqWld3.js +250 -0
- package/dist/stylus-D6GYOT3Z.cjs +1 -0
- package/dist/swift-DGw6Cgu8.cjs +1 -0
- package/dist/swift-DSxqR9R6.js +230 -0
- package/dist/tcl-ByLXbQFo.cjs +1 -0
- package/dist/tcl-xfoLljhY.js +81 -0
- package/dist/textile-D1AWE-pc.js +295 -0
- package/dist/textile-iryw-lTw.cjs +1 -0
- package/dist/theme-CJVt8QIc.js +34 -0
- package/dist/theme-YS3sFklH.cjs +1 -0
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiddlywiki-D8IJz1k7.cjs +1 -0
- package/dist/tiki-C5p5KSQK.cjs +1 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/timer-CcMCjYrq.cjs +1 -0
- package/dist/timer-CkgWORR9.js +42 -0
- package/dist/toml-3ZsH_4Qa.cjs +1 -0
- package/dist/toml-BHiuTcfn.js +49 -0
- package/dist/tr-BbpC5gzM.cjs +1 -0
- package/dist/tr-CgJ8uhZu.cjs +1 -0
- package/dist/{tr-BD5Li2rQ.js → tr-yMHT8n7z.js} +24 -18
- package/dist/translations-CXE8Z_Ac.cjs +1 -0
- package/dist/translations-DBtfTNnM.js +2005 -0
- package/dist/translations-DbN-OSLv.js +47 -0
- package/dist/translations-EQ1qPZ0_.cjs +2 -0
- package/dist/troff-D-3QCOYN.cjs +1 -0
- package/dist/troff-D2UO-fKf.js +35 -0
- package/dist/ttcn-Bsa4sfRm.js +123 -0
- package/dist/ttcn-C2MXAqcM.cjs +1 -0
- package/dist/ttcn-cfg-BYqcMRxC.cjs +1 -0
- package/dist/ttcn-cfg-Bac_acMi.js +88 -0
- package/dist/turtle-DSJNatSv.cjs +1 -0
- package/dist/turtle-xwJUxoPV.js +80 -0
- package/dist/types/auth/index.d.ts +1 -0
- package/dist/types/beatui-i18n/default.d.ts +8 -1
- package/dist/types/beatui-i18n/locales/en.d.ts +8 -1
- package/dist/types/beatui-i18n/translations.d.ts +8 -1
- package/dist/types/components/auth/auth-divider.d.ts +2 -2
- package/dist/types/components/auth/index.d.ts +8 -6
- package/dist/types/components/auth/password-strength-indicator.d.ts +4 -4
- package/dist/types/components/auth/reset-password-form.d.ts +2 -2
- package/dist/types/components/auth/signin-form.d.ts +2 -2
- package/dist/types/components/auth/signup-form.d.ts +2 -2
- package/dist/types/components/auth/social-login-button.d.ts +27 -27
- package/dist/types/components/auth/types.d.ts +11 -13
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/button/close-button.d.ts +15 -0
- package/dist/types/components/button/index.d.ts +1 -0
- package/dist/types/components/data/tag.d.ts +3 -2
- package/dist/types/components/form/control/control-factory.d.ts +24 -0
- package/dist/types/components/form/control/date-utils.d.ts +6 -0
- package/dist/types/components/form/control/index.d.ts +3 -22
- package/dist/types/components/form/control/list-control.d.ts +23 -14
- package/dist/types/components/form/controller/controller.d.ts +20 -1
- package/dist/types/components/form/controller/index.d.ts +2 -0
- package/dist/types/components/form/controller/union-controller.d.ts +53 -0
- package/dist/types/components/form/controller/utils.d.ts +4 -0
- package/dist/types/components/form/input/appearance-selector.d.ts +2 -1
- package/dist/types/components/form/input/base64-input.d.ts +10 -0
- package/dist/types/components/form/input/base64s-input.d.ts +12 -0
- package/dist/types/components/form/input/bigint-input.d.ts +9 -0
- package/dist/types/components/form/input/color-input.d.ts +8 -1
- package/dist/types/components/form/input/combobox-input.d.ts +16 -0
- package/dist/types/components/form/input/combobox-tags-input.d.ts +16 -0
- package/dist/types/components/form/input/dropdown-base.d.ts +19 -0
- package/dist/types/components/form/input/dropdown-input.d.ts +14 -0
- package/dist/types/components/form/input/duration-input.d.ts +3 -0
- package/dist/types/components/form/input/duration-mask.d.ts +12 -0
- package/dist/types/components/form/input/editable-text.d.ts +2 -1
- package/dist/types/components/form/input/file-input.d.ts +3 -4
- package/dist/types/components/form/input/files-input.d.ts +12 -0
- package/dist/types/components/form/input/index.d.ts +42 -2
- package/dist/types/components/form/input/input-container.d.ts +2 -3
- package/dist/types/components/form/input/input-options.d.ts +0 -13
- package/dist/types/components/form/input/input-wrapper.d.ts +1 -1
- package/dist/types/components/form/input/instant-input.d.ts +3 -0
- package/dist/types/components/form/input/lazy-native-select.d.ts +1 -1
- package/dist/types/components/form/input/list-input.d.ts +14 -0
- package/dist/types/components/form/input/mask-input.d.ts +94 -0
- package/dist/types/components/form/input/native-select.d.ts +4 -23
- package/dist/types/components/form/input/nullable-base64-input.d.ts +8 -0
- package/dist/types/components/form/input/nullable-bigint-input.d.ts +9 -0
- package/dist/types/components/form/input/nullable-duration-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-email-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-instant-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-mask-input.d.ts +5 -0
- package/dist/types/components/form/input/nullable-number-input.d.ts +9 -0
- package/dist/types/components/form/input/nullable-password-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-plain-date-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-date-time-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-month-day-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-time-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-year-month-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-rating-input.d.ts +14 -0
- package/dist/types/components/form/input/nullable-url-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-utils.d.ts +2 -0
- package/dist/types/components/form/input/nullable-uuid-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-zoned-date-time-input.d.ts +3 -0
- package/dist/types/components/form/input/option.d.ts +38 -0
- package/dist/types/components/form/input/plain-date-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-date-time-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-month-day-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-time-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-year-month-input.d.ts +3 -0
- package/dist/types/components/form/input/rating-input.d.ts +15 -0
- package/dist/types/components/form/input/segmented-input.d.ts +10 -0
- package/dist/types/components/form/input/select-tags-input.d.ts +20 -0
- package/dist/types/components/form/input/slider-input.d.ts +15 -0
- package/dist/types/components/form/input/tag-utils.d.ts +11 -0
- package/dist/types/components/form/input/url-input.d.ts +2 -0
- package/dist/types/components/form/input/uuid-input.d.ts +2 -0
- package/dist/types/components/form/input/zoned-date-time-input.d.ts +3 -0
- package/dist/types/components/form/schema/custom-validation.d.ts +1 -1
- package/dist/types/components/form/use-form.d.ts +11 -4
- package/dist/types/components/json-schema/ajv-utils.d.ts +121 -0
- package/dist/types/components/json-schema/cache-management.d.ts +148 -0
- package/dist/types/components/json-schema/containers/container-layouts.d.ts +66 -0
- package/dist/types/components/json-schema/controls/any-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/array-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/boolean-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/composition-controls.d.ts +24 -0
- package/dist/types/components/json-schema/controls/composition-shared.d.ts +34 -0
- package/dist/types/components/json-schema/controls/enum-const-controls.d.ts +17 -0
- package/dist/types/components/json-schema/controls/generic-control.d.ts +18 -0
- package/dist/types/components/json-schema/controls/null-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/number-controls.d.ts +17 -0
- package/dist/types/components/json-schema/controls/object-control.d.ts +12 -0
- package/dist/types/components/json-schema/controls/object-helpers.d.ts +31 -0
- package/dist/types/components/json-schema/controls/presence-toggle.d.ts +12 -0
- package/dist/types/components/json-schema/controls/schema-banners.d.ts +14 -0
- package/dist/types/components/json-schema/controls/schema-wrapper.d.ts +7 -0
- package/dist/types/components/json-schema/controls/shared-utils.d.ts +16 -0
- package/dist/types/components/json-schema/controls/string-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/type-utils.d.ts +27 -0
- package/dist/types/components/json-schema/controls/union-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls.d.ts +11 -0
- package/dist/types/components/json-schema/discriminator/discriminator-utils.d.ts +57 -0
- package/dist/types/components/json-schema/index.d.ts +5 -0
- package/dist/types/components/json-schema/json-schema-form.d.ts +79 -0
- package/dist/types/components/json-schema/oneof-branch-detection.d.ts +35 -0
- package/dist/types/components/json-schema/ref-utils.d.ts +18 -0
- package/dist/types/components/json-schema/schema-context.d.ts +185 -0
- package/dist/types/components/json-schema/validation/async-validation.d.ts +113 -0
- package/dist/types/components/json-schema/validation/conditional-validation.d.ts +75 -0
- package/dist/types/components/json-schema/validation/cross-field-validation.d.ts +71 -0
- package/dist/types/components/json-schema/validation/error-aggregation.d.ts +84 -0
- package/dist/types/components/json-schema/validation/performance-optimization.d.ts +120 -0
- package/dist/types/components/json-schema/validator.d.ts +10 -0
- package/dist/types/components/json-schema/visibility/visibility-evaluation.d.ts +77 -0
- package/dist/types/components/json-schema/visibility/visibility-wrapper.d.ts +56 -0
- package/dist/types/components/json-schema/widgets/enhanced-widgets.d.ts +70 -0
- package/dist/types/components/json-schema/widgets/string-controls.d.ts +8 -0
- package/dist/types/components/json-schema/widgets/string-detection.d.ts +3 -0
- package/dist/types/components/json-schema/widgets/string-type.d.ts +62 -0
- package/dist/types/components/json-schema/widgets/utils.d.ts +45 -0
- package/dist/types/components/json-schema/widgets/widget-composition.d.ts +144 -0
- package/dist/types/components/json-schema/widgets/widget-customization.d.ts +120 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/dist/types/components/layout/nine-slice-scroll-view.d.ts +21 -0
- package/dist/types/components/layout/scrollable-panel.d.ts +1 -1
- package/dist/types/components/milkdown/milkdown-input.d.ts +15 -0
- package/dist/types/components/milkdown/milkdown-url.d.ts +2 -0
- package/dist/types/components/misc/index.d.ts +3 -0
- package/dist/types/components/misc/link-portal.d.ts +11 -0
- package/dist/types/components/misc/notice.d.ts +15 -0
- package/dist/types/components/misc/style-portal.d.ts +10 -0
- package/dist/types/components/monaco/monaco-editor-input.d.ts +12 -0
- package/dist/types/components/navigation/flyout.d.ts +2 -2
- package/dist/types/components/navigation/index.d.ts +1 -0
- package/dist/types/components/navigation/menu.d.ts +7 -7
- package/dist/types/components/navigation/toolbar/index.d.ts +1 -0
- package/dist/types/components/navigation/toolbar/toolbar.d.ts +17 -0
- package/dist/types/components/overlay/drawer.d.ts +2 -2
- package/dist/types/components/overlay/modal.d.ts +3 -3
- package/dist/types/components/overlay/tooltip.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/json-schema/index.d.ts +1 -0
- package/dist/types/markdown/extensions.d.ts +8 -0
- package/dist/types/markdown/index.d.ts +17 -0
- package/dist/types/markdown/styles-url.d.ts +2 -0
- package/dist/types/markdown/styles.d.ts +2 -0
- package/dist/types/milkdown/index.d.ts +1 -0
- package/dist/types/milkdown/styles.d.ts +2 -0
- package/dist/types/monaco/index.d.ts +3 -0
- package/dist/types/monaco/lazy-loader.d.ts +5 -0
- package/dist/types/monaco/styles-url.d.ts +2 -0
- package/dist/types/monaco/styles.d.ts +2 -0
- package/dist/types/monaco/types.d.ts +14 -0
- package/dist/types/styles/base-url.d.ts +2 -0
- package/dist/types/styles/base.d.ts +2 -0
- package/dist/types/temporal/index.d.ts +3 -0
- package/dist/types/temporal/runtime.d.ts +2 -0
- package/dist/types/temporal/types.d.ts +10 -0
- package/dist/types/temporal/with-temporal.d.ts +3 -0
- package/dist/types/tokens/colors.d.ts +12 -1
- package/dist/types/utils/focus-trap.d.ts +4 -4
- package/dist/{ur-CUvRCu9R.js → ur-CdQA0epV.js} +24 -18
- package/dist/ur-DvqAg9gW.cjs +1 -0
- package/dist/ur-kkik6-_r.cjs +1 -0
- package/dist/vb-c2kQGd6-.js +74 -0
- package/dist/vb-qzHzzvyB.cjs +1 -0
- package/dist/vbscript-1f_Dhg5H.js +324 -0
- package/dist/vbscript-CWm8v9tE.cjs +1 -0
- package/dist/velocity-D3_yAIp3.cjs +1 -0
- package/dist/velocity-DJd0pTTC.js +96 -0
- package/dist/verilog-BOhLNmQo.cjs +1 -0
- package/dist/verilog-CiS1jyi5.js +262 -0
- package/dist/vhdl-CMFbi8Im.cjs +1 -0
- package/dist/vhdl-T9HkrbI2.js +106 -0
- package/dist/vi-1xtFXJc0.cjs +1 -0
- package/dist/{vi-BXI6n5F3.js → vi-A8UmZU3L.js} +26 -20
- package/dist/vi-D5R3YcU0.cjs +1 -0
- package/dist/webidl-CWb_flNk.cjs +1 -0
- package/dist/webidl-CjfDENEo.js +155 -0
- package/dist/xquery-BUQdORAS.js +422 -0
- package/dist/xquery-Cjw5fRnG.cjs +1 -0
- package/dist/yacas-C0absKBh.js +73 -0
- package/dist/yacas-urx_N5C8.cjs +1 -0
- package/dist/z80-CsG3CM6M.cjs +1 -0
- package/dist/z80-Pki2zAjW.js +61 -0
- package/dist/zh-CCGXcj5r.cjs +1 -0
- package/dist/{zh-DyIbx84k.js → zh-D0nnvX8T.js} +23 -15
- package/dist/zh-DC_SsXdk.cjs +1 -0
- package/package.json +57 -8
- package/dist/index.umd.js +0 -100
- package/dist/types/components/form/control/combobox-control.d.ts +0 -11
- package/dist/types/components/form/control/control-input-wrapper.d.ts +0 -7
- package/dist/types/components/form/control/control-options.d.ts +0 -20
- package/dist/types/components/form/control/date-control.d.ts +0 -3
- package/dist/types/components/form/control/date-time-control.d.ts +0 -3
- package/dist/types/components/form/control/email-control.d.ts +0 -3
- package/dist/types/components/form/control/file-control.d.ts +0 -13
- package/dist/types/components/form/control/lazy-native-select-control.d.ts +0 -16
- package/dist/types/components/form/control/native-select-control.d.ts +0 -9
- package/dist/types/components/form/control/nullable-date-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-date-time-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-string-date-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-string-date-time-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-text-area-control.d.ts +0 -7
- package/dist/types/components/form/control/nullable-text-control.d.ts +0 -3
- package/dist/types/components/form/control/number-control.d.ts +0 -9
- package/dist/types/components/form/control/password-control.d.ts +0 -3
- package/dist/types/components/form/control/segmented-control.d.ts +0 -10
- package/dist/types/components/form/control/string-date-control.d.ts +0 -3
- package/dist/types/components/form/control/tags-control.d.ts +0 -3
- package/dist/types/components/form/control/text-area-control.d.ts +0 -7
- package/dist/types/components/form/control/text-control.d.ts +0 -8
- package/dist/types/components/form/input/combobox.d.ts +0 -39
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { s as e } from "./simple-mode-B0dvCdAA.js";
|
|
2
|
+
const n = e({
|
|
3
|
+
start: [
|
|
4
|
+
// comments
|
|
5
|
+
{ regex: /#?!.*/, token: "comment" },
|
|
6
|
+
// strings """, multiline --> state
|
|
7
|
+
{ regex: /"""/, token: "string", next: "string3" },
|
|
8
|
+
{ regex: /(STRING:)(\s)/, token: ["keyword", null], next: "string2" },
|
|
9
|
+
{ regex: /\S*?"/, token: "string", next: "string" },
|
|
10
|
+
// numbers: dec, hex, unicode, bin, fractional, complex
|
|
11
|
+
{ regex: /(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/, token: "number" },
|
|
12
|
+
//{regex: /[+-]?/} //fractional
|
|
13
|
+
// definition: defining word, defined word, etc
|
|
14
|
+
{ regex: /((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/, token: ["keyword", null, "def", null, "bracket"], next: "stack" },
|
|
15
|
+
// method definition: defining word, type, defined word, etc
|
|
16
|
+
{ regex: /(M\:)(\s+)(\S+)(\s+)(\S+)/, token: ["keyword", null, "def", null, "tag"] },
|
|
17
|
+
// vocabulary using --> state
|
|
18
|
+
{ regex: /USING\:/, token: "keyword", next: "vocabulary" },
|
|
19
|
+
// vocabulary definition/use
|
|
20
|
+
{ regex: /(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/, token: ["keyword", null, "tag"] },
|
|
21
|
+
// definition: a defining word, defined word
|
|
22
|
+
{ regex: /(\S+\:)(\s+)(\S+)(?=\s|$)/, token: ["keyword", null, "def"] },
|
|
23
|
+
// "keywords", incl. ; t f . [ ] { } defining words
|
|
24
|
+
{ regex: /(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|<PRIVATE|\.|\S*\[|\]|\S*\{|\})(?=\s|$)/, token: "keyword" },
|
|
25
|
+
// <constructors> and the like
|
|
26
|
+
{ regex: /\S+[\)>\.\*\?]+(?=\s|$)/, token: "builtin" },
|
|
27
|
+
{ regex: /[\)><]+\S+(?=\s|$)/, token: "builtin" },
|
|
28
|
+
// operators
|
|
29
|
+
{ regex: /(?:[\+\-\=\/\*<>])(?=\s|$)/, token: "keyword" },
|
|
30
|
+
// any id (?)
|
|
31
|
+
{ regex: /\S+/, token: "variable" },
|
|
32
|
+
{ regex: /\s+|./, token: null }
|
|
33
|
+
],
|
|
34
|
+
vocabulary: [
|
|
35
|
+
{ regex: /;/, token: "keyword", next: "start" },
|
|
36
|
+
{ regex: /\S+/, token: "tag" },
|
|
37
|
+
{ regex: /\s+|./, token: null }
|
|
38
|
+
],
|
|
39
|
+
string: [
|
|
40
|
+
{ regex: /(?:[^\\]|\\.)*?"/, token: "string", next: "start" },
|
|
41
|
+
{ regex: /.*/, token: "string" }
|
|
42
|
+
],
|
|
43
|
+
string2: [
|
|
44
|
+
{ regex: /^;/, token: "keyword", next: "start" },
|
|
45
|
+
{ regex: /.*/, token: "string" }
|
|
46
|
+
],
|
|
47
|
+
string3: [
|
|
48
|
+
{ regex: /(?:[^\\]|\\.)*?"""/, token: "string", next: "start" },
|
|
49
|
+
{ regex: /.*/, token: "string" }
|
|
50
|
+
],
|
|
51
|
+
stack: [
|
|
52
|
+
{ regex: /\)/, token: "bracket", next: "start" },
|
|
53
|
+
{ regex: /--/, token: "bracket" },
|
|
54
|
+
{ regex: /\S+/, token: "meta" },
|
|
55
|
+
{ regex: /\s+|./, token: null }
|
|
56
|
+
],
|
|
57
|
+
languageData: {
|
|
58
|
+
name: "factor",
|
|
59
|
+
dontIndentStates: ["start", "vocabulary", "string", "string3", "stack"],
|
|
60
|
+
commentTokens: { line: "!" }
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
export {
|
|
64
|
+
n as factor
|
|
65
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var d={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},f={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},o={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},p={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},l=/[+\-*&^%:=<>!|\/]/;function i(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=c,c(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(l.test(t))return e.eatWhile(l),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return d.propertyIsEnumerable(r)||f.propertyIsEnumerable(r)||o.propertyIsEnumerable(r)?"keyword":p.propertyIsEnumerable(r)?"atom":"variable"}function c(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function a(e,n,t,r,u){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=u}function k(e,n,t){return e.context=new a(e.indented,n,t,null,e.context)}function b(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}const v={name:"fcl",startState:function(e){return{tokenize:null,context:new a(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||i)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var u=e.current().toLowerCase();return f.propertyIsEnumerable(u)?k(n,e.column(),"end_block"):o.propertyIsEnumerable(u)&&b(n),n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=i&&e.tokenize!=null)return 0;var r=e.context,u=o.propertyIsEnumerable(n);return r.align?r.column+(u?0:1):r.indented+(u?0:t.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}};exports.fcl=v;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
var d = {
|
|
2
|
+
term: !0,
|
|
3
|
+
method: !0,
|
|
4
|
+
accu: !0,
|
|
5
|
+
rule: !0,
|
|
6
|
+
then: !0,
|
|
7
|
+
is: !0,
|
|
8
|
+
and: !0,
|
|
9
|
+
or: !0,
|
|
10
|
+
if: !0,
|
|
11
|
+
default: !0
|
|
12
|
+
}, f = {
|
|
13
|
+
var_input: !0,
|
|
14
|
+
var_output: !0,
|
|
15
|
+
fuzzify: !0,
|
|
16
|
+
defuzzify: !0,
|
|
17
|
+
function_block: !0,
|
|
18
|
+
ruleblock: !0
|
|
19
|
+
}, o = {
|
|
20
|
+
end_ruleblock: !0,
|
|
21
|
+
end_defuzzify: !0,
|
|
22
|
+
end_function_block: !0,
|
|
23
|
+
end_fuzzify: !0,
|
|
24
|
+
end_var: !0
|
|
25
|
+
}, p = {
|
|
26
|
+
true: !0,
|
|
27
|
+
false: !0,
|
|
28
|
+
nan: !0,
|
|
29
|
+
real: !0,
|
|
30
|
+
min: !0,
|
|
31
|
+
max: !0,
|
|
32
|
+
cog: !0,
|
|
33
|
+
cogs: !0
|
|
34
|
+
}, l = /[+\-*&^%:=<>!|\/]/;
|
|
35
|
+
function i(e, n) {
|
|
36
|
+
var t = e.next();
|
|
37
|
+
if (/[\d\.]/.test(t))
|
|
38
|
+
return t == "." ? e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/) : t == "0" ? e.match(/^[xX][0-9a-fA-F]+/) || e.match(/^0[0-7]+/) : e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/), "number";
|
|
39
|
+
if (t == "/" || t == "(") {
|
|
40
|
+
if (e.eat("*"))
|
|
41
|
+
return n.tokenize = c, c(e, n);
|
|
42
|
+
if (e.eat("/"))
|
|
43
|
+
return e.skipToEnd(), "comment";
|
|
44
|
+
}
|
|
45
|
+
if (l.test(t))
|
|
46
|
+
return e.eatWhile(l), "operator";
|
|
47
|
+
e.eatWhile(/[\w\$_\xa1-\uffff]/);
|
|
48
|
+
var r = e.current().toLowerCase();
|
|
49
|
+
return d.propertyIsEnumerable(r) || f.propertyIsEnumerable(r) || o.propertyIsEnumerable(r) ? "keyword" : p.propertyIsEnumerable(r) ? "atom" : "variable";
|
|
50
|
+
}
|
|
51
|
+
function c(e, n) {
|
|
52
|
+
for (var t = !1, r; r = e.next(); ) {
|
|
53
|
+
if ((r == "/" || r == ")") && t) {
|
|
54
|
+
n.tokenize = i;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
t = r == "*";
|
|
58
|
+
}
|
|
59
|
+
return "comment";
|
|
60
|
+
}
|
|
61
|
+
function a(e, n, t, r, u) {
|
|
62
|
+
this.indented = e, this.column = n, this.type = t, this.align = r, this.prev = u;
|
|
63
|
+
}
|
|
64
|
+
function k(e, n, t) {
|
|
65
|
+
return e.context = new a(e.indented, n, t, null, e.context);
|
|
66
|
+
}
|
|
67
|
+
function v(e) {
|
|
68
|
+
if (e.context.prev) {
|
|
69
|
+
var n = e.context.type;
|
|
70
|
+
return n == "end_block" && (e.indented = e.context.indented), e.context = e.context.prev;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
const x = {
|
|
74
|
+
name: "fcl",
|
|
75
|
+
startState: function(e) {
|
|
76
|
+
return {
|
|
77
|
+
tokenize: null,
|
|
78
|
+
context: new a(-e, 0, "top", !1),
|
|
79
|
+
indented: 0,
|
|
80
|
+
startOfLine: !0
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
token: function(e, n) {
|
|
84
|
+
var t = n.context;
|
|
85
|
+
if (e.sol() && (t.align == null && (t.align = !1), n.indented = e.indentation(), n.startOfLine = !0), e.eatSpace()) return null;
|
|
86
|
+
var r = (n.tokenize || i)(e, n);
|
|
87
|
+
if (r == "comment") return r;
|
|
88
|
+
t.align == null && (t.align = !0);
|
|
89
|
+
var u = e.current().toLowerCase();
|
|
90
|
+
return f.propertyIsEnumerable(u) ? k(n, e.column(), "end_block") : o.propertyIsEnumerable(u) && v(n), n.startOfLine = !1, r;
|
|
91
|
+
},
|
|
92
|
+
indent: function(e, n, t) {
|
|
93
|
+
if (e.tokenize != i && e.tokenize != null) return 0;
|
|
94
|
+
var r = e.context, u = o.propertyIsEnumerable(n);
|
|
95
|
+
return r.align ? r.column + (u ? 0 : 1) : r.indented + (u ? 0 : t.unit);
|
|
96
|
+
},
|
|
97
|
+
languageData: {
|
|
98
|
+
commentTokens: { line: "//", block: { open: "(*", close: "*)" } }
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
export {
|
|
102
|
+
x as fcl
|
|
103
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
function t(i) {
|
|
2
|
+
var n = [];
|
|
3
|
+
return i.split(" ").forEach(function(E) {
|
|
4
|
+
n.push({ name: E });
|
|
5
|
+
}), n;
|
|
6
|
+
}
|
|
7
|
+
var r = t(
|
|
8
|
+
"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"
|
|
9
|
+
), O = t("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");
|
|
10
|
+
function R(i, n) {
|
|
11
|
+
var E;
|
|
12
|
+
for (E = i.length - 1; E >= 0; E--)
|
|
13
|
+
if (i[E].name === n.toUpperCase())
|
|
14
|
+
return i[E];
|
|
15
|
+
}
|
|
16
|
+
const L = {
|
|
17
|
+
name: "forth",
|
|
18
|
+
startState: function() {
|
|
19
|
+
return {
|
|
20
|
+
state: "",
|
|
21
|
+
base: 10,
|
|
22
|
+
coreWordList: r,
|
|
23
|
+
immediateWordList: O,
|
|
24
|
+
wordList: []
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
token: function(i, n) {
|
|
28
|
+
var E;
|
|
29
|
+
if (i.eatSpace())
|
|
30
|
+
return null;
|
|
31
|
+
if (n.state === "") {
|
|
32
|
+
if (i.match(/^(\]|:NONAME)(\s|$)/i))
|
|
33
|
+
return n.state = " compilation", "builtin";
|
|
34
|
+
if (E = i.match(/^(\:)\s+(\S+)(\s|$)+/), E)
|
|
35
|
+
return n.wordList.push({ name: E[2].toUpperCase() }), n.state = " compilation", "def";
|
|
36
|
+
if (E = i.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i), E)
|
|
37
|
+
return n.wordList.push({ name: E[2].toUpperCase() }), "def";
|
|
38
|
+
if (E = i.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/), E)
|
|
39
|
+
return "builtin";
|
|
40
|
+
} else {
|
|
41
|
+
if (i.match(/^(\;|\[)(\s)/))
|
|
42
|
+
return n.state = "", i.backUp(1), "builtin";
|
|
43
|
+
if (i.match(/^(\;|\[)($)/))
|
|
44
|
+
return n.state = "", "builtin";
|
|
45
|
+
if (i.match(/^(POSTPONE)\s+\S+(\s|$)+/))
|
|
46
|
+
return "builtin";
|
|
47
|
+
}
|
|
48
|
+
if (E = i.match(/^(\S+)(\s+|$)/), E)
|
|
49
|
+
return R(n.wordList, E[1]) !== void 0 ? "variable" : E[1] === "\\" ? (i.skipToEnd(), "comment") : R(n.coreWordList, E[1]) !== void 0 ? "builtin" : R(n.immediateWordList, E[1]) !== void 0 ? "keyword" : E[1] === "(" ? (i.eatWhile(function(e) {
|
|
50
|
+
return e !== ")";
|
|
51
|
+
}), i.eat(")"), "comment") : E[1] === ".(" ? (i.eatWhile(function(e) {
|
|
52
|
+
return e !== ")";
|
|
53
|
+
}), i.eat(")"), "string") : E[1] === 'S"' || E[1] === '."' || E[1] === 'C"' ? (i.eatWhile(function(e) {
|
|
54
|
+
return e !== '"';
|
|
55
|
+
}), i.eat('"'), "string") : E[1] - 68719476735 ? "number" : "atom";
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
export {
|
|
59
|
+
L as forth
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(i){var e=[];return i.split(" ").forEach(function(E){e.push({name:E})}),e}var R=r("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"),O=r("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function n(i,e){var E;for(E=i.length-1;E>=0;E--)if(i[E].name===e.toUpperCase())return i[E]}const S={name:"forth",startState:function(){return{state:"",base:10,coreWordList:R,immediateWordList:O,wordList:[]}},token:function(i,e){var E;if(i.eatSpace())return null;if(e.state===""){if(i.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin";if(E=i.match(/^(\:)\s+(\S+)(\s|$)+/),E)return e.wordList.push({name:E[2].toUpperCase()}),e.state=" compilation","def";if(E=i.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),E)return e.wordList.push({name:E[2].toUpperCase()}),"def";if(E=i.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),E)return"builtin"}else{if(i.match(/^(\;|\[)(\s)/))return e.state="",i.backUp(1),"builtin";if(i.match(/^(\;|\[)($)/))return e.state="","builtin";if(i.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(E=i.match(/^(\S+)(\s+|$)/),E)return n(e.wordList,E[1])!==void 0?"variable":E[1]==="\\"?(i.skipToEnd(),"comment"):n(e.coreWordList,E[1])!==void 0?"builtin":n(e.immediateWordList,E[1])!==void 0?"keyword":E[1]==="("?(i.eatWhile(function(t){return t!==")"}),i.eat(")"),"comment"):E[1]===".("?(i.eatWhile(function(t){return t!==")"}),i.eat(")"),"string"):E[1]==='S"'||E[1]==='."'||E[1]==='C"'?(i.eatWhile(function(t){return t!=='"'}),i.eat('"'),"string"):E[1]-68719476735?"number":"atom"}};exports.forth=S;
|
|
@@ -0,0 +1,442 @@
|
|
|
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()) return null;
|
|
436
|
+
var e = (n.tokenize || u)(t, n);
|
|
437
|
+
return e == "comment" || e == "meta", e;
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
export {
|
|
441
|
+
p as fortran
|
|
442
|
+
};
|