mirror of
https://github.com/urbit/shrub.git
synced 2025-01-08 06:00:27 +03:00
full tree traverse in "mark" dashboard
This commit is contained in:
parent
bcfab5fbb0
commit
dbe8598720
@ -17,6 +17,7 @@
|
|||||||
::
|
::
|
||||||
=, gall
|
=, gall
|
||||||
=, ford
|
=, ford
|
||||||
|
=, format
|
||||||
|_ {bowl $~}
|
|_ {bowl $~}
|
||||||
++ peek _~
|
++ peek _~
|
||||||
++ peer-scry-x
|
++ peer-scry-x
|
||||||
@ -39,6 +40,43 @@
|
|||||||
$| v
|
$| v
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
|
++ made-a-core
|
||||||
|
|= {a/spur @uvH b/gage}
|
||||||
|
:_ +>.$
|
||||||
|
?> ?=([%tabl ^ ~] b)
|
||||||
|
=/ cur p.i.p.b
|
||||||
|
%- %- slog
|
||||||
|
?+ -.cur !!
|
||||||
|
%| (flop p.cur)
|
||||||
|
%& ~ ::[(sell q.p.cur)]~
|
||||||
|
==
|
||||||
|
=/ nex/(list spur)
|
||||||
|
=<(p ;;(,[%& %cont * p=(list spur)] q.i.p.b))
|
||||||
|
?~ nex ~
|
||||||
|
[ost (build-core nex)]~
|
||||||
|
::
|
||||||
|
++ build-core
|
||||||
|
|= [a=spur b=(list spur)]
|
||||||
|
~& >> (flop a)
|
||||||
|
:^ %exec a-core+a our
|
||||||
|
%- some
|
||||||
|
^- bilk
|
||||||
|
:- now-beak
|
||||||
|
:~ %tabl
|
||||||
|
[[%core now-beak a] [%$ %cont !>(b)]]
|
||||||
|
==
|
||||||
|
:: =; res/results
|
||||||
|
:: [ost %diff [%json (show-results res)]]~
|
||||||
|
:: %- malt
|
||||||
|
:: %+ turn p.a
|
||||||
|
:: |= {k/gage v/gage} ^- {mark (each vase tang)}
|
||||||
|
:: :- ?>(?=({$& $mark * @tas} k) q.q.p.k)
|
||||||
|
:: ?- -.v
|
||||||
|
:: $tabl !!
|
||||||
|
:: $& [%& q.p.v]
|
||||||
|
:: $| v
|
||||||
|
:: ==
|
||||||
|
::
|
||||||
++ build-marks
|
++ build-marks
|
||||||
^- {beak silk}
|
^- {beak silk}
|
||||||
:- now-beak
|
:- now-beak
|
||||||
@ -49,9 +87,24 @@
|
|||||||
[%bunt a]
|
[%bunt a]
|
||||||
::
|
::
|
||||||
++ poke-noun
|
++ poke-noun
|
||||||
|= *
|
|= a/path
|
||||||
~& have+list-marks
|
:_ +>
|
||||||
`+>
|
?: [dry=|]
|
||||||
|
~&((list-cores a) ~)
|
||||||
|
[ost (build-core [- +]:(list-cores a))]~
|
||||||
|
::
|
||||||
|
++ list-cores
|
||||||
|
|= a/path ^- (list spur)
|
||||||
|
=/ sup (flop a)
|
||||||
|
%- sort :_ |=({a/spur b/spur} (aor (flop a) (flop b)))
|
||||||
|
|- ^- (list spur)
|
||||||
|
%- ~(rep by dir:.^(arch %cy (en-beam now-beak sup)))
|
||||||
|
|= [[a=knot ~] b=(list spur)] ^+ b
|
||||||
|
=. sup [a sup]
|
||||||
|
?^ [fil:.^(arch %cy (en-beam now-beak [%hoon sup]))]
|
||||||
|
~& (flop sup)
|
||||||
|
[sup (weld ^$ b)]
|
||||||
|
(weld ^$ b)
|
||||||
::
|
::
|
||||||
++ now-beak %_(byk r [%da now])
|
++ now-beak %_(byk r [%da now])
|
||||||
++ list-marks
|
++ list-marks
|
||||||
|
Loading…
Reference in New Issue
Block a user