mirror of
https://github.com/urbit/shrub.git
synced 2024-12-04 04:35:02 +03:00
ac98cf1075
sed -i'' -e '/^|/{x;/./{p;s/.*//;};x;};/ *\\/-.*\\*/{h;s/ //g;s/,[a-z]*//g;s/^[^a-z]*/[/;s/ *::.*$//;s/$/ .]/;s/*/ /g;x;s/\\*//g;}' urb/zod/**.{hoon,hook} Followed by manual fixes where e.g. the file didn't start with a core
25 lines
536 B
Plaintext
25 lines
536 B
Plaintext
::
|
|
:::: /hoon/dill-blit/mar
|
|
::
|
|
/? 314
|
|
/- sole
|
|
[sole .]
|
|
|_ dib=dill-blit
|
|
::
|
|
++ grab :: convert from
|
|
|%
|
|
++ noun dill-blit :: clam from %noun
|
|
--
|
|
++ grow
|
|
|%
|
|
++ json
|
|
^- ^json
|
|
?+ -.dib ~|(unsupported-blit/-.dib !!)
|
|
%mor [%a (turn p.dib |=(a=dill-blit json(dib a)))]
|
|
%hop (joba %hop (jone p.dib))
|
|
?(%pro %out) (joba -.dib (jape (tufa p.dib)))
|
|
?(%bel %clr) (joba %act %s -.dib)
|
|
==
|
|
--
|
|
--
|