Merge pull request #4398 from urbit/lf/spider-code

ted: add -code thread
This commit is contained in:
L 2021-02-10 13:20:07 -06:00 committed by GitHub
commit 071fcc621b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

12
pkg/arvo/mar/tape.hoon Normal file
View File

@ -0,0 +1,12 @@
|_ tap=tape
++ grad %noun
++ grow
|%
++ noun tap
++ json s+(crip tap)
--
++ grab
|%
++ noun tape
--
--

13
pkg/arvo/ted/code.hoon Normal file
View File

@ -0,0 +1,13 @@
/- spider
/+ strandio
=, strand=strand:spider
^- thread:spider
|= arg=vase
=/ m (strand ,vase)
^- form:m
;< =bowl:spider bind:m get-bowl:strandio
;< code=@p bind:m (scry:strandio @p /j/code/(scot %p our.bowl))
%- pure:m
!> ^- tape
%+ slag 1
(scow %p code)