2021-06-29 00:54:41 +03:00
|
|
|
=> |%
|
|
|
|
+$ bill (list chit)
|
|
|
|
+$ chit
|
|
|
|
$% [%apes duz=(list dude:gall)]
|
|
|
|
[%fish duz=(list dude:gall)]
|
|
|
|
==
|
|
|
|
--
|
|
|
|
|_ bil=bill
|
|
|
|
++ grow
|
|
|
|
|%
|
|
|
|
++ mime [/text/x-bill (as-octs:mimes:html hoon)]
|
|
|
|
++ noun bil
|
|
|
|
++ hoon
|
2021-06-29 01:46:14 +03:00
|
|
|
^- @t
|
|
|
|
|^ (crip (of-wall:format (wrap-lines (zing (turn bil spit-chit)))))
|
2021-06-29 00:54:41 +03:00
|
|
|
::
|
2021-06-29 01:46:14 +03:00
|
|
|
++ wrap-lines
|
|
|
|
|= taz=wall
|
|
|
|
^- wall
|
|
|
|
?~ taz ["~"]~
|
|
|
|
:- (weld ":~ " i.taz)
|
|
|
|
%- snoc :_ "=="
|
|
|
|
(turn t.taz |=(t=tape (weld " " t)))
|
2021-06-29 00:54:41 +03:00
|
|
|
::
|
|
|
|
++ spit-chit
|
|
|
|
|= =chit
|
2021-06-29 01:46:14 +03:00
|
|
|
^- wall
|
2021-06-29 00:54:41 +03:00
|
|
|
?- -.chit
|
2021-06-29 01:46:14 +03:00
|
|
|
%apes [":- %apes" (wrap-lines (spit-duz duz.chit))]
|
|
|
|
%fish [":- %fish" (wrap-lines (spit-duz duz.chit))]
|
2021-06-29 00:54:41 +03:00
|
|
|
==
|
|
|
|
::
|
2021-06-29 01:46:14 +03:00
|
|
|
++ spit-duz
|
2021-06-29 00:54:41 +03:00
|
|
|
|= duz=(list dude:gall)
|
2021-06-29 01:46:14 +03:00
|
|
|
^- wall
|
|
|
|
(turn duz |=(=dude:gall "%{<dude>}"))
|
2021-06-29 00:54:41 +03:00
|
|
|
--
|
|
|
|
++ txt (to-wain:format hoon)
|
|
|
|
--
|
|
|
|
++ grab
|
|
|
|
|%
|
|
|
|
++ noun bill
|
|
|
|
++ mime
|
|
|
|
|= [=mite len=@ud tex=@]
|
|
|
|
!<(bill (slap !>(~) (ream tex)))
|
|
|
|
--
|
|
|
|
++ grad %noun
|
|
|
|
--
|