mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 06:58:16 +03:00
185b553c99
Listens to the default dill session and passes its %blits on to subscribers. Passes any %belt pokes it gets into dill. Updates webdojo to make use of it, which is the primary motivation for herm's existence.
33 lines
524 B
Plaintext
33 lines
524 B
Plaintext
:: belt: runtime belt structure
|
|
::
|
|
~% %mar-belt ..is ~
|
|
|_ =belt:dill
|
|
++ grad %noun
|
|
:: +grab: convert from
|
|
::
|
|
++ grab
|
|
~% %belt-grab ..grab ~
|
|
|%
|
|
++ noun belt:dill
|
|
++ json
|
|
~/ %mar-belt-json
|
|
^- $-(^json belt:dill)
|
|
=, dejs:format
|
|
%- of
|
|
:~ aro+(su (perk %d %l %r %u ~))
|
|
bac+ul
|
|
ctl+`$-(json @c)`so
|
|
del+ul
|
|
met+`$-(json @c)`so
|
|
ret+ul
|
|
txt+`$-(json (list @c))`sa
|
|
==
|
|
--
|
|
:: +grow: convert to
|
|
::
|
|
++ grow
|
|
|%
|
|
++ noun belt
|
|
--
|
|
--
|