urbit/pkg/arvo/mar/belt.hoon
fang 185b553c99
herm: userspace dill proxy
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.
2020-11-05 19:39:08 +01:00

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
--
--