mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
Tank grep done
This commit is contained in:
parent
b95bacc5bb
commit
0c6944433b
@ -24,20 +24,36 @@
|
||||
=+ sih=;;(sign sih)
|
||||
?^ pax `+>.$
|
||||
:_ +>.$
|
||||
?- +<.sih
|
||||
?- &2.sih
|
||||
%nice
|
||||
[ost %give %nice ~]~
|
||||
%rush
|
||||
=+ lin=?-(+>-.sih %txt (trip p.sih), %tang ~(ram re -.p.sih))
|
||||
=+ tag=(trip arg)
|
||||
%- spam
|
||||
|-
|
||||
?: =(tag (scag (lent tag) lin))
|
||||
?- &3.sih
|
||||
%txt
|
||||
?. (match (trip p.sih)) [%rush %tang ~]
|
||||
+.sih
|
||||
?~ lin
|
||||
[%rush %tang ~]
|
||||
$(lin t.lin)
|
||||
==
|
||||
%tang
|
||||
=< [%rush %tang .]
|
||||
%+ murn p.sih
|
||||
|= a=tank
|
||||
^- (unit tank)
|
||||
?- -.a
|
||||
%leaf
|
||||
?.((match p.a) ~ `a)
|
||||
?(%palm %rose)
|
||||
=. q.a (murn q.a ..$)
|
||||
?~ q.a ~
|
||||
(some a)
|
||||
==
|
||||
== ==
|
||||
++ match
|
||||
|= a=tape
|
||||
=+ tag=(trip arg)
|
||||
?: =(tag (scag (lent tag) a))
|
||||
&
|
||||
?~ a |
|
||||
$(a t.a)
|
||||
++ spam
|
||||
|* git=*
|
||||
%+ turn
|
||||
|
Loading…
Reference in New Issue
Block a user