urbit/main/app/solid/core.hook

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-10-04 02:31:16 +04:00
!:
2015-01-12 04:13:34 +03:00
::::
::
2014-10-04 02:31:16 +04:00
|_ [hid=hide ~]
2015-01-10 05:21:25 +03:00
++ peer ,_`.
2014-10-04 02:31:16 +04:00
++ poke-solid-args
|= [ost=bone you=ship ~]
:_ +>.$
=+ top=`path`/(scot %p our.hid)/arvo/(scot %da lat.hid)
=+ pax=`path`(weld top `path`[%hoon ~])
~& %solid-start
=+ gen=(reck pax)
~& %solid-parsed
=+ ken=q:(~(mint ut %noun) %noun gen)
~& %solid-compiled
=+ ^= all
=+ all=.*(0 ken)
=+ ^= vay ^- (list ,[p=@tas q=@tas])
:~ [%$ %zuse]
[%g %gall]
[%f %ford]
[%a %ames]
[%c %clay]
[%d %dill]
[%e %eyre]
2014-10-22 06:59:05 +04:00
[%t %time]
2014-10-04 02:31:16 +04:00
==
|- ^+ all
?~ vay all
=+ pax=(weld top `path`[q.i.vay ~])
=+ txt=((hard ,@) .^(%cx (weld pax `path`[%hoon ~])))
=+ sam=[lat.hid `ovum`[[%gold ~] [%veer p.i.vay pax txt]]]
~& [%solid-veer i.vay]
=+ gat=.*(all .*(all [0 42]))
=+ nex=+:.*([-.gat [sam +>.gat]] -.gat)
$(vay t.vay, all nex)
2014-10-24 02:56:06 +04:00
:~ [ost %give %sage [%urbit %pill ~] [ken all]]
2014-12-19 01:40:56 +03:00
[ost %pass / %g %cide %$]
2014-10-24 02:56:06 +04:00
[ost %give %nice ~]
==
2014-10-04 02:31:16 +04:00
--