12 ?: ?& (gte (met 3 a) 2)
17 ?& ?|(=('-' vis) ?&((gte vis 'a') (lte vis 'z')))
31 ++ rf `tape`[?-(a $& '&', $| '|', * !!) ~]
38 ++ rn `tape`[?>(=(0 a) '~') ~]
44 ++ rt `tape`['\'' (weld (mesc (trip a)) `tape`['\'' ~])]
56 ++ rtam `tape`['%' (trip a)]
62 ++ rub `tape`['0' 'b' (rum 2 ~ |=(b/@ (add '0' b)))]
68 ++ rud (rum 10 ~ |=(b/@ (add '0' b)))
75 |= {b/@ c/tape d/$-(@ @)}
83 =+ f=&(!=(0 e) =(0 (mod e ?:(=(10 b) 3 4))))
86 c [(d (mod a b)) ?:(f [?:(=(10 b) ',' '-') c] c)]
103 $(a (rsh 5 1 a), b (sub b 4))
104 `tape`['-' '-' $(a (end 5 1 a), b 4)]
113 (weld (trip (tod:po c)) (trip (tos:po (mix c d))))
116 (weld ^$(a c, b (met 3 c)) `tape`['-' $(a (mix c d), b 2)])
135 ?:((lth b 26) (add 65 b) ?:((lth b 52) (add 71 b) (sub b 4)))
142 ++ rux `tape`['0' 'x' (rum 16 ~ |=(b/@ (add b ?:((lth b 10) 48 87))))]
144 :::::::::::::::::::::::::::::::::::::::::::::::::::::: ::
148------------------------------------------------------------------------
157Produce the case insensitive (all lowercase) [`++cord`]() of a [`++tape`]().
175 (turn vib |=(a/@ ?.(&((gte a 'A') (lte a 'Z')) a (add 32 a))))
181 7.309.170.810.699.673.450
182 > `cord`(cass "john doe")
184 > (cass "abc, 123, !@#")
185 2.792.832.775.110.938.439.066.079.945.313
186 > `cord`(cass "abc, 123, !@#")
195Produce a `++cord` from a `++tape`.
210 ++ crip |=(a=tape `@t`(rap 3 a)) :: tape to cord
217 > (crip "abc 123 !@#")
228Turn all occurances of lowercase letters in any `++tape` into uppercase
229letters, as a `++cord`.
248 (turn vib |=(a=@ ?.(&((gte a 'a') (lte a 'z')) a (sub a 32))))
256 > (cuss "abc ABC 123 !@#")
260 > (cuss "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsQqRrVvWwXxYyZz")
261 'AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSQQRRVVWWXXYYZZ'
269Escape special characters, used in `++show`.
284 ++ mesc :: ctrl code escape
290 ['\\' '\\' $(vib t.vib)]
291 ?: ?|((gth i.vib 126) (lth i.vib 32) =(`@`39 i.vib))
292 ['\\' (welp ~(rux at i.vib) '/' $(vib t.vib))]
304 "as\0x27/sa\0xc3/\0x9f/"
313Add `a` repetitions of character `b` to the head of `++tape` `c`.
318`a` and `b` are atoms.
330 ++ runt :: prepend repeatedly
331 |= [[a/@ b/@] c/tape]
341 /> (runt [2 '/'] "ham")
343 /> (runt [10 'a'] "")
353Soft-cast validity by odor.
358`a` is a `++span` (`@ta`).
370 ++ sand :: atom sanity
373 ?.(((sane a) b) ~ [~ b])
379 /> `(unit @ta)`((sand %ta) 'sym-som')
381 /> `(unit @ta)`((sand %ta) 'err!')
391Check validity by odor. Produces a gate.
396`a` is a `++span` (`@ta`).
408 ++ sane :: atom sanity
413 =+ [inx=0 len=(met 3 b)]
417 =+ cur=(cut 3 [inx 1] b)
418 ?& ?| &((gte cur 'a') (lte cur 'z'))
419 &(=('-' cur) !=(0 inx) !=(len inx))
420 &(&((gte cur '0') (lte cur '9')) !=(0 inx))
427 =+ cur=(cut 3 [inx 1] b)
428 ?& ?| &((gte cur 'a') (lte cur 'z'))
429 &((gte cur '0') (lte cur '9'))
430 |(=('-' cur) =('~' cur) =('_' cur) =('.' cur))
437 ?: &((lth cur 32) !=(10 cur)) |
439 ?& |(=(1 len) =+(i=1 |-(|(=(i len) &((gte (cut 3 [i 1] b) 128) $(i +(i)))))))
447 /> ((sane %tas) %mol)
449 /> ((sane %tas) 'lam')
451 /> ((sane %tas) 'more ace')
461Produces the number of utf8 bytes.
481 ?> |((gte b 32) =(10 b))
482 ?:((lte b 127) 1 ?:((lte b 223) 2 ?:((lte b 239) 3 4)))
499Split first `a` characters off `++tape` `b`.
511A cell of `++tape`s, `p` and `q`.
516 ++ trim :: 31-bit nonzero
520 =+ haz=(spec syd key)
521 =+ ham=(mix (rsh 0 31 haz) (end 0 31 haz))
522 ?.(=(0 ham) ham $(syd +(syd)))
530 /> (trim 5 "lasok termun")
531 [p="lasok" q=" termun"]
542Produce a `++tape` from `++cord`.
557 ++ trip :: cord to tape
562 [^-(@ta (end 3 1 a)) $(a (rsh 3 1 a))]
571 /> (trip 'abc 123 !@#')
583Convert `++tape` to a `++list` of codepoints (`@c`).
593A `++list` of codepoints `@c`.
598 ++ tuba :: utf8 to utf32 tape
601 (rip 5 (turf (rap 3 a))) :: XX horrible
608 ~[~-~44f. ~-. ~-~442. ~-~443. ~-~442.]
610 ~[~-c ~-h ~-a ~-r ~-s]
619Wrap a `++list` of utf32 codepoints into a utf8 `++tape`.
624`a` is a `++list` of `@c`.
634 ++ tufa :: utf32 to utf8 tape
638 (weld (rip 3 (tuft i.a)) $(a t.a))
644 /> (tufa ~[~-~44f. ~-. ~-~442. ~-~443. ~-~442.])
646 /> (tufa ((list @c) ~[%a %b 0xb1 %c]))
656Convert utf32 glyph to
662`a` is a codepoint (`@c`).
672 ++ tuft :: utf32 to utf8 text
680 =+ c=$(a (rsh 5 1 a))
684 :* (mix 0b1100.0000 (cut 0 [6 5] b))
685 (mix 0b1000.0000 (end 0 6 b))
689 :* (mix 0b1110.0000 (cut 0 [12 4] b))
690 (mix 0b1000.0000 (cut 0 [6 6] b))
691 (mix 0b1000.0000 (end 0 6 b))
694 :* (mix 0b1111.0000 (cut 0 [18 3] b))
695 (mix 0b1000.0000 (cut 0 [12 6] b))
696 (mix 0b1000.0000 (cut 0 [6 6] b))
697 (mix 0b1000.0000 (end 0 6 b))
717Convert utf8 (`++cord`) to utf32 codepoints.
727A `@c`, UTF-32 codepoint.
732 ++ turf :: utf8 to utf32
746 $3 [[16 6] [8 6] [0 4] ~]
747 $4 [[24 6] [16 6] [8 6] [0 3] ~]
749 |=({p/@ q/@} [q (cut 0 [p q] a)])
750 ?. =((tuft c) (end 3 b a)) ~|(%bad-utf8 !!)
762 ~-~44f..~442.~443.~442.
764 0x82.d183.d182.d120.8fd1
765 /> `@ux`(turf 'я тут')
766 0x442.0000.0443.0000.0442.0000.0020.0000.044f
775Escape `++span` `~` as `~~` and `_` as `~-`. Used for printing.
780`a` is a `++span` (`@ta`).
790 ++ wack :: coin format
798 ?: =('~' i.b) ['~' '~' $(b t.b)]
799 ?: =('_' i.b) ['~' '-' $(b t.b)]
808 /> `@t`(wack '~20_sam~')
810 > ~(rend co %many ~[`ud/5 `ta/'~20_sam'])
822Unescape `++span` `~~` as `~` and `~-` as `_`.
837 ++ wick :: knot format
841 =- ?^(b ~ (some (rap 3 (flop c))))
843 |- ^- {b/tape c/tape}
849 $'~' $(b t.t.b, c ['~' c])
850 $'-' $(b t.t.b, c ['_' c])
858 /> `@t`(wick '~-ams~~lop')
860 /> `@t`(wick (wack '~20_sam~'))
870Unescape `++cord` codepoints.
885 ++ woad :: cord format
898 => .(b (end 3 1 c), c (rsh 3 1 c))
899 ?+ b =- (weld (rip 3 (tuft p.d)) $(a q.d))
911 ?: &((gte b '0') (lte b '9')) 48
912 ?>(&((gte b 'a') (lte b 'z')) 87)
922 /> (woad ~.~b6.20.as)
932Escape `++cord` codepoints.
937`a` is a `++span` (`@ta`).
947 ++ wood :: cord format
955 =+ c=(turf (end 3 b a))
956 =+ d=$(a (rsh 3 b a))
957 ?: ?| &((gte c 'a') (lte c 'z'))
958 &((gte c '0') (lte c '9'))
970 [(add ?:((lte f 9) 48 87) f) $(c (end 2 e c))]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list