@distri/react 0.2.7 → 0.3.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/dist/1c-2YH7WZEI.js +147 -0
- package/dist/abap-2E6FD6UM.js +6 -0
- package/dist/abnf-DTHGNPWA.js +81 -0
- package/dist/abnf-EQ2EQNMD.js +6 -0
- package/dist/accesslog-OXVH23VB.js +103 -0
- package/dist/actionscript-ET7ZSAQE.js +93 -0
- package/dist/actionscript-HY6HF3PK.js +6 -0
- package/dist/ada-FYSJBBKX.js +154 -0
- package/dist/ada-YIAPUA6Y.js +6 -0
- package/dist/agda-2S3QKIIQ.js +6 -0
- package/dist/al-K6VQB6U5.js +6 -0
- package/dist/angelscript-BNZ3LBKN.js +125 -0
- package/dist/antlr4-BTV7OTRY.js +6 -0
- package/dist/apache-XJP2D6HB.js +85 -0
- package/dist/apacheconf-TBVJNNAT.js +6 -0
- package/dist/apex-D7OMX2EB.js +7 -0
- package/dist/apl-4EJXPJSD.js +6 -0
- package/dist/applescript-J5GCFFUG.js +6 -0
- package/dist/applescript-SKJJ2FZC.js +147 -0
- package/dist/aql-Y3KTDBGX.js +6 -0
- package/dist/arcade-CY3X3QYD.js +155 -0
- package/dist/arduino-6V5KO7YA.js +431 -0
- package/dist/arduino-R55JMQT5.js +8 -0
- package/dist/arff-SVJCCOQL.js +6 -0
- package/dist/armasm-VRMSGYIS.js +102 -0
- package/dist/asciidoc-CW3L73RM.js +6 -0
- package/dist/asciidoc-FQ5LUNNR.js +284 -0
- package/dist/asm6502-LB4P66FI.js +6 -0
- package/dist/asmatmel-6ZDKQ3X6.js +6 -0
- package/dist/aspectj-HNDTQEPY.js +162 -0
- package/dist/aspnet-XM7CZDKV.js +7 -0
- package/dist/autohotkey-4HVH3263.js +6 -0
- package/dist/autohotkey-DPG2VG4A.js +85 -0
- package/dist/autoit-MFCBG2D2.js +169 -0
- package/dist/autoit-UMF5VNJ6.js +6 -0
- package/dist/avisynth-I5RAJYMS.js +6 -0
- package/dist/avrasm-WMPLDORW.js +70 -0
- package/dist/avro-idl-RVCXS3RF.js +6 -0
- package/dist/awk-TZ2EZBJY.js +75 -0
- package/dist/axapta-JHOYS5HS.js +176 -0
- package/dist/bash-6VMOROZO.js +6 -0
- package/dist/bash-SNIULQZM.js +145 -0
- package/dist/basic-WBLGJBZS.js +55 -0
- package/dist/basic-YYCIXV77.js +6 -0
- package/dist/batch-JUP4GVAU.js +6 -0
- package/dist/bbcode-6IALBDYG.js +6 -0
- package/dist/bicep-5Q3ZMQA2.js +6 -0
- package/dist/birb-NFCG4K4R.js +6 -0
- package/dist/bison-2LI2YQF5.js +7 -0
- package/dist/bnf-6ORTMFIN.js +6 -0
- package/dist/bnf-PBYAMK7P.js +41 -0
- package/dist/brainfuck-C6ODHU3N.js +6 -0
- package/dist/brainfuck-XW3AVWEW.js +49 -0
- package/dist/brightscript-QS23GEH5.js +6 -0
- package/dist/bro-KOK3VSWG.js +6 -0
- package/dist/bsl-PJUDWPSR.js +6 -0
- package/dist/c-FP7QIOU7.js +6 -0
- package/dist/c-M26WOP35.js +254 -0
- package/dist/c-like-H6XZALCF.js +431 -0
- package/dist/cal-S4EYYQTM.js +102 -0
- package/dist/capnproto-2Q7KBI3R.js +63 -0
- package/dist/ceylon-V33GPKQJ.js +74 -0
- package/dist/cfscript-QNHYEQQ6.js +6 -0
- package/dist/chaiscript-7HH2YQUT.js +8 -0
- package/dist/chunk-24VYMNIF.js +137 -0
- package/dist/chunk-25D4C7RW.js +47 -0
- package/dist/chunk-25FROOH6.js +151 -0
- package/dist/chunk-27CW3EDR.js +110 -0
- package/dist/chunk-2IKWR5BD.js +136 -0
- package/dist/chunk-2OUDGY74.js +69 -0
- package/dist/chunk-2QPRZKG7.js +35 -0
- package/dist/chunk-33VUG2QM.js +79 -0
- package/dist/chunk-3CTY5M4I.js +76 -0
- package/dist/chunk-3F6K75JF.js +60 -0
- package/dist/chunk-3JA2W53Z.js +47 -0
- package/dist/chunk-3JNYM26W.js +94 -0
- package/dist/chunk-3M74OURW.js +30 -0
- package/dist/chunk-3NKUT7TH.js +68 -0
- package/dist/chunk-3NZA4542.js +197 -0
- package/dist/chunk-3REW723S.js +49 -0
- package/dist/chunk-3WE5FOC4.js +39 -0
- package/dist/chunk-3XA6VTHO.js +40 -0
- package/dist/chunk-3YPIA64V.js +50 -0
- package/dist/chunk-426IPYWB.js +158 -0
- package/dist/chunk-44ZZWXGU.js +61 -0
- package/dist/chunk-45XBO57H.js +75 -0
- package/dist/chunk-47VKELNA.js +26 -0
- package/dist/chunk-4BINGQXR.js +64 -0
- package/dist/chunk-4K6U3KST.js +97 -0
- package/dist/chunk-4LPMZE4K.js +50 -0
- package/dist/chunk-4LROSNN7.js +239 -0
- package/dist/chunk-4TEDW65X.js +101 -0
- package/dist/chunk-4TTFS7AE.js +156 -0
- package/dist/chunk-4WZAWVVD.js +47 -0
- package/dist/chunk-4ZSHUF27.js +139 -0
- package/dist/chunk-53MOB7QD.js +111 -0
- package/dist/chunk-53TH3G7L.js +187 -0
- package/dist/chunk-55TJCXPI.js +34 -0
- package/dist/chunk-5BE7MV5Y.js +62 -0
- package/dist/chunk-5MBEKVFI.js +51 -0
- package/dist/chunk-5ME2UIV2.js +61 -0
- package/dist/chunk-5NFJPAWG.js +65 -0
- package/dist/chunk-5OHRFMBB.js +67 -0
- package/dist/chunk-5ONN2BWW.js +74 -0
- package/dist/chunk-5SUD76JK.js +67 -0
- package/dist/chunk-5U3JUGOR.js +55 -0
- package/dist/chunk-5WGGQBDN.js +30 -0
- package/dist/chunk-65KJS5T6.js +112 -0
- package/dist/chunk-6ADGDPPW.js +79 -0
- package/dist/chunk-6F34AU46.js +74 -0
- package/dist/chunk-6GAA6YLP.js +75 -0
- package/dist/chunk-6LOQWZPI.js +68 -0
- package/dist/chunk-6YISWBMA.js +942 -0
- package/dist/chunk-75PP7PI6.js +82 -0
- package/dist/chunk-76OIATWI.js +82 -0
- package/dist/chunk-7GX444GM.js +46 -0
- package/dist/chunk-7VWJOW6P.js +62 -0
- package/dist/chunk-7WBWN6D5.js +94 -0
- package/dist/chunk-A2TJMJHB.js +155 -0
- package/dist/chunk-ADKDXJMX.js +119 -0
- package/dist/chunk-AHHMCY2J.js +108 -0
- package/dist/chunk-AKXYCA25.js +82 -0
- package/dist/chunk-AOICOBAF.js +41 -0
- package/dist/chunk-AXOTEEYA.js +205 -0
- package/dist/chunk-BA736DVE.js +88 -0
- package/dist/chunk-BAVP462O.js +240 -0
- package/dist/chunk-BB7U4H7S.js +103 -0
- package/dist/chunk-BBQV2JXP.js +94 -0
- package/dist/chunk-BFG2SVED.js +71 -0
- package/dist/chunk-BTRWHRUR.js +66 -0
- package/dist/chunk-BU4UGOKB.js +60 -0
- package/dist/chunk-BYU5NTFP.js +77 -0
- package/dist/chunk-C475R4FS.js +41 -0
- package/dist/chunk-C4VUAB44.js +52 -0
- package/dist/chunk-C7D4KPR4.js +79 -0
- package/dist/chunk-C7DN7SOA.js +88 -0
- package/dist/chunk-CGQKUOBK.js +166 -0
- package/dist/chunk-CNXZNSZ6.js +73 -0
- package/dist/chunk-CPE7WTCO.js +87 -0
- package/dist/chunk-CU76RRBI.js +40 -0
- package/dist/chunk-D2R2ZRRH.js +139 -0
- package/dist/chunk-D63D46H6.js +84 -0
- package/dist/chunk-D7CBXSDT.js +168 -0
- package/dist/chunk-DKM437DZ.js +30 -0
- package/dist/chunk-DL5KKDDX.js +41 -0
- package/dist/chunk-DMH4XPXJ.js +60 -0
- package/dist/chunk-DNPOVTXW.js +57 -0
- package/dist/chunk-DRQ7XDNB.js +74 -0
- package/dist/chunk-DSAUO3FT.js +36 -0
- package/dist/chunk-DWJTQN4Q.js +39 -0
- package/dist/chunk-DXN657MG.js +54 -0
- package/dist/chunk-DXOFOLMO.js +28 -0
- package/dist/chunk-DYCT6UGG.js +118 -0
- package/dist/chunk-E2GZUORL.js +38 -0
- package/dist/chunk-E2NMFAHM.js +51 -0
- package/dist/chunk-EAKZVVVK.js +38 -0
- package/dist/chunk-EDED7GO2.js +28 -0
- package/dist/chunk-EFDDCP6E.js +61 -0
- package/dist/chunk-EG5ENAMF.js +54 -0
- package/dist/chunk-ERCJ2723.js +166 -0
- package/dist/chunk-ETSWXID3.js +108 -0
- package/dist/chunk-EVWTNGR2.js +66 -0
- package/dist/chunk-EYSUQCKU.js +58 -0
- package/dist/chunk-EYYK5DWC.js +61 -0
- package/dist/chunk-F4GOSIEU.js +48 -0
- package/dist/chunk-FAV4X3VE.js +65 -0
- package/dist/chunk-FDJQNDUI.js +82 -0
- package/dist/chunk-FOMZNBFC.js +52 -0
- package/dist/chunk-FRTB7SKA.js +59 -0
- package/dist/chunk-FU6GDCL4.js +70 -0
- package/dist/chunk-FUNANJQD.js +148 -0
- package/dist/chunk-FYZGIFIR.js +4903 -0
- package/dist/chunk-G3RVOSQS.js +47 -0
- package/dist/chunk-GBDND3J7.js +31 -0
- package/dist/chunk-GHHVUAN4.js +39 -0
- package/dist/chunk-GKYHP5DM.js +46 -0
- package/dist/chunk-GN5JY4ON.js +108 -0
- package/dist/chunk-GSJ4ZPME.js +44 -0
- package/dist/chunk-HA25XUMO.js +51 -0
- package/dist/chunk-HB5YQXW7.js +41 -0
- package/dist/chunk-HBR63ZQM.js +83 -0
- package/dist/chunk-HENRLFPS.js +130 -0
- package/dist/chunk-HI5JB7PA.js +43 -0
- package/dist/chunk-HPUECJDJ.js +77 -0
- package/dist/chunk-HQ25WWHW.js +30 -0
- package/dist/chunk-IDCGS2LG.js +67 -0
- package/dist/chunk-IGC26U6E.js +91 -0
- package/dist/chunk-IHY66EFI.js +46 -0
- package/dist/chunk-IOV4LKPF.js +132 -0
- package/dist/chunk-IRYK7EBW.js +80 -0
- package/dist/chunk-ITUYRI56.js +53 -0
- package/dist/chunk-IYWSMRMM.js +91 -0
- package/dist/chunk-IZCOKOL4.js +29 -0
- package/dist/chunk-IZLK5PA4.js +427 -0
- package/dist/chunk-J2I2GALQ.js +62 -0
- package/dist/chunk-J5NTCYRJ.js +78 -0
- package/dist/chunk-J7PDPSEI.js +95 -0
- package/dist/chunk-JIMMMDQX.js +40 -0
- package/dist/chunk-JLIGTJAV.js +40 -0
- package/dist/chunk-JM6YFZCJ.js +366 -0
- package/dist/chunk-JXFYYAWX.js +41 -0
- package/dist/chunk-JY4VLYST.js +44 -0
- package/dist/chunk-K4XC3DN3.js +46 -0
- package/dist/chunk-KFXYXJEI.js +74 -0
- package/dist/chunk-KMVKUGEN.js +32 -0
- package/dist/chunk-KSDU7X3Q.js +97 -0
- package/dist/chunk-L2OROVEO.js +59 -0
- package/dist/chunk-L35GVMS6.js +39 -0
- package/dist/chunk-L4KT7DFF.js +49 -0
- package/dist/chunk-L4OBEVKY.js +117 -0
- package/dist/chunk-L7KTXJ5T.js +42 -0
- package/dist/chunk-LNJTL4XT.js +59 -0
- package/dist/chunk-LP6PAX6W.js +162 -0
- package/dist/chunk-LQIUIOZD.js +312 -0
- package/dist/chunk-LSJCH55S.js +38 -0
- package/dist/chunk-LSJTRURW.js +153 -0
- package/dist/chunk-LSXW7LL3.js +76 -0
- package/dist/chunk-LW7TKM5V.js +35 -0
- package/dist/chunk-M2XF7C43.js +147 -0
- package/dist/chunk-MLZ6Z4NJ.js +59 -0
- package/dist/chunk-MQ4JGNKV.js +82 -0
- package/dist/chunk-MR5GJJCD.js +59 -0
- package/dist/chunk-MSFD2P6X.js +33 -0
- package/dist/chunk-N2HL4FSP.js +115 -0
- package/dist/chunk-N4CDNUSI.js +131 -0
- package/dist/chunk-NAIFU37T.js +29 -0
- package/dist/chunk-NF3K6UKW.js +71 -0
- package/dist/chunk-NHLJH2QU.js +33 -0
- package/dist/chunk-NNKKBIBH.js +57 -0
- package/dist/chunk-NO3DNLIA.js +71 -0
- package/dist/chunk-NOH3VCUN.js +47 -0
- package/dist/chunk-NQVYKPWZ.js +62 -0
- package/dist/chunk-NSD6XBVX.js +48 -0
- package/dist/chunk-NSMEMFKE.js +217 -0
- package/dist/chunk-NY53DQIO.js +93 -0
- package/dist/chunk-NZY5EZK5.js +43 -0
- package/dist/chunk-O2OFPBPK.js +42 -0
- package/dist/chunk-O374MFIY.js +238 -0
- package/dist/chunk-OA6YIRHQ.js +47 -0
- package/dist/chunk-OBW6XSZ6.js +121 -0
- package/dist/chunk-OD2UFFIF.js +56 -0
- package/dist/chunk-OHGHYIQD.js +106 -0
- package/dist/chunk-OI7PZLYM.js +101 -0
- package/dist/chunk-ONRSXHI4.js +38 -0
- package/dist/chunk-P2R24TGR.js +32 -0
- package/dist/chunk-P4DAHZUQ.js +71 -0
- package/dist/chunk-P5HX2PL4.js +33 -0
- package/dist/chunk-P7POYAWI.js +39 -0
- package/dist/chunk-P7WAXOIZ.js +122 -0
- package/dist/chunk-PAB77QMV.js +64 -0
- package/dist/chunk-PC37JIIX.js +77 -0
- package/dist/chunk-PO4QV4WT.js +68 -0
- package/dist/chunk-Q7YUTUXA.js +96 -0
- package/dist/chunk-QCTJEID3.js +60 -0
- package/dist/chunk-QINIWGYX.js +51 -0
- package/dist/chunk-QL55MSIZ.js +49 -0
- package/dist/chunk-QLTOG4MT.js +27 -0
- package/dist/chunk-QPFIT7U6.js +54 -0
- package/dist/chunk-QQOZXGR3.js +47 -0
- package/dist/chunk-QUWJFCWK.js +38 -0
- package/dist/chunk-R4PER7NZ.js +51 -0
- package/dist/chunk-R4WHSRPM.js +51 -0
- package/dist/chunk-R7LE6OT4.js +45 -0
- package/dist/chunk-RNTTNM5P.js +37 -0
- package/dist/chunk-RQJWBEFF.js +62 -0
- package/dist/chunk-RSMTA6GK.js +95 -0
- package/dist/chunk-RWBIPKOM.js +39 -0
- package/dist/chunk-RYLEEMHX.js +45 -0
- package/dist/chunk-S22XTUNB.js +72 -0
- package/dist/chunk-SBMAYFHQ.js +112 -0
- package/dist/chunk-SJSNOISF.js +83 -0
- package/dist/chunk-SMATBXJT.js +78 -0
- package/dist/chunk-SVY64O64.js +42 -0
- package/dist/chunk-SY2RM5AY.js +71 -0
- package/dist/chunk-T27V63VN.js +39 -0
- package/dist/chunk-T2JKOELM.js +50 -0
- package/dist/chunk-T4XULMNE.js +27 -0
- package/dist/chunk-T4XZBJRX.js +63 -0
- package/dist/chunk-TEUCS7CC.js +41 -0
- package/dist/chunk-TEVPUTJN.js +116 -0
- package/dist/chunk-TMPJ5OQC.js +39 -0
- package/dist/chunk-TPASKEDY.js +71 -0
- package/dist/chunk-TUWKJH67.js +141 -0
- package/dist/chunk-TVWUYRIS.js +69 -0
- package/dist/chunk-TWAI6FLP.js +46 -0
- package/dist/chunk-TWMU5FT4.js +98 -0
- package/dist/chunk-TYBQXIHB.js +132 -0
- package/dist/chunk-U6KZOUWP.js +97 -0
- package/dist/chunk-UAYBD6YK.js +53 -0
- package/dist/chunk-UBBKEK2F.js +43 -0
- package/dist/chunk-UBOVR4MJ.js +55 -0
- package/dist/chunk-UCYAOIJX.js +106 -0
- package/dist/chunk-UDSEA732.js +89 -0
- package/dist/chunk-UICM7ISL.js +97 -0
- package/dist/chunk-UJBVRUTD.js +98 -0
- package/dist/chunk-UTCKMPAI.js +289 -0
- package/dist/chunk-UU73JDYM.js +144 -0
- package/dist/chunk-UVOTXBDD.js +123 -0
- package/dist/chunk-UZ37NXAL.js +199 -0
- package/dist/chunk-V3DTC5F2.js +36 -0
- package/dist/chunk-V3FVSCNQ.js +82 -0
- package/dist/chunk-VBFCRLKP.js +39 -0
- package/dist/chunk-VFSK564P.js +44 -0
- package/dist/chunk-VI76WLBB.js +1111 -0
- package/dist/chunk-VPWIZK3L.js +38 -0
- package/dist/chunk-VPYZQMFC.js +41 -0
- package/dist/chunk-VTG5OLQE.js +23 -0
- package/dist/chunk-VW26B25E.js +27 -0
- package/dist/chunk-VWKIXPFH.js +150 -0
- package/dist/chunk-VXO6WZ3Z.js +352 -0
- package/dist/chunk-VYRJGD3W.js +44 -0
- package/dist/chunk-W3M6SKHX.js +84 -0
- package/dist/chunk-WDVOU5L7.js +75 -0
- package/dist/chunk-WS7EBKQB.js +46 -0
- package/dist/chunk-WWAUXGX2.js +196 -0
- package/dist/chunk-X6QBUAE7.js +31 -0
- package/dist/chunk-XA3YT5Q2.js +150 -0
- package/dist/chunk-XBB3NKEU.js +47 -0
- package/dist/chunk-XG2I3QRD.js +44 -0
- package/dist/chunk-XGCRUIXG.js +89 -0
- package/dist/chunk-XHYSFKTX.js +110 -0
- package/dist/chunk-XI3JRDGR.js +117 -0
- package/dist/chunk-XUECR2ZA.js +63 -0
- package/dist/chunk-XWUA27ZN.js +48 -0
- package/dist/chunk-XY6WLMUK.js +382 -0
- package/dist/chunk-XZLPFOLS.js +52 -0
- package/dist/chunk-Y7ITLLSE.js +67 -0
- package/dist/chunk-Y7YE4V4F.js +37 -0
- package/dist/chunk-YFWG72PF.js +102 -0
- package/dist/chunk-YPI6DSCZ.js +70 -0
- package/dist/chunk-YRU55K5G.js +84 -0
- package/dist/chunk-YS7PQUUJ.js +75 -0
- package/dist/chunk-YST6AG5L.js +96 -0
- package/dist/chunk-YTXJD5GL.js +115 -0
- package/dist/chunk-YX5EOMYE.js +146 -0
- package/dist/chunk-YY7FQURC.js +49 -0
- package/dist/chunk-Z7PWFZG5.js +31 -0
- package/dist/chunk-ZCYJW4VO.js +43 -0
- package/dist/chunk-ZDJILSU6.js +114 -0
- package/dist/chunk-ZF2QXXYV.js +49 -0
- package/dist/chunk-ZRVN7ENY.js +103 -0
- package/dist/chunk-ZZ67TT2L.js +65 -0
- package/dist/chunk-ZZBLTQMV.js +93 -0
- package/dist/chunk-ZZZGVQP2.js +90 -0
- package/dist/cil-4NTRZMJQ.js +6 -0
- package/dist/clean-KUOOU53X.js +37 -0
- package/dist/clike-4A47CONC.js +6 -0
- package/dist/clojure-75KJQHOT.js +128 -0
- package/dist/clojure-GPYUML3G.js +6 -0
- package/dist/clojure-repl-27PTLHND.js +27 -0
- package/dist/cmake-43UHNPVU.js +35 -0
- package/dist/cmake-XHQVRSQ5.js +6 -0
- package/dist/cobol-64KWYBJK.js +6 -0
- package/dist/coffeescript-4JZ4I4DJ.js +6 -0
- package/dist/coffeescript-5ISB4K2B.js +349 -0
- package/dist/concurnas-DEE5DK27.js +6 -0
- package/dist/coq-GCRWPPFV.js +6 -0
- package/dist/coq-I3MU43NM.js +36 -0
- package/dist/core-M7ZJ2T57.js +10 -0
- package/dist/core-PAF7XGL2.js +1812 -0
- package/dist/cos-BDS3BNLY.js +99 -0
- package/dist/cpp-WMMTB6Z5.js +7 -0
- package/dist/cpp-X7LHXYAC.js +410 -0
- package/dist/crmsh-NPCKI4XF.js +98 -0
- package/dist/crystal-6MLOCV2T.js +323 -0
- package/dist/crystal-QZNH3LTF.js +7 -0
- package/dist/csharp-6RC5RCHA.js +439 -0
- package/dist/csharp-JZQCFZ2W.js +6 -0
- package/dist/cshtml-Q3AEUCYO.js +7 -0
- package/dist/csp-63VXOBC6.js +6 -0
- package/dist/csp-HD534BNA.js +35 -0
- package/dist/css-CXTI7TAR.js +598 -0
- package/dist/css-DKIVWFWX.js +6 -0
- package/dist/css-extras-RFAQNL3I.js +6 -0
- package/dist/csv-UJQ7UNRS.js +6 -0
- package/dist/cypher-5OQNQZNY.js +6 -0
- package/dist/d-LB4S5ATW.js +122 -0
- package/dist/d-RO2SZ76A.js +6 -0
- package/dist/dart-SVXWFLRM.js +190 -0
- package/dist/dart-TX6ZWZJK.js +6 -0
- package/dist/dataweave-C63LGLUQ.js +6 -0
- package/dist/dax-LQO6GCPQ.js +6 -0
- package/dist/delphi-RZOGMBY2.js +119 -0
- package/dist/dhall-CWFBXH7J.js +6 -0
- package/dist/diff-5MQAJQDA.js +6 -0
- package/dist/diff-CNAQOB5T.js +86 -0
- package/dist/django-DO5A2BBG.js +58 -0
- package/dist/django-LDNPHKUL.js +7 -0
- package/dist/dns-3IEXY633.js +46 -0
- package/dist/dns-zone-file-IIOR6QPC.js +6 -0
- package/dist/docker-QHQSXWWE.js +6 -0
- package/dist/dockerfile-XCAM6RBC.js +34 -0
- package/dist/dos-353XQSPF.js +62 -0
- package/dist/dot-FZFNGGN4.js +6 -0
- package/dist/dsconfig-EL4H4BHC.js +67 -0
- package/dist/dts-PRAKWBHZ.js +145 -0
- package/dist/dust-K3XHDGD4.js +45 -0
- package/dist/ebnf-2I7WUAT6.js +6 -0
- package/dist/ebnf-7QWQH7U6.js +52 -0
- package/dist/editorconfig-5HL3ZBZ5.js +6 -0
- package/dist/eiffel-BXXJYVTD.js +6 -0
- package/dist/ejs-V23EGYZI.js +7 -0
- package/dist/elixir-4BXU7IWB.js +6 -0
- package/dist/elixir-YHCVHC4M.js +261 -0
- package/dist/elm-2PBJKJ5V.js +6 -0
- package/dist/elm-OBOS27Y5.js +121 -0
- package/dist/erb-KX4TUK25.js +8 -0
- package/dist/erb-PJNWCTHM.js +28 -0
- package/dist/erlang-4KHSXFRF.js +193 -0
- package/dist/erlang-TN5LAKO6.js +6 -0
- package/dist/erlang-repl-EIHHHRXL.js +71 -0
- package/dist/etlua-NZZ6VCFT.js +8 -0
- package/dist/excel-LG5PZNRY.js +70 -0
- package/dist/excel-formula-HM7AKF6W.js +6 -0
- package/dist/factor-RKUWQZSU.js +6 -0
- package/dist/false-NJNIJSO2.js +6 -0
- package/dist/firestore-security-rules-SBDPUL3P.js +6 -0
- package/dist/fix-JYGRXV2Y.js +41 -0
- package/dist/flix-CQCLWT33.js +52 -0
- package/dist/flow-Y55VHKDC.js +6 -0
- package/dist/fortran-2IHBO5MK.js +6 -0
- package/dist/fortran-IQ2XFJHI.js +103 -0
- package/dist/fsharp-J7D6JLGZ.js +80 -0
- package/dist/fsharp-WF5FZ7LA.js +6 -0
- package/dist/ftl-LJCJN7Q4.js +7 -0
- package/dist/gams-PR2YGF7X.js +178 -0
- package/dist/gap-Y4AO2KLQ.js +6 -0
- package/dist/gauss-JMPXYK2E.js +207 -0
- package/dist/gcode-EK5CT2F5.js +89 -0
- package/dist/gcode-ZSC2QT4W.js +6 -0
- package/dist/gdscript-JGK7ULGX.js +6 -0
- package/dist/gedcom-JAF2MTGV.js +6 -0
- package/dist/gherkin-ATPBN2I6.js +6 -0
- package/dist/gherkin-BR23VY6T.js +52 -0
- package/dist/git-SV5YOCHP.js +6 -0
- package/dist/globals.css +206 -73
- package/dist/glsl-RHLZ7EKY.js +7 -0
- package/dist/glsl-U5D2UFIG.js +40 -0
- package/dist/gml-C6VBD7IK.js +33 -0
- package/dist/gml-O6EMUU2A.js +6 -0
- package/dist/gn-OHYYO5RM.js +6 -0
- package/dist/go-F4XHE42I.js +70 -0
- package/dist/go-UT2RGVDA.js +6 -0
- package/dist/go-module-QIQ5R6GQ.js +6 -0
- package/dist/golo-ZQBS6DDL.js +30 -0
- package/dist/gradle-MQQPZV6O.js +29 -0
- package/dist/graphql-NBCTEMOM.js +6 -0
- package/dist/groovy-PWRNS4BH.js +6 -0
- package/dist/groovy-YE6LYQM2.js +148 -0
- package/dist/haml-ITEJGDAC.js +7 -0
- package/dist/haml-W64OGSGS.js +118 -0
- package/dist/handlebars-LFFHW3IR.js +271 -0
- package/dist/handlebars-ZPGPITLL.js +7 -0
- package/dist/haskell-BIZ4QX3J.js +164 -0
- package/dist/haskell-C6C7ZUBH.js +6 -0
- package/dist/haxe-6UYXTAGY.js +6 -0
- package/dist/haxe-YHKPBE6F.js +163 -0
- package/dist/hcl-H4J5WPVW.js +6 -0
- package/dist/hlsl-TUCZYFXH.js +7 -0
- package/dist/hoon-C72UYEHY.js +6 -0
- package/dist/hpkp-4EW432RJ.js +6 -0
- package/dist/hsp-LXHEYCGN.js +63 -0
- package/dist/hsts-LVDH7HSP.js +6 -0
- package/dist/htmlbars-5KWEJZGR.js +279 -0
- package/dist/http-PQTBDD2Y.js +6 -0
- package/dist/http-XGZV4XNH.js +107 -0
- package/dist/hy-LNAQE6EH.js +83 -0
- package/dist/ichigojam-O6JNIK22.js +6 -0
- package/dist/icon-E47SAPYS.js +6 -0
- package/dist/icu-message-format-XVNBRCFA.js +6 -0
- package/dist/idris-N4YK67TT.js +7 -0
- package/dist/iecst-RFCI6KVG.js +6 -0
- package/dist/ignore-ZEHMIXWJ.js +6 -0
- package/dist/index.cjs +34367 -5872
- package/dist/index.css +206 -73
- package/dist/index.d.cts +188 -15
- package/dist/index.d.ts +188 -15
- package/dist/index.js +5203 -3154
- package/dist/inform7-V4RKQGYH.js +6 -0
- package/dist/inform7-V7MLPHUF.js +67 -0
- package/dist/ini-7GVFDZIN.js +149 -0
- package/dist/ini-WBFKRGCL.js +6 -0
- package/dist/io-J4QCHPK3.js +6 -0
- package/dist/irpf90-YM777KDU.js +82 -0
- package/dist/isbl-6UAZRVKL.js +269 -0
- package/dist/j-PPJZQQBV.js +6 -0
- package/dist/java-A6STBPJJ.js +178 -0
- package/dist/java-V4HKAR6U.js +6 -0
- package/dist/javadoc-IDO5IKKL.js +8 -0
- package/dist/javadoclike-RPHCI2IN.js +6 -0
- package/dist/javascript-HTBF3FXX.js +553 -0
- package/dist/javascript-VDWQYVQH.js +6 -0
- package/dist/javastacktrace-WAF42WNS.js +6 -0
- package/dist/jboss-cli-BXTWKRQB.js +63 -0
- package/dist/jexl-BDHF6EJ2.js +6 -0
- package/dist/jolie-PBYJRXEA.js +6 -0
- package/dist/jq-DWQFRBJQ.js +6 -0
- package/dist/js-extras-ZI7JBSYM.js +6 -0
- package/dist/js-templates-FXU6EPLQ.js +6 -0
- package/dist/jsdoc-AD6H7JYV.js +8 -0
- package/dist/json-2UBYQPYJ.js +6 -0
- package/dist/json-E5CSPKYL.js +66 -0
- package/dist/json5-DZRXL5LX.js +7 -0
- package/dist/jsonp-TQ3MTXTC.js +7 -0
- package/dist/jsstacktrace-PNLNOWKR.js +6 -0
- package/dist/jsx-TISJL234.js +6 -0
- package/dist/julia-NU5U7AGU.js +357 -0
- package/dist/julia-TX6ZVBF3.js +6 -0
- package/dist/julia-repl-OIDBGXCM.js +36 -0
- package/dist/keepalived-G5XCZPI3.js +6 -0
- package/dist/keyman-HXWRQQP5.js +6 -0
- package/dist/kotlin-DJ3A72A6.js +6 -0
- package/dist/kotlin-L7ACKMAK.js +265 -0
- package/dist/kumir-U7KR2CQL.js +6 -0
- package/dist/kusto-5V3MSTPA.js +6 -0
- package/dist/lasso-YCATBJLV.js +171 -0
- package/dist/latex-AG7CLUJR.js +260 -0
- package/dist/latex-WK7V4NEZ.js +6 -0
- package/dist/latte-HSTQPFKZ.js +8 -0
- package/dist/ldif-HEYL24X3.js +46 -0
- package/dist/leaf-TY56R55I.js +53 -0
- package/dist/less-BC5SBETQ.js +6 -0
- package/dist/less-FZLTHHQV.js +660 -0
- package/dist/lilypond-CEW2QO6F.js +7 -0
- package/dist/liquid-ZNYBOERX.js +7 -0
- package/dist/lisp-L2GJEHWA.js +6 -0
- package/dist/lisp-TWECV5KM.js +119 -0
- package/dist/livecodeserver-PDTS4VIL.js +120 -0
- package/dist/livescript-77OE7WDY.js +6 -0
- package/dist/livescript-ERXBO32F.js +367 -0
- package/dist/llvm-LC55WM6D.js +6 -0
- package/dist/llvm-RIX5A76Y.js +101 -0
- package/dist/log-QBGRVCXJ.js +6 -0
- package/dist/lolcode-SKUCYA5L.js +6 -0
- package/dist/lsl-HDLVDN5M.js +91 -0
- package/dist/lua-KAU53C2Y.js +6 -0
- package/dist/lua-TMUVBFS4.js +72 -0
- package/dist/magma-Q7UJZMAX.js +6 -0
- package/dist/makefile-DVLKHDQC.js +6 -0
- package/dist/makefile-RQEUBZE6.js +83 -0
- package/dist/markdown-4AMULLQZ.js +6 -0
- package/dist/markdown-H3RECS26.js +240 -0
- package/dist/markup-EZA5IZAQ.js +6 -0
- package/dist/markup-templating-5I4OWDQZ.js +6 -0
- package/dist/mathematica-X2CV2ORJ.js +6752 -0
- package/dist/matlab-HA2ZDOW5.js +6 -0
- package/dist/matlab-JHY3GUQF.js +88 -0
- package/dist/maxima-SCZDOUUP.js +64 -0
- package/dist/maxscript-PBLHKBYN.js +6 -0
- package/dist/mel-NNBJB4RX.js +6 -0
- package/dist/mel-YPIRI2ZF.js +36 -0
- package/dist/mercury-ZBCJ5QA5.js +100 -0
- package/dist/mermaid-CB75MOVI.js +6 -0
- package/dist/mipsasm-N2MMP3H5.js +86 -0
- package/dist/mizar-BGU4QAFJ.js +6 -0
- package/dist/mizar-QFX527OZ.js +21 -0
- package/dist/mojolicious-OHNOQFOT.js +38 -0
- package/dist/mongodb-6DIGE7PI.js +6 -0
- package/dist/monkey-23XCKAV4.js +85 -0
- package/dist/monkey-6PAD36I7.js +6 -0
- package/dist/moonscript-ANM24Q5F.js +6 -0
- package/dist/moonscript-DILF2N52.js +149 -0
- package/dist/n1ql-FPKTMALR.js +57 -0
- package/dist/n1ql-HFHLNSMI.js +6 -0
- package/dist/n4js-65HWN4LE.js +6 -0
- package/dist/nand2tetris-hdl-BAYGJJU5.js +6 -0
- package/dist/naniscript-IAUL5QB4.js +6 -0
- package/dist/nasm-6DTULDRK.js +6 -0
- package/dist/neon-HJDQAIXX.js +6 -0
- package/dist/nevod-TM27OJCF.js +6 -0
- package/dist/nginx-ATN5OWPX.js +6 -0
- package/dist/nginx-UDXYH6SK.js +139 -0
- package/dist/nim-3MXH37F6.js +71 -0
- package/dist/nim-7VJFGRSS.js +6 -0
- package/dist/nix-3UP2KQJV.js +64 -0
- package/dist/nix-L46VYGL7.js +6 -0
- package/dist/node-repl-TDWJP2US.js +39 -0
- package/dist/nsis-OLCKM2OQ.js +6 -0
- package/dist/nsis-XJEGWX52.js +111 -0
- package/dist/objectivec-DWNHB664.js +7 -0
- package/dist/objectivec-XCKTZ233.js +97 -0
- package/dist/ocaml-NFAHUCBR.js +6 -0
- package/dist/ocaml-VWCLQE3R.js +75 -0
- package/dist/opencl-NFBQ67K2.js +7 -0
- package/dist/openqasm-AATACU3S.js +6 -0
- package/dist/openscad-CPQUHPMH.js +83 -0
- package/dist/oxygene-MQABTQDT.js +96 -0
- package/dist/oz-IGEG4MKG.js +6 -0
- package/dist/parigp-WD2OYHYA.js +6 -0
- package/dist/parser-EC46CL5Z.js +6 -0
- package/dist/parser3-4U7VXY4D.js +59 -0
- package/dist/pascal-ZM7N7XI6.js +6 -0
- package/dist/pascaligo-VOW2F5TM.js +6 -0
- package/dist/pcaxis-DLFOVSI2.js +6 -0
- package/dist/peoplecode-6ITX2ZCX.js +6 -0
- package/dist/perl-CGUEEATA.js +6 -0
- package/dist/perl-UBL4OJLX.js +481 -0
- package/dist/pf-76A4A5PB.js +45 -0
- package/dist/pgsql-LIK5ZS5L.js +389 -0
- package/dist/php-7EQLL4WE.js +193 -0
- package/dist/php-XSQL7GRW.js +7 -0
- package/dist/php-extras-RRKQEQEL.js +8 -0
- package/dist/php-template-57AZD2Z7.js +56 -0
- package/dist/phpdoc-QDI6M4LY.js +9 -0
- package/dist/plaintext-WYWBF6Z2.js +22 -0
- package/dist/plsql-FHUXY3OA.js +7 -0
- package/dist/pony-74VLQBEB.js +66 -0
- package/dist/powerquery-S3HCZIVJ.js +6 -0
- package/dist/powershell-ITFSVUDU.js +281 -0
- package/dist/powershell-WXHZDFBQ.js +6 -0
- package/dist/processing-2HYZ4N2E.js +30 -0
- package/dist/processing-ZUXSK7VV.js +6 -0
- package/dist/profile-II54ZAM3.js +47 -0
- package/dist/prolog-6OLSKU6J.js +91 -0
- package/dist/prolog-ZA7S6MDA.js +6 -0
- package/dist/promql-NHWND3Y3.js +6 -0
- package/dist/properties-2XQOUKOY.js +83 -0
- package/dist/properties-RDIAXEEX.js +6 -0
- package/dist/protobuf-3SZ2I6CS.js +6 -0
- package/dist/protobuf-NIGMSZSW.js +52 -0
- package/dist/psl-XWM2TMD7.js +6 -0
- package/dist/pug-WXB4BWXX.js +6 -0
- package/dist/puppet-J4C3OTZJ.js +6 -0
- package/dist/puppet-RQLT7M2K.js +122 -0
- package/dist/pure-FBTHGZOO.js +6 -0
- package/dist/purebasic-2LTLHQ64.js +71 -0
- package/dist/purebasic-WVV7DOIB.js +6 -0
- package/dist/purescript-RXOXLHTJ.js +7 -0
- package/dist/python-2OWIXTS2.js +413 -0
- package/dist/python-Q7PQQBXF.js +6 -0
- package/dist/python-repl-4363EJU6.js +39 -0
- package/dist/q-WQHQ74HI.js +34 -0
- package/dist/q-XMCEWZHZ.js +6 -0
- package/dist/qml-MB4NQ4EN.js +178 -0
- package/dist/qml-TDTX2FOX.js +6 -0
- package/dist/qore-QFFKXLHX.js +6 -0
- package/dist/qsharp-QLDDINHN.js +6 -0
- package/dist/r-DBAVHB65.js +6 -0
- package/dist/r-GLK6S5LG.js +176 -0
- package/dist/racket-UEHPRU3V.js +7 -0
- package/dist/reason-XNIFFI7W.js +6 -0
- package/dist/reasonml-A3EFSD7I.js +295 -0
- package/dist/refractor-QSDT2DOR.js +284 -0
- package/dist/regex-4CQ7USX5.js +6 -0
- package/dist/rego-PLUAE5QB.js +6 -0
- package/dist/renpy-7EMYQZZ6.js +6 -0
- package/dist/rest-225MBRYC.js +6 -0
- package/dist/rib-KFPTWPSI.js +25 -0
- package/dist/rip-AXYWLNUV.js +6 -0
- package/dist/roboconf-LKZYOFZA.js +6 -0
- package/dist/roboconf-PELBKCRB.js +79 -0
- package/dist/robotframework-ZCHW4YTZ.js +6 -0
- package/dist/routeros-SFKQCZA7.js +164 -0
- package/dist/rsl-OHPWEDAF.js +43 -0
- package/dist/ruby-HAPPD2FX.js +6 -0
- package/dist/ruby-KMU4CFZI.js +347 -0
- package/dist/ruleslanguage-JRVEML72.js +41 -0
- package/dist/rust-GWPZ6K6F.js +124 -0
- package/dist/rust-II3IKW3A.js +6 -0
- package/dist/sas-REDCJ4GG.js +67 -0
- package/dist/sas-U7J6HVZ7.js +6 -0
- package/dist/sass-TKBUIBAH.js +6 -0
- package/dist/scala-BKM3HJ5P.js +132 -0
- package/dist/scala-YXYZXYU3.js +7 -0
- package/dist/scheme-L2XII7OS.js +6 -0
- package/dist/scheme-L5GI4534.js +160 -0
- package/dist/scilab-RDGG5TEY.js +70 -0
- package/dist/scss-KSCTK36Q.js +6 -0
- package/dist/scss-L2L5VPD4.js +552 -0
- package/dist/shell-YX5ZTB5V.js +31 -0
- package/dist/shell-session-2WVSNYB5.js +7 -0
- package/dist/smali-WMNIVHFT.js +6 -0
- package/dist/smali-YFVVIBQ7.js +138 -0
- package/dist/smalltalk-EPAXI7XI.js +6 -0
- package/dist/smalltalk-XP7QOZSK.js +67 -0
- package/dist/smarty-C74U5JCX.js +7 -0
- package/dist/sml-HPHZCXQF.js +82 -0
- package/dist/sml-NT457TPS.js +6 -0
- package/dist/solidity-ACQWP5D6.js +6 -0
- package/dist/solution-file-4BXI7NIR.js +6 -0
- package/dist/soy-X6AH2CEC.js +7 -0
- package/dist/sparql-MBUGV6LB.js +7 -0
- package/dist/splunk-spl-YQIAFL2U.js +6 -0
- package/dist/sqf-I3Z5XE6D.js +87 -0
- package/dist/sqf-S43C6245.js +6 -0
- package/dist/sql-432HMRQP.js +656 -0
- package/dist/sql-SJDNUHWK.js +6 -0
- package/dist/sql_more-CR57S3OV.js +61 -0
- package/dist/squirrel-HIKXYBM5.js +6 -0
- package/dist/stan-LWH7F5QB.js +6 -0
- package/dist/stan-MGV33MGT.js +548 -0
- package/dist/stata-C5PO4VDN.js +55 -0
- package/dist/step21-6KLQSVCR.js +69 -0
- package/dist/stylus-C2OYB6XW.js +6 -0
- package/dist/stylus-TOJOIULS.js +606 -0
- package/dist/subunit-FT4R2GX5.js +55 -0
- package/dist/swift-S3BIHCLS.js +800 -0
- package/dist/swift-Y7DRPFM3.js +6 -0
- package/dist/systemd-VLODGDWH.js +6 -0
- package/dist/t4-cs-MUM3N5J2.js +8 -0
- package/dist/t4-templating-ID2TOIZK.js +6 -0
- package/dist/t4-vb-I76OANZQ.js +9 -0
- package/dist/taggerscript-NEJM45HC.js +54 -0
- package/dist/tap-I4XIHTZU.js +57 -0
- package/dist/tap-K7GU7T4S.js +7 -0
- package/dist/tcl-2QDJCLVU.js +6 -0
- package/dist/tcl-E5GCJ2NX.js +84 -0
- package/dist/textile-DFNGZE2P.js +6 -0
- package/dist/thrift-RJET6KXH.js +50 -0
- package/dist/toml-OMHCCMZV.js +6 -0
- package/dist/tp-Y6IP6BUB.js +92 -0
- package/dist/tremor-LQA3C3TX.js +6 -0
- package/dist/tsx-PJL2YKP4.js +8 -0
- package/dist/tt2-AKGJU23V.js +7 -0
- package/dist/turtle-KOSR4ZJD.js +6 -0
- package/dist/twig-6JW3X2R4.js +7 -0
- package/dist/twig-VPSU2YYX.js +71 -0
- package/dist/typescript-6RGJN4BM.js +6 -0
- package/dist/typescript-OSGZS73E.js +629 -0
- package/dist/typoscript-YMWBVMGB.js +6 -0
- package/dist/unrealscript-SFZWOE4Y.js +6 -0
- package/dist/uorazor-HPGH2F4R.js +6 -0
- package/dist/uri-5RVLM6ZT.js +6 -0
- package/dist/v-RGI67KNZ.js +6 -0
- package/dist/vala-RFHWJ2XD.js +6 -0
- package/dist/vala-VBKBPL2T.js +52 -0
- package/dist/vbnet-73BMJ32Q.js +7 -0
- package/dist/vbnet-GXDSKTB2.js +165 -0
- package/dist/vbscript-3YM27JHE.js +69 -0
- package/dist/vbscript-html-S4JWBUVY.js +25 -0
- package/dist/velocity-JGUCMDQC.js +6 -0
- package/dist/verilog-AOZBVIGG.js +73 -0
- package/dist/verilog-ECF3DTV5.js +6 -0
- package/dist/vhdl-2VMGPF4Q.js +52 -0
- package/dist/vhdl-3V57YTN6.js +6 -0
- package/dist/vim-5J7HNV6Q.js +75 -0
- package/dist/vim-RSAFGBTG.js +6 -0
- package/dist/visual-basic-QHHGT3G3.js +6 -0
- package/dist/warpscript-CTWWWESY.js +6 -0
- package/dist/wasm-BXZNTGY5.js +6 -0
- package/dist/web-idl-S56AIP2L.js +6 -0
- package/dist/wiki-IP4EB6OT.js +6 -0
- package/dist/wolfram-6FDC4H6V.js +6 -0
- package/dist/wren-CYRENO5A.js +6 -0
- package/dist/x86asm-KHJQ6Z7A.js +107 -0
- package/dist/xeora-ZL5JDTGS.js +6 -0
- package/dist/xl-GATB5PE5.js +78 -0
- package/dist/xml-Z3UJSKI2.js +255 -0
- package/dist/xml-doc-JJND6TRR.js +6 -0
- package/dist/xojo-3NN6L4QN.js +6 -0
- package/dist/xquery-65PTA4AL.js +6 -0
- package/dist/xquery-BZOAA7PO.js +162 -0
- package/dist/yaml-36VYSGA7.js +174 -0
- package/dist/yaml-AECYHYE6.js +6 -0
- package/dist/yang-UZZMQYXU.js +6 -0
- package/dist/zephir-AUYZC5ZD.js +119 -0
- package/dist/zig-VBI3G2PD.js +6 -0
- package/package.json +9 -7
|
@@ -0,0 +1,942 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__commonJS
|
|
4
|
+
} from "./chunk-Z7PWFZG5.js";
|
|
5
|
+
|
|
6
|
+
// ../../../node_modules/.pnpm/refractor@3.6.0/node_modules/refractor/lang/factor.js
|
|
7
|
+
var require_factor = __commonJS({
|
|
8
|
+
"../../../node_modules/.pnpm/refractor@3.6.0/node_modules/refractor/lang/factor.js"(exports, module) {
|
|
9
|
+
module.exports = factor;
|
|
10
|
+
factor.displayName = "factor";
|
|
11
|
+
factor.aliases = [];
|
|
12
|
+
function factor(Prism) {
|
|
13
|
+
;
|
|
14
|
+
(function(Prism2) {
|
|
15
|
+
var comment_inside = {
|
|
16
|
+
function: /\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/
|
|
17
|
+
};
|
|
18
|
+
var string_inside = {
|
|
19
|
+
number: /\\[^\s']|%\w/
|
|
20
|
+
};
|
|
21
|
+
var factor2 = {
|
|
22
|
+
comment: [
|
|
23
|
+
{
|
|
24
|
+
// ! single-line exclamation point comments with whitespace after/around the !
|
|
25
|
+
pattern: /(^|\s)(?:! .*|!$)/,
|
|
26
|
+
lookbehind: true,
|
|
27
|
+
inside: comment_inside
|
|
28
|
+
},
|
|
29
|
+
/* from basis/multiline: */
|
|
30
|
+
{
|
|
31
|
+
// /* comment */, /* comment*/
|
|
32
|
+
pattern: /(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,
|
|
33
|
+
lookbehind: true,
|
|
34
|
+
greedy: true,
|
|
35
|
+
inside: comment_inside
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
// ![[ comment ]] , ![===[ comment]===]
|
|
39
|
+
pattern: /(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,
|
|
40
|
+
lookbehind: true,
|
|
41
|
+
greedy: true,
|
|
42
|
+
inside: comment_inside
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
number: [
|
|
46
|
+
{
|
|
47
|
+
// basic base 10 integers 9, -9
|
|
48
|
+
pattern: /(^|\s)[+-]?\d+(?=\s|$)/,
|
|
49
|
+
lookbehind: true
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
// base prefix integers 0b010 0o70 0xad 0d10 0XAD -0xa9
|
|
53
|
+
pattern: /(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,
|
|
54
|
+
lookbehind: true
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
// fractional ratios 1/5 -1/5 and the literal float approximations 1/5. -1/5.
|
|
58
|
+
pattern: /(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,
|
|
59
|
+
lookbehind: true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
// positive mixed numbers 23+1/5 +23+1/5
|
|
63
|
+
pattern: /(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,
|
|
64
|
+
lookbehind: true
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
// negative mixed numbers -23-1/5
|
|
68
|
+
pattern: /(^|\s)-\d+-\d+\/\d+(?=\s|$)/,
|
|
69
|
+
lookbehind: true
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
// basic decimal floats -0.01 0. .0 .1 -.1 -1. -12.13 +12.13
|
|
73
|
+
// and scientific notation with base 10 exponents 3e4 3e-4 .3e-4
|
|
74
|
+
pattern: /(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,
|
|
75
|
+
lookbehind: true
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
// NAN literal syntax NAN: 80000deadbeef, NAN: a
|
|
79
|
+
pattern: /(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,
|
|
80
|
+
lookbehind: true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
/*
|
|
84
|
+
base prefix floats 0x1.0p3 (8.0) 0b1.010p2 (5.0) 0x1.p1 0b1.11111111p11111...
|
|
85
|
+
"The normalized hex form ±0x1.MMMMMMMMMMMMM[pP]±EEEE allows any floating-point number to be specified precisely.
|
|
86
|
+
The values of MMMMMMMMMMMMM and EEEE map directly to the mantissa and exponent fields of the binary IEEE 754 representation."
|
|
87
|
+
<https://docs.factorcode.org/content/article-syntax-floats.html>
|
|
88
|
+
*/
|
|
89
|
+
pattern: /(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,
|
|
90
|
+
lookbehind: true
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
// R/ regexp?\/\\/
|
|
94
|
+
regexp: {
|
|
95
|
+
pattern: /(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,
|
|
96
|
+
lookbehind: true,
|
|
97
|
+
alias: "number",
|
|
98
|
+
inside: {
|
|
99
|
+
variable: /\\\S/,
|
|
100
|
+
keyword: /[+?*\[\]^$(){}.|]/,
|
|
101
|
+
operator: {
|
|
102
|
+
pattern: /(\/)[idmsr]+(?:-[idmsr]+)?/,
|
|
103
|
+
lookbehind: true
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
boolean: {
|
|
108
|
+
pattern: /(^|\s)[tf](?=\s|$)/,
|
|
109
|
+
lookbehind: true
|
|
110
|
+
},
|
|
111
|
+
// SBUF" asd", URL" ://...", P" /etc/"
|
|
112
|
+
"custom-string": {
|
|
113
|
+
pattern: /(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,
|
|
114
|
+
lookbehind: true,
|
|
115
|
+
greedy: true,
|
|
116
|
+
alias: "string",
|
|
117
|
+
inside: {
|
|
118
|
+
number: /\\\S|%\w|\//
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"multiline-string": [
|
|
122
|
+
{
|
|
123
|
+
// STRING: name \n content \n ; -> CONSTANT: name "content" (symbol)
|
|
124
|
+
pattern: /(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,
|
|
125
|
+
lookbehind: true,
|
|
126
|
+
greedy: true,
|
|
127
|
+
alias: "string",
|
|
128
|
+
inside: {
|
|
129
|
+
number: string_inside.number,
|
|
130
|
+
// trailing semicolon on its own line
|
|
131
|
+
"semicolon-or-setlocal": {
|
|
132
|
+
pattern: /([\r\n][ \t]*);(?=\s|$)/,
|
|
133
|
+
lookbehind: true,
|
|
134
|
+
alias: "function"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
// HEREDOC: marker \n content \n marker ; -> "content" (immediate)
|
|
140
|
+
pattern: /(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,
|
|
141
|
+
lookbehind: true,
|
|
142
|
+
greedy: true,
|
|
143
|
+
alias: "string",
|
|
144
|
+
inside: string_inside
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
// [[ string ]], [==[ string]==]
|
|
148
|
+
pattern: /(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,
|
|
149
|
+
lookbehind: true,
|
|
150
|
+
greedy: true,
|
|
151
|
+
alias: "string",
|
|
152
|
+
inside: string_inside
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"special-using": {
|
|
156
|
+
pattern: /(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,
|
|
157
|
+
lookbehind: true,
|
|
158
|
+
alias: "function",
|
|
159
|
+
inside: {
|
|
160
|
+
// this is essentially a regex for vocab names, which i don't want to specify
|
|
161
|
+
// but the USING: gets picked up as a vocab name
|
|
162
|
+
string: {
|
|
163
|
+
pattern: /(\s)[^:\s]+/,
|
|
164
|
+
lookbehind: true
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
/* this description of stack effect literal syntax is not complete and not as specific as theoretically possible
|
|
169
|
+
trying to do better is more work and regex-computation-time than it's worth though.
|
|
170
|
+
- we'd like to have the "delimiter" parts of the stack effect [ (, --, and ) ] be a different (less-important or comment-like) colour to the stack effect contents
|
|
171
|
+
- we'd like if nested stack effects were treated as such rather than just appearing flat (with `inside`)
|
|
172
|
+
- we'd like if the following variable name conventions were recognised specifically:
|
|
173
|
+
special row variables = ..a b..
|
|
174
|
+
type and stack effect annotations end with a colon = ( quot: ( a: ( -- ) -- b ) -- x ), ( x: number -- )
|
|
175
|
+
word throws unconditional error = *
|
|
176
|
+
any other word-like variable name = a ? q' etc
|
|
177
|
+
https://docs.factorcode.org/content/article-effects.html
|
|
178
|
+
these are pretty complicated to highlight properly without a real parser, and therefore out of scope
|
|
179
|
+
the old pattern, which may be later useful, was: (^|\s)(?:call|execute|eval)?\((?:\s+[^"\r\n\t ]\S*)*?\s+--(?:\s+[^"\n\t ]\S*)*?\s+\)(?=\s|$)
|
|
180
|
+
*/
|
|
181
|
+
// current solution is not great
|
|
182
|
+
"stack-effect-delimiter": [
|
|
183
|
+
{
|
|
184
|
+
// opening parenthesis
|
|
185
|
+
pattern: /(^|\s)(?:call|eval|execute)?\((?=\s)/,
|
|
186
|
+
lookbehind: true,
|
|
187
|
+
alias: "operator"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
// middle --
|
|
191
|
+
pattern: /(\s)--(?=\s)/,
|
|
192
|
+
lookbehind: true,
|
|
193
|
+
alias: "operator"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
// closing parenthesis
|
|
197
|
+
pattern: /(\s)\)(?=\s|$)/,
|
|
198
|
+
lookbehind: true,
|
|
199
|
+
alias: "operator"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
combinators: {
|
|
203
|
+
pattern: null,
|
|
204
|
+
lookbehind: true,
|
|
205
|
+
alias: "keyword"
|
|
206
|
+
},
|
|
207
|
+
"kernel-builtin": {
|
|
208
|
+
pattern: null,
|
|
209
|
+
lookbehind: true,
|
|
210
|
+
alias: "variable"
|
|
211
|
+
},
|
|
212
|
+
"sequences-builtin": {
|
|
213
|
+
pattern: null,
|
|
214
|
+
lookbehind: true,
|
|
215
|
+
alias: "variable"
|
|
216
|
+
},
|
|
217
|
+
"math-builtin": {
|
|
218
|
+
pattern: null,
|
|
219
|
+
lookbehind: true,
|
|
220
|
+
alias: "variable"
|
|
221
|
+
},
|
|
222
|
+
"constructor-word": {
|
|
223
|
+
// <array> but not <=>
|
|
224
|
+
pattern: /(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,
|
|
225
|
+
lookbehind: true,
|
|
226
|
+
alias: "keyword"
|
|
227
|
+
},
|
|
228
|
+
"other-builtin-syntax": {
|
|
229
|
+
pattern: null,
|
|
230
|
+
lookbehind: true,
|
|
231
|
+
alias: "operator"
|
|
232
|
+
},
|
|
233
|
+
/*
|
|
234
|
+
full list of supported word naming conventions: (the convention appears outside of the [brackets])
|
|
235
|
+
set-[x]
|
|
236
|
+
change-[x]
|
|
237
|
+
with-[x]
|
|
238
|
+
new-[x]
|
|
239
|
+
>[string]
|
|
240
|
+
[base]>
|
|
241
|
+
[string]>[number]
|
|
242
|
+
+[symbol]+
|
|
243
|
+
[boolean-word]?
|
|
244
|
+
?[of]
|
|
245
|
+
[slot-reader]>>
|
|
246
|
+
>>[slot-setter]
|
|
247
|
+
[slot-writer]<<
|
|
248
|
+
([implementation-detail])
|
|
249
|
+
[mutater]!
|
|
250
|
+
[variant]*
|
|
251
|
+
[prettyprint].
|
|
252
|
+
$[help-markup]
|
|
253
|
+
<constructors>, SYNTAX:, etc are supported by their own patterns.
|
|
254
|
+
`with` and `new` from `kernel` are their own builtins.
|
|
255
|
+
see <https://docs.factorcode.org/content/article-conventions.html>
|
|
256
|
+
*/
|
|
257
|
+
"conventionally-named-word": {
|
|
258
|
+
pattern: /(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,
|
|
259
|
+
lookbehind: true,
|
|
260
|
+
alias: "keyword"
|
|
261
|
+
},
|
|
262
|
+
"colon-syntax": {
|
|
263
|
+
pattern: /(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,
|
|
264
|
+
lookbehind: true,
|
|
265
|
+
greedy: true,
|
|
266
|
+
alias: "function"
|
|
267
|
+
},
|
|
268
|
+
"semicolon-or-setlocal": {
|
|
269
|
+
pattern: /(\s)(?:;|:>)(?=\s|$)/,
|
|
270
|
+
lookbehind: true,
|
|
271
|
+
alias: "function"
|
|
272
|
+
},
|
|
273
|
+
// do not highlight leading } or trailing X{ at the begin/end of the file as it's invalid syntax
|
|
274
|
+
"curly-brace-literal-delimiter": [
|
|
275
|
+
{
|
|
276
|
+
// opening
|
|
277
|
+
pattern: /(^|\s)[a-z]*\{(?=\s)/i,
|
|
278
|
+
lookbehind: true,
|
|
279
|
+
alias: "operator"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
// closing
|
|
283
|
+
pattern: /(\s)\}(?=\s|$)/,
|
|
284
|
+
lookbehind: true,
|
|
285
|
+
alias: "operator"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
// do not highlight leading ] or trailing [ at the begin/end of the file as it's invalid syntax
|
|
289
|
+
"quotation-delimiter": [
|
|
290
|
+
{
|
|
291
|
+
// opening
|
|
292
|
+
pattern: /(^|\s)\[(?=\s)/,
|
|
293
|
+
lookbehind: true,
|
|
294
|
+
alias: "operator"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
// closing
|
|
298
|
+
pattern: /(\s)\](?=\s|$)/,
|
|
299
|
+
lookbehind: true,
|
|
300
|
+
alias: "operator"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"normal-word": {
|
|
304
|
+
pattern: /(^|\s)[^"\s]\S*(?=\s|$)/,
|
|
305
|
+
lookbehind: true
|
|
306
|
+
},
|
|
307
|
+
/*
|
|
308
|
+
basic first-class string "a"
|
|
309
|
+
with escaped double-quote "a\""
|
|
310
|
+
escaped backslash "\\"
|
|
311
|
+
and general escapes since Factor has so many "\N"
|
|
312
|
+
syntax that works in the reference implementation that isn't fully
|
|
313
|
+
supported because it's an implementation detail:
|
|
314
|
+
"string 1""string 2" -> 2 strings (works anyway)
|
|
315
|
+
"string"5 -> string, 5
|
|
316
|
+
"string"[ ] -> string, quotation
|
|
317
|
+
{ "a"} -> array<string>
|
|
318
|
+
the rest of those examples all properly recognise the string, but not
|
|
319
|
+
the other object (number, quotation, etc)
|
|
320
|
+
this is fine for a regex-only implementation.
|
|
321
|
+
*/
|
|
322
|
+
string: {
|
|
323
|
+
pattern: /"(?:\\\S|[^"\\])*"/,
|
|
324
|
+
greedy: true,
|
|
325
|
+
inside: string_inside
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
var escape = function(str) {
|
|
329
|
+
return (str + "").replace(/([.?*+\^$\[\]\\(){}|\-])/g, "\\$1");
|
|
330
|
+
};
|
|
331
|
+
var arrToWordsRegExp = function(arr) {
|
|
332
|
+
return new RegExp("(^|\\s)(?:" + arr.map(escape).join("|") + ")(?=\\s|$)");
|
|
333
|
+
};
|
|
334
|
+
var builtins = {
|
|
335
|
+
"kernel-builtin": [
|
|
336
|
+
"or",
|
|
337
|
+
"2nipd",
|
|
338
|
+
"4drop",
|
|
339
|
+
"tuck",
|
|
340
|
+
"wrapper",
|
|
341
|
+
"nip",
|
|
342
|
+
"wrapper?",
|
|
343
|
+
"callstack>array",
|
|
344
|
+
"die",
|
|
345
|
+
"dupd",
|
|
346
|
+
"callstack",
|
|
347
|
+
"callstack?",
|
|
348
|
+
"3dup",
|
|
349
|
+
"hashcode",
|
|
350
|
+
"pick",
|
|
351
|
+
"4nip",
|
|
352
|
+
"build",
|
|
353
|
+
">boolean",
|
|
354
|
+
"nipd",
|
|
355
|
+
"clone",
|
|
356
|
+
"5nip",
|
|
357
|
+
"eq?",
|
|
358
|
+
"?",
|
|
359
|
+
"=",
|
|
360
|
+
"swapd",
|
|
361
|
+
"2over",
|
|
362
|
+
"clear",
|
|
363
|
+
"2dup",
|
|
364
|
+
"get-retainstack",
|
|
365
|
+
"not",
|
|
366
|
+
"tuple?",
|
|
367
|
+
"dup",
|
|
368
|
+
"3nipd",
|
|
369
|
+
"call",
|
|
370
|
+
"-rotd",
|
|
371
|
+
"object",
|
|
372
|
+
"drop",
|
|
373
|
+
"assert=",
|
|
374
|
+
"assert?",
|
|
375
|
+
"-rot",
|
|
376
|
+
"execute",
|
|
377
|
+
"boa",
|
|
378
|
+
"get-callstack",
|
|
379
|
+
"curried?",
|
|
380
|
+
"3drop",
|
|
381
|
+
"pickd",
|
|
382
|
+
"overd",
|
|
383
|
+
"over",
|
|
384
|
+
"roll",
|
|
385
|
+
"3nip",
|
|
386
|
+
"swap",
|
|
387
|
+
"and",
|
|
388
|
+
"2nip",
|
|
389
|
+
"rotd",
|
|
390
|
+
"throw",
|
|
391
|
+
"(clone)",
|
|
392
|
+
"hashcode*",
|
|
393
|
+
"spin",
|
|
394
|
+
"reach",
|
|
395
|
+
"4dup",
|
|
396
|
+
"equal?",
|
|
397
|
+
"get-datastack",
|
|
398
|
+
"assert",
|
|
399
|
+
"2drop",
|
|
400
|
+
"<wrapper>",
|
|
401
|
+
"boolean?",
|
|
402
|
+
"identity-hashcode",
|
|
403
|
+
"identity-tuple?",
|
|
404
|
+
"null",
|
|
405
|
+
"composed?",
|
|
406
|
+
"new",
|
|
407
|
+
"5drop",
|
|
408
|
+
"rot",
|
|
409
|
+
"-roll",
|
|
410
|
+
"xor",
|
|
411
|
+
"identity-tuple",
|
|
412
|
+
"boolean"
|
|
413
|
+
],
|
|
414
|
+
"other-builtin-syntax": [
|
|
415
|
+
// syntax
|
|
416
|
+
"=======",
|
|
417
|
+
"recursive",
|
|
418
|
+
"flushable",
|
|
419
|
+
">>",
|
|
420
|
+
"<<<<<<",
|
|
421
|
+
"M\\",
|
|
422
|
+
"B",
|
|
423
|
+
"PRIVATE>",
|
|
424
|
+
"\\",
|
|
425
|
+
"======",
|
|
426
|
+
"final",
|
|
427
|
+
"inline",
|
|
428
|
+
"delimiter",
|
|
429
|
+
"deprecated",
|
|
430
|
+
"<PRIVATE",
|
|
431
|
+
">>>>>>",
|
|
432
|
+
"<<<<<<<",
|
|
433
|
+
"parse-complex",
|
|
434
|
+
"malformed-complex",
|
|
435
|
+
"read-only",
|
|
436
|
+
">>>>>>>",
|
|
437
|
+
"call-next-method",
|
|
438
|
+
"<<",
|
|
439
|
+
"foldable",
|
|
440
|
+
// literals
|
|
441
|
+
"$",
|
|
442
|
+
"$[",
|
|
443
|
+
"${"
|
|
444
|
+
],
|
|
445
|
+
"sequences-builtin": [
|
|
446
|
+
"member-eq?",
|
|
447
|
+
"mismatch",
|
|
448
|
+
"append",
|
|
449
|
+
"assert-sequence=",
|
|
450
|
+
"longer",
|
|
451
|
+
"repetition",
|
|
452
|
+
"clone-like",
|
|
453
|
+
"3sequence",
|
|
454
|
+
"assert-sequence?",
|
|
455
|
+
"last-index-from",
|
|
456
|
+
"reversed",
|
|
457
|
+
"index-from",
|
|
458
|
+
"cut*",
|
|
459
|
+
"pad-tail",
|
|
460
|
+
"join-as",
|
|
461
|
+
"remove-eq!",
|
|
462
|
+
"concat-as",
|
|
463
|
+
"but-last",
|
|
464
|
+
"snip",
|
|
465
|
+
"nths",
|
|
466
|
+
"nth",
|
|
467
|
+
"sequence",
|
|
468
|
+
"longest",
|
|
469
|
+
"slice?",
|
|
470
|
+
"<slice>",
|
|
471
|
+
"remove-nth",
|
|
472
|
+
"tail-slice",
|
|
473
|
+
"empty?",
|
|
474
|
+
"tail*",
|
|
475
|
+
"member?",
|
|
476
|
+
"virtual-sequence?",
|
|
477
|
+
"set-length",
|
|
478
|
+
"drop-prefix",
|
|
479
|
+
"iota",
|
|
480
|
+
"unclip",
|
|
481
|
+
"bounds-error?",
|
|
482
|
+
"unclip-last-slice",
|
|
483
|
+
"non-negative-integer-expected",
|
|
484
|
+
"non-negative-integer-expected?",
|
|
485
|
+
"midpoint@",
|
|
486
|
+
"longer?",
|
|
487
|
+
"?set-nth",
|
|
488
|
+
"?first",
|
|
489
|
+
"rest-slice",
|
|
490
|
+
"prepend-as",
|
|
491
|
+
"prepend",
|
|
492
|
+
"fourth",
|
|
493
|
+
"sift",
|
|
494
|
+
"subseq-start",
|
|
495
|
+
"new-sequence",
|
|
496
|
+
"?last",
|
|
497
|
+
"like",
|
|
498
|
+
"first4",
|
|
499
|
+
"1sequence",
|
|
500
|
+
"reverse",
|
|
501
|
+
"slice",
|
|
502
|
+
"virtual@",
|
|
503
|
+
"repetition?",
|
|
504
|
+
"set-last",
|
|
505
|
+
"index",
|
|
506
|
+
"4sequence",
|
|
507
|
+
"max-length",
|
|
508
|
+
"set-second",
|
|
509
|
+
"immutable-sequence",
|
|
510
|
+
"first2",
|
|
511
|
+
"first3",
|
|
512
|
+
"supremum",
|
|
513
|
+
"unclip-slice",
|
|
514
|
+
"suffix!",
|
|
515
|
+
"insert-nth",
|
|
516
|
+
"tail",
|
|
517
|
+
"3append",
|
|
518
|
+
"short",
|
|
519
|
+
"suffix",
|
|
520
|
+
"concat",
|
|
521
|
+
"flip",
|
|
522
|
+
"immutable?",
|
|
523
|
+
"reverse!",
|
|
524
|
+
"2sequence",
|
|
525
|
+
"sum",
|
|
526
|
+
"delete-all",
|
|
527
|
+
"indices",
|
|
528
|
+
"snip-slice",
|
|
529
|
+
"<iota>",
|
|
530
|
+
"check-slice",
|
|
531
|
+
"sequence?",
|
|
532
|
+
"head",
|
|
533
|
+
"append-as",
|
|
534
|
+
"halves",
|
|
535
|
+
"sequence=",
|
|
536
|
+
"collapse-slice",
|
|
537
|
+
"?second",
|
|
538
|
+
"slice-error?",
|
|
539
|
+
"product",
|
|
540
|
+
"bounds-check?",
|
|
541
|
+
"bounds-check",
|
|
542
|
+
"immutable",
|
|
543
|
+
"virtual-exemplar",
|
|
544
|
+
"harvest",
|
|
545
|
+
"remove",
|
|
546
|
+
"pad-head",
|
|
547
|
+
"last",
|
|
548
|
+
"set-fourth",
|
|
549
|
+
"cartesian-product",
|
|
550
|
+
"remove-eq",
|
|
551
|
+
"shorten",
|
|
552
|
+
"shorter",
|
|
553
|
+
"reversed?",
|
|
554
|
+
"shorter?",
|
|
555
|
+
"shortest",
|
|
556
|
+
"head-slice",
|
|
557
|
+
"pop*",
|
|
558
|
+
"tail-slice*",
|
|
559
|
+
"but-last-slice",
|
|
560
|
+
"iota?",
|
|
561
|
+
"append!",
|
|
562
|
+
"cut-slice",
|
|
563
|
+
"new-resizable",
|
|
564
|
+
"head-slice*",
|
|
565
|
+
"sequence-hashcode",
|
|
566
|
+
"pop",
|
|
567
|
+
"set-nth",
|
|
568
|
+
"?nth",
|
|
569
|
+
"second",
|
|
570
|
+
"join",
|
|
571
|
+
"immutable-sequence?",
|
|
572
|
+
"<reversed>",
|
|
573
|
+
"3append-as",
|
|
574
|
+
"virtual-sequence",
|
|
575
|
+
"subseq?",
|
|
576
|
+
"remove-nth!",
|
|
577
|
+
"length",
|
|
578
|
+
"last-index",
|
|
579
|
+
"lengthen",
|
|
580
|
+
"assert-sequence",
|
|
581
|
+
"copy",
|
|
582
|
+
"move",
|
|
583
|
+
"third",
|
|
584
|
+
"first",
|
|
585
|
+
"tail?",
|
|
586
|
+
"set-first",
|
|
587
|
+
"prefix",
|
|
588
|
+
"bounds-error",
|
|
589
|
+
"<repetition>",
|
|
590
|
+
"exchange",
|
|
591
|
+
"surround",
|
|
592
|
+
"cut",
|
|
593
|
+
"min-length",
|
|
594
|
+
"set-third",
|
|
595
|
+
"push-all",
|
|
596
|
+
"head?",
|
|
597
|
+
"subseq-start-from",
|
|
598
|
+
"delete-slice",
|
|
599
|
+
"rest",
|
|
600
|
+
"sum-lengths",
|
|
601
|
+
"head*",
|
|
602
|
+
"infimum",
|
|
603
|
+
"remove!",
|
|
604
|
+
"glue",
|
|
605
|
+
"slice-error",
|
|
606
|
+
"subseq",
|
|
607
|
+
"push",
|
|
608
|
+
"replace-slice",
|
|
609
|
+
"subseq-as",
|
|
610
|
+
"unclip-last"
|
|
611
|
+
],
|
|
612
|
+
"math-builtin": [
|
|
613
|
+
"number=",
|
|
614
|
+
"next-power-of-2",
|
|
615
|
+
"?1+",
|
|
616
|
+
"fp-special?",
|
|
617
|
+
"imaginary-part",
|
|
618
|
+
"float>bits",
|
|
619
|
+
"number?",
|
|
620
|
+
"fp-infinity?",
|
|
621
|
+
"bignum?",
|
|
622
|
+
"fp-snan?",
|
|
623
|
+
"denominator",
|
|
624
|
+
"gcd",
|
|
625
|
+
"*",
|
|
626
|
+
"+",
|
|
627
|
+
"fp-bitwise=",
|
|
628
|
+
"-",
|
|
629
|
+
"u>=",
|
|
630
|
+
"/",
|
|
631
|
+
">=",
|
|
632
|
+
"bitand",
|
|
633
|
+
"power-of-2?",
|
|
634
|
+
"log2-expects-positive",
|
|
635
|
+
"neg?",
|
|
636
|
+
"<",
|
|
637
|
+
"log2",
|
|
638
|
+
">",
|
|
639
|
+
"integer?",
|
|
640
|
+
"number",
|
|
641
|
+
"bits>double",
|
|
642
|
+
"2/",
|
|
643
|
+
"zero?",
|
|
644
|
+
"bits>float",
|
|
645
|
+
"float?",
|
|
646
|
+
"shift",
|
|
647
|
+
"ratio?",
|
|
648
|
+
"rect>",
|
|
649
|
+
"even?",
|
|
650
|
+
"ratio",
|
|
651
|
+
"fp-sign",
|
|
652
|
+
"bitnot",
|
|
653
|
+
">fixnum",
|
|
654
|
+
"complex?",
|
|
655
|
+
"/i",
|
|
656
|
+
"integer>fixnum",
|
|
657
|
+
"/f",
|
|
658
|
+
"sgn",
|
|
659
|
+
">bignum",
|
|
660
|
+
"next-float",
|
|
661
|
+
"u<",
|
|
662
|
+
"u>",
|
|
663
|
+
"mod",
|
|
664
|
+
"recip",
|
|
665
|
+
"rational",
|
|
666
|
+
">float",
|
|
667
|
+
"2^",
|
|
668
|
+
"integer",
|
|
669
|
+
"fixnum?",
|
|
670
|
+
"neg",
|
|
671
|
+
"fixnum",
|
|
672
|
+
"sq",
|
|
673
|
+
"bignum",
|
|
674
|
+
">rect",
|
|
675
|
+
"bit?",
|
|
676
|
+
"fp-qnan?",
|
|
677
|
+
"simple-gcd",
|
|
678
|
+
"complex",
|
|
679
|
+
"<fp-nan>",
|
|
680
|
+
"real",
|
|
681
|
+
">fraction",
|
|
682
|
+
"double>bits",
|
|
683
|
+
"bitor",
|
|
684
|
+
"rem",
|
|
685
|
+
"fp-nan-payload",
|
|
686
|
+
"real-part",
|
|
687
|
+
"log2-expects-positive?",
|
|
688
|
+
"prev-float",
|
|
689
|
+
"align",
|
|
690
|
+
"unordered?",
|
|
691
|
+
"float",
|
|
692
|
+
"fp-nan?",
|
|
693
|
+
"abs",
|
|
694
|
+
"bitxor",
|
|
695
|
+
"integer>fixnum-strict",
|
|
696
|
+
"u<=",
|
|
697
|
+
"odd?",
|
|
698
|
+
"<=",
|
|
699
|
+
"/mod",
|
|
700
|
+
">integer",
|
|
701
|
+
"real?",
|
|
702
|
+
"rational?",
|
|
703
|
+
"numerator"
|
|
704
|
+
]
|
|
705
|
+
// that's all for now
|
|
706
|
+
};
|
|
707
|
+
Object.keys(builtins).forEach(function(k) {
|
|
708
|
+
factor2[k].pattern = arrToWordsRegExp(builtins[k]);
|
|
709
|
+
});
|
|
710
|
+
var combinators = [
|
|
711
|
+
// kernel
|
|
712
|
+
"2bi",
|
|
713
|
+
"while",
|
|
714
|
+
"2tri",
|
|
715
|
+
"bi*",
|
|
716
|
+
"4dip",
|
|
717
|
+
"both?",
|
|
718
|
+
"same?",
|
|
719
|
+
"tri@",
|
|
720
|
+
"curry",
|
|
721
|
+
"prepose",
|
|
722
|
+
"3bi",
|
|
723
|
+
"?if",
|
|
724
|
+
"tri*",
|
|
725
|
+
"2keep",
|
|
726
|
+
"3keep",
|
|
727
|
+
"curried",
|
|
728
|
+
"2keepd",
|
|
729
|
+
"when",
|
|
730
|
+
"2bi*",
|
|
731
|
+
"2tri*",
|
|
732
|
+
"4keep",
|
|
733
|
+
"bi@",
|
|
734
|
+
"keepdd",
|
|
735
|
+
"do",
|
|
736
|
+
"unless*",
|
|
737
|
+
"tri-curry",
|
|
738
|
+
"if*",
|
|
739
|
+
"loop",
|
|
740
|
+
"bi-curry*",
|
|
741
|
+
"when*",
|
|
742
|
+
"2bi@",
|
|
743
|
+
"2tri@",
|
|
744
|
+
"with",
|
|
745
|
+
"2with",
|
|
746
|
+
"either?",
|
|
747
|
+
"bi",
|
|
748
|
+
"until",
|
|
749
|
+
"3dip",
|
|
750
|
+
"3curry",
|
|
751
|
+
"tri-curry*",
|
|
752
|
+
"tri-curry@",
|
|
753
|
+
"bi-curry",
|
|
754
|
+
"keepd",
|
|
755
|
+
"compose",
|
|
756
|
+
"2dip",
|
|
757
|
+
"if",
|
|
758
|
+
"3tri",
|
|
759
|
+
"unless",
|
|
760
|
+
"tuple",
|
|
761
|
+
"keep",
|
|
762
|
+
"2curry",
|
|
763
|
+
"tri",
|
|
764
|
+
"most",
|
|
765
|
+
"while*",
|
|
766
|
+
"dip",
|
|
767
|
+
"composed",
|
|
768
|
+
"bi-curry@",
|
|
769
|
+
// sequences
|
|
770
|
+
"find-last-from",
|
|
771
|
+
"trim-head-slice",
|
|
772
|
+
"map-as",
|
|
773
|
+
"each-from",
|
|
774
|
+
"none?",
|
|
775
|
+
"trim-tail",
|
|
776
|
+
"partition",
|
|
777
|
+
"if-empty",
|
|
778
|
+
"accumulate*",
|
|
779
|
+
"reject!",
|
|
780
|
+
"find-from",
|
|
781
|
+
"accumulate-as",
|
|
782
|
+
"collector-for-as",
|
|
783
|
+
"reject",
|
|
784
|
+
"map",
|
|
785
|
+
"map-sum",
|
|
786
|
+
"accumulate!",
|
|
787
|
+
"2each-from",
|
|
788
|
+
"follow",
|
|
789
|
+
"supremum-by",
|
|
790
|
+
"map!",
|
|
791
|
+
"unless-empty",
|
|
792
|
+
"collector",
|
|
793
|
+
"padding",
|
|
794
|
+
"reduce-index",
|
|
795
|
+
"replicate-as",
|
|
796
|
+
"infimum-by",
|
|
797
|
+
"trim-tail-slice",
|
|
798
|
+
"count",
|
|
799
|
+
"find-index",
|
|
800
|
+
"filter",
|
|
801
|
+
"accumulate*!",
|
|
802
|
+
"reject-as",
|
|
803
|
+
"map-integers",
|
|
804
|
+
"map-find",
|
|
805
|
+
"reduce",
|
|
806
|
+
"selector",
|
|
807
|
+
"interleave",
|
|
808
|
+
"2map",
|
|
809
|
+
"filter-as",
|
|
810
|
+
"binary-reduce",
|
|
811
|
+
"map-index-as",
|
|
812
|
+
"find",
|
|
813
|
+
"produce",
|
|
814
|
+
"filter!",
|
|
815
|
+
"replicate",
|
|
816
|
+
"cartesian-map",
|
|
817
|
+
"cartesian-each",
|
|
818
|
+
"find-index-from",
|
|
819
|
+
"map-find-last",
|
|
820
|
+
"3map-as",
|
|
821
|
+
"3map",
|
|
822
|
+
"find-last",
|
|
823
|
+
"selector-as",
|
|
824
|
+
"2map-as",
|
|
825
|
+
"2map-reduce",
|
|
826
|
+
"accumulate",
|
|
827
|
+
"each",
|
|
828
|
+
"each-index",
|
|
829
|
+
"accumulate*-as",
|
|
830
|
+
"when-empty",
|
|
831
|
+
"all?",
|
|
832
|
+
"collector-as",
|
|
833
|
+
"push-either",
|
|
834
|
+
"new-like",
|
|
835
|
+
"collector-for",
|
|
836
|
+
"2selector",
|
|
837
|
+
"push-if",
|
|
838
|
+
"2all?",
|
|
839
|
+
"map-reduce",
|
|
840
|
+
"3each",
|
|
841
|
+
"any?",
|
|
842
|
+
"trim-slice",
|
|
843
|
+
"2reduce",
|
|
844
|
+
"change-nth",
|
|
845
|
+
"produce-as",
|
|
846
|
+
"2each",
|
|
847
|
+
"trim",
|
|
848
|
+
"trim-head",
|
|
849
|
+
"cartesian-find",
|
|
850
|
+
"map-index",
|
|
851
|
+
// math
|
|
852
|
+
"if-zero",
|
|
853
|
+
"each-integer",
|
|
854
|
+
"unless-zero",
|
|
855
|
+
"(find-integer)",
|
|
856
|
+
"when-zero",
|
|
857
|
+
"find-last-integer",
|
|
858
|
+
"(all-integers?)",
|
|
859
|
+
"times",
|
|
860
|
+
"(each-integer)",
|
|
861
|
+
"find-integer",
|
|
862
|
+
"all-integers?",
|
|
863
|
+
// math.combinators
|
|
864
|
+
"unless-negative",
|
|
865
|
+
"if-positive",
|
|
866
|
+
"when-positive",
|
|
867
|
+
"when-negative",
|
|
868
|
+
"unless-positive",
|
|
869
|
+
"if-negative",
|
|
870
|
+
// combinators
|
|
871
|
+
"case",
|
|
872
|
+
"2cleave",
|
|
873
|
+
"cond>quot",
|
|
874
|
+
"case>quot",
|
|
875
|
+
"3cleave",
|
|
876
|
+
"wrong-values",
|
|
877
|
+
"to-fixed-point",
|
|
878
|
+
"alist>quot",
|
|
879
|
+
"cond",
|
|
880
|
+
"cleave",
|
|
881
|
+
"call-effect",
|
|
882
|
+
"recursive-hashcode",
|
|
883
|
+
"spread",
|
|
884
|
+
"deep-spread>quot",
|
|
885
|
+
// combinators.short-circuit
|
|
886
|
+
"2||",
|
|
887
|
+
"0||",
|
|
888
|
+
"n||",
|
|
889
|
+
"0&&",
|
|
890
|
+
"2&&",
|
|
891
|
+
"3||",
|
|
892
|
+
"1||",
|
|
893
|
+
"1&&",
|
|
894
|
+
"n&&",
|
|
895
|
+
"3&&",
|
|
896
|
+
// combinators.smart
|
|
897
|
+
"smart-unless*",
|
|
898
|
+
"keep-inputs",
|
|
899
|
+
"reduce-outputs",
|
|
900
|
+
"smart-when*",
|
|
901
|
+
"cleave>array",
|
|
902
|
+
"smart-with",
|
|
903
|
+
"smart-apply",
|
|
904
|
+
"smart-if",
|
|
905
|
+
"inputs/outputs",
|
|
906
|
+
"output>sequence-n",
|
|
907
|
+
"map-outputs",
|
|
908
|
+
"map-reduce-outputs",
|
|
909
|
+
"dropping",
|
|
910
|
+
"output>array",
|
|
911
|
+
"smart-map-reduce",
|
|
912
|
+
"smart-2map-reduce",
|
|
913
|
+
"output>array-n",
|
|
914
|
+
"nullary",
|
|
915
|
+
"input<sequence",
|
|
916
|
+
"append-outputs",
|
|
917
|
+
"drop-inputs",
|
|
918
|
+
"inputs",
|
|
919
|
+
"smart-2reduce",
|
|
920
|
+
"drop-outputs",
|
|
921
|
+
"smart-reduce",
|
|
922
|
+
"preserving",
|
|
923
|
+
"smart-when",
|
|
924
|
+
"outputs",
|
|
925
|
+
"append-outputs-as",
|
|
926
|
+
"smart-unless",
|
|
927
|
+
"smart-if*",
|
|
928
|
+
"sum-outputs",
|
|
929
|
+
"input<sequence-unsafe",
|
|
930
|
+
"output>sequence"
|
|
931
|
+
// tafn
|
|
932
|
+
];
|
|
933
|
+
factor2.combinators.pattern = arrToWordsRegExp(combinators);
|
|
934
|
+
Prism2.languages.factor = factor2;
|
|
935
|
+
})(Prism);
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
});
|
|
939
|
+
|
|
940
|
+
export {
|
|
941
|
+
require_factor
|
|
942
|
+
};
|