mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 20:47:27 +03:00
31 lines
420 B
Plaintext
31 lines
420 B
Plaintext
/- *group-hook
|
|
=, dejs:format
|
|
|_ act=action
|
|
++ grad %noun
|
|
++ grow
|
|
|%
|
|
++ noun act
|
|
--
|
|
++ grab
|
|
|%
|
|
++ noun action
|
|
++ json
|
|
|= jon=^json
|
|
=< (parse-action jon)
|
|
|%
|
|
++ parse-action
|
|
%- of
|
|
:~
|
|
[%add add-action]
|
|
[%remove pa]
|
|
==
|
|
::
|
|
++ add-action
|
|
%- ot
|
|
:~ [%ship (su ;~(pfix sig fed:ag))]
|
|
[%path pa]
|
|
==
|
|
--
|
|
--
|
|
--
|