shrub/arvo/gall.hoon

998 lines
37 KiB
Plaintext
Raw Normal View History

2014-07-26 06:10:24 +04:00
:: :: %gall, user-level applications
2014-04-30 21:04:07 +04:00
!? 164
::::
|= pit=vase
2014-07-08 03:36:35 +04:00
=> =~
2014-06-02 01:07:13 +04:00
|% :::::::::::::::::::::::::::::::::::::::::::::::::::::: structures
2014-04-30 21:04:07 +04:00
++ axle :: all %gall state
2014-05-31 02:10:39 +04:00
$: %0 :: state version
2014-05-28 12:57:00 +04:00
pol=(map ship mast) :: apps by ship
== ::
2014-06-17 05:33:31 +04:00
++ bead ,[p=(set beam) q=cage] :: computed result
2014-05-07 21:42:31 +04:00
++ bone ,@ud :: opaque duct
++ gift :: out result <-$
2014-05-28 12:57:00 +04:00
$% [%back p=?] :: %mess ack good/bad
2014-06-17 05:33:31 +04:00
[%crud p=@tas q=(list tank)] :: physical error
2014-06-19 22:53:16 +04:00
[%dumb ~] :: close duct
2014-07-24 06:02:50 +04:00
[%mean p=ares] :: message failure
2014-06-02 01:07:13 +04:00
[%meta p=vase] :: meta-gift
2014-07-08 03:36:35 +04:00
[%nice ~] :: message success
2014-05-28 12:57:00 +04:00
== ::
2014-09-11 03:35:03 +04:00
::++ hasp ,[p=ship q=term] :: app identity
++ hapt ,[p=ship q=path] :: app instance
++ hath ,[p=ship q=term] :: app identity
++ kiss :: in request ->$
2014-06-14 01:47:08 +04:00
$% [%init p=ship] :: initialize owner
2014-09-11 03:35:03 +04:00
[%show p=hapt q=ship r=path] :: subscribe
2014-06-14 01:47:08 +04:00
:: [%cuff p=(unit cuff) q=kiss] :: controlled kiss
2014-09-11 03:35:03 +04:00
[%mess p=hapt q=ship r=cage] :: typed message
[%nuke p=hapt q=ship] :: clear duct
[%rote p=sack q=path r=*] :: remote request
[%roth p=sack q=path r=*] :: remote response
[%wipe p=hapt] :: forget app
2014-05-28 12:57:00 +04:00
== ::
2014-05-28 09:44:18 +04:00
++ knob :: pending action
2014-06-17 05:33:31 +04:00
$% [%boot ~] :: begin boot
2014-06-03 09:07:32 +04:00
[%crud p=@tas q=(list tank)] :: error
2014-06-17 05:33:31 +04:00
[%load p=cage] :: continue boot
2014-06-26 16:18:30 +04:00
[%mess p=ship q=cage] :: typed message
2014-06-10 11:07:56 +04:00
[%show p=ship q=path] :: subscribe
2014-06-30 03:58:17 +04:00
[%nuke p=ship] :: clear duct
2014-05-28 12:57:00 +04:00
[%take p=path q=vase] :: user result
== ::
++ mast :: apps by ship
2014-06-14 01:47:08 +04:00
$: hun=duct :: control duct
2014-06-30 03:58:17 +04:00
sap=(map ship scad) :: foreign contacts
2014-09-11 03:35:03 +04:00
bum=(map path seat) :: instances by path
2014-05-28 12:57:00 +04:00
== ::
2014-06-22 09:49:10 +04:00
++ move ,[p=duct q=(mold note gift)] :: typed move
2014-06-04 14:40:09 +04:00
++ note :: out request $->
2014-06-30 03:58:17 +04:00
$? $: %a :: to %ames
2014-07-26 06:10:24 +04:00
$% [%wont p=sock q=path r=*] ::
2014-06-30 03:58:17 +04:00
== == ::
$: %c :: to %clay
2014-06-22 06:51:12 +04:00
$% [%warp p=sock q=riff] ::
== == ::
$: %f :: to %ford
$% [%exec p=@p q=(unit silk)] ::
2014-06-30 03:58:17 +04:00
== == ::
$: %g :: to %gall
2014-09-11 03:35:03 +04:00
$% [%show p=hapt q=ship r=path] ::
[%mess p=hapt q=ship r=cage] ::
[%nuke p=hapt q=ship] ::
2014-06-22 06:51:12 +04:00
== == ::
2014-07-08 03:36:35 +04:00
$: @tas :: to any
2014-06-22 06:51:12 +04:00
$% [%meta p=vase] ::
== == == ::
2014-05-28 12:57:00 +04:00
++ rapt |*(a=$+(* *) (qual path path ,@da a)) :: versioned result
2014-06-11 18:06:36 +04:00
++ rave :: see %clay
$% [& p=mood] :: single request
[| p=moat] :: change range
== ::
++ riff ,[p=desk q=(unit rave)] :: see %clay
2014-06-30 03:58:17 +04:00
++ scad :: opaque for foreign
$: p=@ud :: index
q=(map duct ,@ud) :: by duct
r=(map ,@ud duct) :: by index
== ::
2014-05-28 12:57:00 +04:00
++ scar :: opaque duct system
$: p=@ud :: bone sequence
2014-06-02 01:07:13 +04:00
q=(map duct ,[p=bone q=(unit cuff)]) :: by duct
2014-05-28 12:57:00 +04:00
r=(map bone duct) :: by bone
2014-07-08 03:36:35 +04:00
== ::
2014-06-30 03:58:17 +04:00
++ roon :: foreign response
$% [%d p=mark q=*] :: diff
2014-07-26 06:10:24 +04:00
[%e p=ares] :: error
[%f p=mark q=*] :: full refresh
2014-07-08 03:36:35 +04:00
[%k ~] :: message response
2014-06-30 03:58:17 +04:00
== ::
++ rook :: foreign request
$% [%m p=mark q=*] :: message
2014-06-30 04:07:47 +04:00
[%s p=path] :: subscribe
[%u ~] :: cancel/unsubscribe
2014-06-30 03:58:17 +04:00
== ::
++ seat :: the living app
2014-09-11 03:35:03 +04:00
$: app=term :: app name
huv=(unit vase) :: application vase
2014-06-07 22:36:31 +04:00
qic=(unit toil) :: current project
2014-06-17 05:33:31 +04:00
onz=(unit (pair duct path)) :: live fords
2014-06-07 22:36:31 +04:00
vey=(qeu toil) :: pending projects
2014-06-14 01:47:08 +04:00
nuc=(set duct) :: nuked ducts
2014-06-07 22:36:31 +04:00
tik=@ud :: build number
2014-06-17 05:33:31 +04:00
act=@ud :: action number
lat=@da :: last change
2014-06-07 22:36:31 +04:00
orm=(unit ,@da) :: build date
2014-06-14 04:38:51 +04:00
sup=(map bone (pair ship path)) :: subscribers
pus=(jug path bone) :: srebircsbus
peq=(map bone ,@uvI) :: peekers
2014-06-11 18:06:36 +04:00
ped=(set (pair ship desk)) :: active depends
2014-05-28 12:57:00 +04:00
zam=scar :: opaque ducts
== ::
2014-07-12 22:24:52 +04:00
++ silk :: see %ford
$& [p=silk q=silk] ::
$% [%boil p=mark q=beam r=path] ::
2014-07-12 22:24:52 +04:00
[%call p=silk q=silk] ::
[%done p=(set beam) q=cage] ::
[%mute p=silk q=(list (pair wing silk))] ::
2014-07-29 02:46:03 +04:00
[%ride p=twig q=silk] ::
2014-07-27 14:26:17 +04:00
[%vale p=mark q=ship r=*] ::
2014-07-12 22:24:52 +04:00
== ::
++ sill :: see %ford
$% [%dirt p=twig] ::
== ::
2014-07-02 02:51:42 +04:00
++ sign :: in result $<-
2014-07-09 07:20:38 +04:00
$? [?(%b %c %d %e) @tas *] ::
$: %a :: by %ames
2014-07-26 06:10:24 +04:00
$% [%woot p=ship q=coop] ::
2014-07-09 07:20:38 +04:00
== == ::
2014-06-30 03:58:17 +04:00
$: %g :: by %gall
$% [%crud p=@tas q=(list tank)] ::
[%dumb ~] ::
2014-07-24 06:02:50 +04:00
[%mean p=ares] ::
2014-07-11 00:10:41 +04:00
[%nice ~] ::
[%rush p=mark q=*] ::
[%rust p=mark q=*] ::
2014-06-30 03:58:17 +04:00
== == ::
$: %f :: by %ford
$% [%made p=(each bead (list tank))] ::
== == == ::
2014-05-28 09:44:18 +04:00
++ toil (pair duct knob) :: work in progress
2014-05-28 12:57:00 +04:00
-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::
2014-07-08 03:36:35 +04:00
|% :::::::::::::::::::::::::::::::::::::::::::::::::::::: functions
2014-05-27 13:47:19 +04:00
++ byby :: double bind
|* [a=(unit (unit)) b=$+(* *)]
?~ a ~
?~ u.a [~ u=~]
[~ u=[~ u=(b u.u.a)]]
:: ::
++ colt :: reduce to save
|= all=axle ::
all
::
++ read :: read permission
2014-06-02 01:07:13 +04:00
|= law=(unit cuff)
2014-05-27 13:47:19 +04:00
^- (unit (set monk))
?~(law [~ ~] p.u.law)
::
2014-05-28 09:44:18 +04:00
++ ride :: all permission
|= [use=(unit (set monk)) say=(unit (set monk))]
2014-06-02 01:07:13 +04:00
^- (unit cuff)
2014-05-28 09:44:18 +04:00
?~(say ~ `[use u.say])
::
2014-05-27 13:47:19 +04:00
++ rite :: write permission
2014-06-02 01:07:13 +04:00
|= law=(unit cuff)
2014-05-27 13:47:19 +04:00
^- (unit (set monk))
?~(law ~ `q.u.law)
::
++ grom :: merge sets
|* [one=(set) two=(set)]
^+ one
(~(gas in one) (~(tap in two) ~)) :: XX ugh
::
++ grum :: merge maps
|* [one=(map) two=(map)]
^+ one
(~(gas by one) (~(tap by two) ~)) :: XX ugh
::
2014-06-02 01:07:13 +04:00
++ limp :: merge cuffs
|= [a=(unit cuff) b=(unit cuff)]
^- (unit cuff)
2014-05-27 13:47:19 +04:00
?~ a b
?~ b a
:- ~
:- ?~(p.u.a ~ ?~(p.u.b ~ `(grom u.p.u.b u.p.u.a)))
(grom q.u.b q.u.a)
::
++ lump :: position
|= pax=path
2014-09-11 03:35:03 +04:00
^- [p=hapt q=path]
2014-05-27 13:47:19 +04:00
?> ?=([@ @ *] pax)
2014-09-11 03:35:03 +04:00
:- :- (slav %p i.pax)
((hard path) (cue (slav %uw i.t.pax)))
2014-05-27 13:47:19 +04:00
t.t.pax
--
. == :: end preface
=| all=axle :: all vane state
|= $: now=@da :: urban time
eny=@ :: entropy
2014-05-31 23:40:02 +04:00
ska=sled :: activate
== :: opaque core
2014-05-27 13:47:19 +04:00
=< ^?
|% :: vane interface
++ call :: handle request
2014-06-06 03:00:19 +04:00
|= [hen=duct hic=(hypo (hobo kiss))]
2014-06-11 18:06:36 +04:00
=> .(q.hic ?.(?=(%soft -.q.hic) q.hic ((hard kiss) p.q.hic)))
2014-06-14 01:47:08 +04:00
?: ?=(%init -.q.hic)
2014-06-30 03:58:17 +04:00
[p=~ q=..^$(pol.all (~(put by pol.all) p.q.hic hen ~ ~))]
?: ?=(%rote -.q.hic) :: remote layer
(gawk hen p.q.hic q.q.hic ((hard ,[@ud rook]) r.q.hic))
?: ?=(%roth -.q.hic)
(gawd hen p.q.hic q.q.hic ((hard ,[@ud roon]) r.q.hic))
2014-07-30 02:44:41 +04:00
?: ?=(%wipe -.q.hic)
=+ mat=(~(got by pol.all) p.p.q.hic)
=. bum.mat (~(del by bum.mat) q.p.q.hic)
=. pol.all (~(put by pol.all) p.p.q.hic mat)
[p=~ q=..^$]
2014-05-27 13:47:19 +04:00
|- ^- [p=(list move) q=_..^^$]
2014-06-02 01:07:13 +04:00
=+ =| law=(unit cuff)
|- ^- $: law=(unit cuff)
2014-09-11 03:35:03 +04:00
hap=hapt
2014-05-29 02:06:52 +04:00
kon=knob
==
2014-06-03 09:07:32 +04:00
?- -.q.hic
2014-06-14 01:47:08 +04:00
:: %cuff $(q.hic q.q.hic, law (limp p.q.hic law))
2014-06-10 11:07:56 +04:00
%mess [law p.q.hic %mess q.q.hic r.q.hic]
%show [law p.q.hic %show q.q.hic r.q.hic]
2014-06-30 03:58:17 +04:00
%nuke [law p.q.hic %nuke q.q.hic]
2014-05-29 02:06:52 +04:00
==
2014-07-03 02:08:02 +04:00
((goad hen law) p.hap q.hap kon)
2014-07-08 03:36:35 +04:00
::
2014-05-27 13:47:19 +04:00
++ take :: accept response
2014-06-22 09:49:10 +04:00
|= [pax=path hen=duct hin=(hypo sign)] ::
2014-06-02 03:28:49 +04:00
^- [p=(list move) q=_..^$]
?: ?=(%crud +<.q.hin)
~& [%gall-crud-error pax hen q.hin] [~ ..^$]
2014-06-30 03:58:17 +04:00
?: ?=([%r *] pax)
(gave hen t.pax q.hin)
?: ?=([%x *] pax)
(gasp hen t.pax q.hin)
?> ?=([%a *] pax)
=+ lum=(lump t.pax)
2014-05-28 09:44:18 +04:00
=< abet =< work
2014-06-30 03:58:17 +04:00
(more:(bear:(gaff p.lum) hen) q.lum hin)
2014-05-27 13:47:19 +04:00
::
++ scry
|= $: use=(unit (set monk))
ren=@tas
2014-07-08 03:36:35 +04:00
who=ship
syd=desk
lot=coin
2014-05-27 13:47:19 +04:00
tyl=path
==
^- (unit (unit (pair mark ,*)))
2014-05-29 02:06:52 +04:00
=+ ^= vew ^- lens :: XX future scry
2014-05-27 13:47:19 +04:00
%. :- use
:- [who syd ((hard case) p.lot)]
(flop tyl)
|= $: use=(unit (set monk)) :: observers
2014-06-07 22:36:31 +04:00
bid=beam :: position
2014-05-27 13:47:19 +04:00
== ::
2014-09-11 03:35:03 +04:00
(beef:(gaff p.bid q.bid ~) use r.bid s.bid)
2014-06-01 00:22:49 +04:00
%+ bind
?+ ren ~
%u u.vew
%v v.vew
%w w.vew
%x x.vew
%y y.vew
%z z.vew
==
|=(a=(unit) (bind a |=(b=* [%noun b])))
2014-05-27 13:47:19 +04:00
::
2014-05-31 02:51:31 +04:00
++ doze
|= [now=@da hen=duct]
^- (unit ,@da)
~
2014-05-27 13:47:19 +04:00
::
2014-05-31 02:51:31 +04:00
++ load
2014-05-31 23:40:02 +04:00
|= old=axle
2014-05-31 02:51:31 +04:00
^+ ..^$
2014-05-31 23:40:02 +04:00
..^$(all old)
2014-05-31 02:51:31 +04:00
::
2014-05-31 23:40:02 +04:00
++ stay `axle`+>-.$
2014-07-08 03:36:35 +04:00
--
2014-05-27 13:47:19 +04:00
|% :: inner core
2014-06-30 03:58:17 +04:00
::
++ best :: cage to gift
|= [sem=?(%rush %rust) cay=cage]
^- gift
:- %meta
^- vase
2014-07-08 03:36:35 +04:00
:- :+ %cell [%cube sem %atom %tas]
2014-06-30 03:58:17 +04:00
[%cell [%atom %tas] p.q.cay]
[sem p.cay q.q.cay]
::
++ gaff :: take and go
2014-09-11 03:35:03 +04:00
|= [our=@p imp=path]
=+ mat=(~(got by pol.all) our)
=+ sat=(~(got by bum.mat) imp)
~(. go [our imp] mat sat)
2014-05-27 13:47:19 +04:00
::
2014-06-30 03:58:17 +04:00
++ gape :: %r send query
|= [hen=duct law=(unit cuff)]
2014-09-11 03:35:03 +04:00
|= [our=@p imp=path kon=knob]
2014-06-30 03:58:17 +04:00
^- [(list move) _..^^$]
?> ?=(?(%mess %show %nuke) -.kon)
=+ you=`ship`?-(-.kon %mess p.kon, %nuke p.kon, %show p.kon)
=+ mat=(need (~(get by pol.all) you))
=+ sad==+(sad=(~(get by sap.mat) our) ?^(sad u.sad *scad))
=^ num sad
=+ nym=(~(get by q.sad) hen)
?^ nym [u.nym sad]
:- p.sad
:+ +(p.sad)
2014-07-08 03:36:35 +04:00
(~(put by q.sad) hen p.sad)
2014-06-30 03:58:17 +04:00
(~(put by r.sad) p.sad hen)
:- =+ ^= roc ^- rook
?- -.kon
2014-06-30 04:07:47 +04:00
%mess [%m p.q.kon q.q.q.kon]
%nuke [%u ~]
%show [%s q.kon]
2014-06-30 03:58:17 +04:00
==
^- (list move)
:~ :- hen
2014-07-08 03:36:35 +04:00
:+ %pass
2014-09-11 03:35:03 +04:00
[%x -.roc (scot %p you) (scot %p our) (scot %ud num) imp]
`note`[%a %wont [you our] [%q %ge imp] [num roc]]
2014-06-30 03:58:17 +04:00
==
%= ..^^$
2014-07-08 03:36:35 +04:00
pol.all
2014-06-30 03:58:17 +04:00
%+ ~(put by pol.all)
you
mat(sap (~(put by sap.mat) our sad))
==
::
++ gasp :: %x take
|= [hen=duct pax=path sih=sign]
^- [(list move) _..^$]
2014-08-29 21:05:00 +04:00
?+ -.sih !!
%a
?> ?=(%woot +<.sih)
:_ ..^$ :_ ~
?~ q.sih
[hen %give %nice ~]
[hen %give %mean u.q.sih]
%f
:_ ..^$
:_ ~
:- hen
?- -.p.+.sih
%|
[%give %crud %gasp-crud p.p.+.sih]
::
%&
=+ cay=`cage`q.p.p.+.sih
?+ -.pax !!
%d [%give (best %rush cay)]
%f [%give (best %rust cay)]
== ==
2014-06-30 03:58:17 +04:00
==
::
++ gave :: %r take
|= [hen=duct pax=path sih=sign]
^- [(list move) _..^$]
2014-09-11 03:35:03 +04:00
?> ?=([@ @ @ @ *] pax)
2014-06-30 03:58:17 +04:00
=+ :* our=`ship`(slav %p i.t.pax)
2014-09-11 03:35:03 +04:00
you=`ship`(slav %p i.t.t.pax)
num=(slav %ud i.t.t.t.pax)
imp=`path`t.t.t.t.pax
2014-06-30 03:58:17 +04:00
==
2014-07-03 03:24:03 +04:00
:_ ..^$
2014-09-11 03:35:03 +04:00
=+ rod=|=(ron=roon `note`[%a %wont [our you] [%q %gh imp] num ron])
2014-06-30 03:58:17 +04:00
?+ -.pax !!
%m ?: ?=(%a -.sih) ~
2014-07-07 21:58:15 +04:00
:_ ~ :- hen
?+ -.sih ~& [%gall-gave-m -.sih] !!
2014-06-30 03:58:17 +04:00
%f
?- -.p.+.sih
2014-07-24 06:02:50 +04:00
%| [%give %mean ~ %ford-fail p.p.+.sih]
2014-09-11 03:35:03 +04:00
%& [%pass [%r pax] %g %mess [our imp] you `cage`q.p.p.+.sih]
2014-06-30 03:58:17 +04:00
==
::
%g
?- -.+.sih
%crud !!
2014-06-30 03:58:17 +04:00
%dumb !!
2014-07-24 06:02:50 +04:00
%mean [%give %mean p.+.sih]
%nice [%give %nice ~]
2014-06-30 03:58:17 +04:00
%rush !!
%rust !!
==
==
2014-07-03 03:24:03 +04:00
%s ?+ -.sih !!
%a ~
2014-06-30 03:58:17 +04:00
%g
2014-07-03 03:24:03 +04:00
:_ ~ :- hen
2014-07-08 03:36:35 +04:00
?- -.+.sih
%crud !!
2014-06-30 03:58:17 +04:00
%dumb !!
2014-07-26 06:10:24 +04:00
%mean [%give %mean p.+.sih]
%nice [%give %nice ~]
%rush [%pass [%r pax] (rod %d p.+.sih q.+.sih)]
%rust [%pass [%r pax] (rod %f p.+.sih q.+.sih)]
2014-06-30 03:58:17 +04:00
==
2014-07-08 03:36:35 +04:00
==
2014-06-30 03:58:17 +04:00
%u !!
==
::
++ gawd :: %r handle response
2014-09-11 03:35:03 +04:00
|= [hen=duct saq=sack imp=path num=@ud ron=roon]
2014-06-30 03:58:17 +04:00
^- [p=(list move) q=_..^$]
=+ mat=(need (~(get by pol.all) p.saq))
=+ sad=(need (~(get by sap.mat) q.saq))
=+ neh=(need (~(get by r.sad) num))
2014-07-26 06:10:24 +04:00
:_ ..^$
:- [hen %give %nice ~] :_ ~
2014-06-30 03:58:17 +04:00
^- move :- neh
?- -.ron
2014-07-27 14:26:17 +04:00
%d [%pass /x/d `note`[%f %exec p.saq ~ %vale p.ron q.saq q.ron]]
2014-07-08 04:32:58 +04:00
%e [%give %mean p.ron]
2014-07-27 14:26:17 +04:00
%f [%pass /x/f `note`[%f %exec p.saq ~ %vale p.ron q.saq q.ron]]
2014-07-08 04:32:58 +04:00
%k [%give %nice ~]
2014-06-30 03:58:17 +04:00
==
::
++ gawk :: %r call/request
2014-09-11 03:35:03 +04:00
|= [hen=duct saq=sack imp=path num=@ud rok=rook]
2014-06-30 03:58:17 +04:00
^- [p=(list move) q=_..^$]
:_ ..^$ :_ ~
^- move :- hen
:+ %pass
2014-09-11 03:35:03 +04:00
:* %r
2014-08-01 06:44:49 +04:00
?-(-.rok %m %m, %s %s, %u %s)
2014-06-30 03:58:17 +04:00
(scot %p p.saq)
(scot %p q.saq)
(scot %ud num)
2014-09-11 03:35:03 +04:00
imp
2014-06-30 03:58:17 +04:00
==
^- note
?- -.rok
2014-07-27 14:26:17 +04:00
%m [%f %exec p.saq ~ %vale p.rok q.saq q.rok]
2014-09-11 03:35:03 +04:00
%s [%g %show [p.saq imp] q.saq p.rok]
%u [%g %nuke [p.saq imp] q.saq]
2014-06-30 03:58:17 +04:00
==
::
++ gent :: seat in mast
2014-09-11 03:35:03 +04:00
|= [our=@p imp=path mat=mast]
2014-06-30 03:58:17 +04:00
=+ ^= sat ^- seat
2014-09-11 03:35:03 +04:00
=+ syt=(~(get by bum.mat) imp)
2014-06-30 03:58:17 +04:00
?^ syt u.syt
2014-09-11 03:35:03 +04:00
?. ?=([@ ~] imp) ~& %app-not-found !!
2014-06-30 03:58:17 +04:00
%* . *seat
2014-09-11 03:35:03 +04:00
app i.imp
2014-06-30 03:58:17 +04:00
zam
^- scar
:+ 1
[[hun.mat 0 ~] ~ ~]
[[0 hun.mat] ~ ~]
==
2014-09-11 03:35:03 +04:00
~(. go [our imp] mat sat)
2014-06-30 03:58:17 +04:00
::
++ goad :: handle request
|= [hen=duct law=(unit cuff)]
2014-09-11 03:35:03 +04:00
|= [our=@p imp=path kon=knob]
2014-06-30 03:58:17 +04:00
^- [(list move) _..^^$]
=+ mut=(~(get by pol.all) our)
2014-07-08 03:36:35 +04:00
?^ mut
2014-09-11 03:35:03 +04:00
abet:work:(quem:(boar:(gent our imp u.mut) hen law) kon)
((gape hen law) our imp kon)
2014-05-27 13:47:19 +04:00
::
++ go :: application core
|_ $: $: our=@p :: application owner
2014-09-11 03:35:03 +04:00
imp=path :: application name
2014-05-27 13:47:19 +04:00
== ::
mat=mast :: per owner
sat=seat :: per application
2014-04-30 21:04:07 +04:00
== ::
2014-05-27 13:47:19 +04:00
++ abet :: resolve
%_ ..$
all
%_ all
2014-07-08 03:36:35 +04:00
pol %+ ~(put by pol.all) our
2014-09-11 03:35:03 +04:00
mat(bum (~(put by bum.mat) imp sat))
2014-05-27 13:47:19 +04:00
==
==
2014-06-30 03:58:17 +04:00
::
2014-05-28 09:44:18 +04:00
++ away :: application path
|= pax=path ^- path
2014-09-11 03:35:03 +04:00
[%a (scot %p our) (scot %uw (jam imp)) pax]
::
++ bear :: write backward
|= hen=duct
2014-05-27 13:47:19 +04:00
=+ orf=(need (~(get by q.zam.sat) hen))
2014-05-28 09:44:18 +04:00
~(apex bo:~(. au (read q.orf)) hen p.orf (rite q.orf) ~)
::
++ beef :: read in
2014-05-27 13:47:19 +04:00
|= [use=(unit (set monk)) lok=case pax=path]
2014-05-28 12:57:00 +04:00
^- lens
?. =([%da now] lok) *lens
(~(show au use) pax)
::
++ boar :: write forward
|= $: hen=duct :: cause
2014-06-02 01:07:13 +04:00
law=(unit cuff) :: permissions
==
2014-05-27 13:47:19 +04:00
=^ orf zam.sat
=+ orf=(~(get by q.zam.sat) hen)
?^ orf
2014-05-27 13:47:19 +04:00
[[p=p.u.orf q=(limp law q.u.orf)] zam.sat]
:^ [p=p.zam.sat q=law] +(p.zam.sat)
(~(put by q.zam.sat) hen [p.zam.sat law])
(~(put by r.zam.sat) p.zam.sat hen)
2014-05-28 09:44:18 +04:00
~(apex bo:~(. au (read q.orf)) hen p.orf (rite q.orf) ~)
::
++ au :: read
2014-05-27 13:47:19 +04:00
|_ use=(unit (set monk)) :: read permission
++ abet ^abet :: resolve
2014-05-28 12:57:00 +04:00
++ show :: view
2014-05-27 13:47:19 +04:00
|= pax=path
2014-05-28 12:57:00 +04:00
^- lens
2014-05-29 03:43:30 +04:00
?~ huv.sat *lens
=+ gat=(slap u.huv.sat [%cnzy %peek])
2014-09-11 03:35:03 +04:00
=+ cor=(slam gat !>([our pax]))
2014-05-29 03:43:30 +04:00
=+ ^= dek
|* fun=$+(vase *)
|= nam=@tas
=+ vax=(slap cor [%cnzy nam])
^- (unit (unit fun))
?: =(~ q.vax) ~
?: =([~ ~] q.vax) [~ ~]
[~ ~ (fun (slot 7 vax))]
=+ ^= nib
|= vax=vase
((hard null) q.vax)
=+ ^= yob
|= vax=vase ^- cage
[((hard mark) -.q.vax) (slot 3 vax)]
2014-05-29 03:43:30 +04:00
=+ ^= yar
|= vax=vase ^- arch
((hard arch) q.vax)
=+ ^= dif
|= vax=vase ^- (unit cage)
?: =(~ q.vax) ~
[~ (yob (slot 3 vax))]
|%
++ u ((dek nib) %u)
++ v ((dek yob) %v)
++ w ((dek dif) %w)
++ x ((dek yob) %x)
++ y ((dek yar) %y)
++ z ((dek yob) %z)
--
2014-05-27 13:47:19 +04:00
::
++ bo
2014-05-27 13:47:19 +04:00
|_ $: hen=duct :: system cause
ost=bone :: opaque cause
2014-05-28 09:44:18 +04:00
say=(unit (set monk)) :: write permission
2014-05-27 13:47:19 +04:00
mow=(list move) :: actions
==
2014-05-27 13:47:19 +04:00
++ abet [(flop mow) ^abet] :: resolve
2014-06-14 01:47:08 +04:00
++ apex :: enter
2014-05-28 09:44:18 +04:00
^+ .
2014-06-11 18:06:36 +04:00
?. &(=(~ huv.sat) =(~ qic.sat) =(~ vey.sat) =(~ ped.sat)) .
2014-05-28 09:44:18 +04:00
%_(. vey.sat (~(put to vey.sat) hen [%boot ~]))
::
++ bing :: reset to duct
|= neh=duct
2014-06-12 21:19:36 +04:00
=+ orf=(need (~(get by q.zam.sat) neh))
2014-05-28 09:44:18 +04:00
%_ +>.$
hen neh
ost p.orf
use (read q.orf)
say (rite q.orf)
==
::
2014-08-01 06:44:49 +04:00
++ blow
^+ .
=> (give %nice ~)
=+ pax=+:(fall (~(get by sup.sat) ost) *[ship path])
%= +
qic.sat ~
sup.sat (~(del by sup.sat) ost)
pus.sat (~(del ju pus.sat) pax ost)
peq.sat (~(del by peq.sat) ost)
==
::
2014-05-29 02:06:52 +04:00
++ cave :: vase as silk
|= vax=vase
[%done ~ %$ vax]
::
2014-05-28 12:57:00 +04:00
++ conf :: configured core
|= kas=silk
2014-05-29 02:06:52 +04:00
^- silk
:+ %mute kas
2014-09-11 03:35:03 +04:00
:_ ~
:- [%$ 12]~
(cave !>([[our app.sat imp] sup.sat pus.sat [act.sat eny now]]))
2014-05-28 09:44:18 +04:00
++ core |=(vax=vase (cove %core vax)) :: core as silk
++ cove :: cage as silk
|= cay=cage
^- silk
[%done ~ cay]
::
2014-06-17 05:33:31 +04:00
++ deal :: reboot
2014-06-08 06:45:00 +04:00
^+ .
=. tik.sat +(tik.sat)
2014-06-10 10:20:41 +04:00
=+ pys=(~(tap by sup.sat) ~)
2014-06-12 21:19:36 +04:00
:: ~& [%gall-deal tik.sat pys]
2014-06-08 06:45:00 +04:00
|- ^+ +>.$
2014-06-10 10:20:41 +04:00
?~ pys +>.$
=. +>.$ $(pys t.pys)
%= +>.$
vey.sat
2014-06-14 04:38:51 +04:00
%- ~(put to vey.sat)
:- (need (~(get by r.zam.sat) p.i.pys))
[%show q.i.pys]
2014-06-10 10:20:41 +04:00
==
2014-06-08 06:45:00 +04:00
::
2014-05-29 02:06:52 +04:00
++ drug :: set dependencies
|= pen=(set (pair ship desk))
2014-06-11 18:06:36 +04:00
:: ~& [%drug %pen pen]
:: ~& [%drug %ped ped.sat]
2014-05-29 02:06:52 +04:00
^+ +>
=+ ^= new ^- (list move)
%+ turn
%+ skip (~(tap in pen) ~)
|=(a=(pair ship desk) (~(has in ped.sat) a))
|= a=(pair ship desk)
2014-06-14 01:47:08 +04:00
:- hun.mat
2014-06-24 21:32:59 +04:00
:^ %pass (away %w %drug (scot %p p.a) q.a ~) %c
~& [%sync-subscribe our p.a q.a]
[%warp [our p.a] q.a ~ %| [%da +(now)] [%da (add now ~d1000)] /]
2014-05-29 02:06:52 +04:00
=+ ^= old ^- (list move)
%+ turn
%+ skip (~(tap in ped.sat) ~)
|=(a=(pair ship desk) (~(has in pen) a))
|= a=(pair ship desk)
2014-06-14 01:47:08 +04:00
:- hun.mat
2014-06-24 21:32:59 +04:00
:^ %pass (away %w %drug (scot %p p.a) q.a ~) %c
~& [%sync-unsubscribe our p.a q.a]
2014-06-04 14:40:09 +04:00
[%warp [our p.a] q.a ~]
2014-05-29 02:06:52 +04:00
%_(+>.$ ped.sat pen, mow :(weld new old mow))
::
++ drum :: raw dependencies
2014-06-07 22:36:31 +04:00
|= dep=(set beam)
2014-05-29 02:06:52 +04:00
^+ +>
?> ?=(^ orm.sat)
%- drug
=+ ped=`(set (pair ship desk))`[[our %main] ~ ~]
=+ mav=(~(tap by dep) ~)
|- ^+ ped
?~ mav ped
?: =(r.i.mav [%da u.orm.sat])
$(mav t.mav, ped (~(put in ped) p.i.mav q.i.mav))
$(mav t.mav)
::
2014-05-28 09:44:18 +04:00
++ ford :: exec to ford
2014-06-12 07:47:57 +04:00
|= [pax=path kas=silk]
2014-06-14 01:47:08 +04:00
^+ +>
%_ +>
2014-06-24 21:32:59 +04:00
mow :_(mow [hen %pass (away pax) %f [%exec our `kas]])
2014-06-17 05:33:31 +04:00
onz.sat `[hen pax]
2014-05-28 09:44:18 +04:00
==
::
2014-06-14 01:47:08 +04:00
++ give :: give a gift
2014-05-28 09:44:18 +04:00
|= gip=gift
%_(+> mow [[hen %give gip] mow])
::
2014-06-04 14:40:09 +04:00
++ harm :: arm as silk
|= [arm=term kas=silk]
^- silk
2014-07-29 02:46:03 +04:00
[%ride [%cnzy arm] kas]
2014-05-28 12:57:00 +04:00
::
2014-05-28 09:44:18 +04:00
++ home :: load application
^- silk
2014-09-11 03:35:03 +04:00
[%boil %core [[our %main [%da now]] app.sat %app ~] ~]
2014-05-27 13:47:19 +04:00
::
++ mack :: apply standard
2014-06-22 09:49:10 +04:00
|= sih=sign
2014-07-08 03:36:35 +04:00
?> ?=(%f -.sih)
2014-06-17 05:33:31 +04:00
^- [(unit (list tank)) _+>]
2014-06-22 06:51:12 +04:00
?- -.p.+.sih
2014-06-17 05:33:31 +04:00
& :- ~
2014-06-22 06:51:12 +04:00
%- obey:(morn (slot 3 q.q.p.p.+.sih))
(slot 2 q.q.p.p.+.sih)
| [`p.p.+.sih (give %crud %made p.p.+.sih)]
2014-06-17 05:33:31 +04:00
==
::
++ meek :: apply peek
2014-06-22 09:49:10 +04:00
|= sih=sign
^- [(unit cage) _+>]
2014-07-08 03:36:35 +04:00
?> ?=(%f -.sih)
2014-06-22 06:51:12 +04:00
?- -.p.+.sih
& =+ vax=`vase`q.q.p.p.+.sih
?. &(?=(^ q.vax) ?=(@ -.q.vax))
[~ (give %crud %peek-lame *(list tank))]
:: ~> %slog.[0 (skol p:(slot 3 vax))]
:- `[((hard mark) -.q.vax) (slot 3 vax)]
+>.$
2014-06-22 06:51:12 +04:00
| [~ (give %crud %made p.p.+.sih)]
==
::
++ mick :: apply w/depends
2014-06-22 09:49:10 +04:00
|= sih=sign
2014-06-26 05:20:49 +04:00
?> ?=(%f -.sih)
2014-06-17 05:33:31 +04:00
^- [(unit (set beam)) _+>]
2014-06-22 06:51:12 +04:00
?- -.p.+.sih
& :- `p.p.p.+.sih
%- obey:(morn (slot 3 q.q.p.p.+.sih))
(slot 2 q.q.p.p.+.sih)
| [~ (give %crud %made p.p.+.sih)]
2014-06-17 05:33:31 +04:00
==
::
++ murk :: apply park
2014-06-22 09:49:10 +04:00
|= sih=sign
2014-06-17 05:33:31 +04:00
^- [(unit cage) _+>]
2014-07-08 03:36:35 +04:00
?> ?=(%f -.sih)
2014-06-22 06:51:12 +04:00
?- -.p.+.sih
& [`q.p.p.+.sih +>.$]
| [~ (give %crud %made p.p.+.sih)]
2014-06-17 05:33:31 +04:00
==
::
2014-06-30 03:58:17 +04:00
++ moar :: foreign take
|= $: pax=path
sih=sign
==
^+ +>
!!
::
++ more :: domestic take
2014-05-27 13:47:19 +04:00
|= $: pax=path :: internal position
2014-06-22 09:49:10 +04:00
hin=(hypo sign) :: typed event
==
2014-05-28 09:44:18 +04:00
^+ +>
2014-06-17 05:33:31 +04:00
?+ -.pax !!
%s :: core operation
2014-08-07 01:03:33 +04:00
?. ?& ?=([@ *] t.pax)
2014-06-17 05:33:31 +04:00
!=(~ qic.sat)
=(`[hen pax] onz.sat)
2014-07-08 03:36:35 +04:00
==
2014-08-07 01:03:33 +04:00
~& [%gall-mystery pax =(~ qic.sat) onz.sat]
+>.$
2014-06-17 05:33:31 +04:00
=: onz.sat ~
qic.sat ~
==
?+ i.t.pax !!
2014-06-26 16:18:30 +04:00
::
2014-06-17 05:33:31 +04:00
%park
2014-06-22 06:51:12 +04:00
=^ gyd +>.$ (murk q.hin)
2014-06-17 05:33:31 +04:00
?~ gyd
+>.$
(quen %load u.gyd)
2014-06-17 05:33:31 +04:00
::
2014-07-08 03:36:35 +04:00
%peek
?> ?=([@ *] t.t.pax)
=+ you=(need (slaw %p i.t.t.pax))
2014-06-22 06:51:12 +04:00
=^ gyd +>.$ (meek q.hin)
2014-06-17 05:33:31 +04:00
?~ gyd
2014-07-26 06:10:24 +04:00
=. +>.$ (give %mean ~ %peer-fail ~)
2014-07-08 03:36:35 +04:00
(give [%dumb ~])
2014-06-17 05:33:31 +04:00
=+ kee=[you t.t.t.pax]
=+ ash=(sham q.q.u.gyd)
?: =(`ash (~(get by peq.sat) ost))
2014-06-17 05:33:31 +04:00
+>.$
2014-07-26 06:10:24 +04:00
=. +>.$
?: (~(has by sup.sat) ost) +>.$ (give %nice ~)
2014-06-17 05:33:31 +04:00
%- %= give
peq.sat (~(put by peq.sat) ost ash)
2014-06-17 05:33:31 +04:00
sup.sat (~(put by sup.sat) ost kee)
pus.sat (~(put ju pus.sat) +.kee ost)
2014-06-17 05:33:31 +04:00
==
2014-06-30 03:58:17 +04:00
(best %rust u.gyd)
2014-06-17 05:33:31 +04:00
::
2014-07-08 03:36:35 +04:00
%peer
?> ?=([@ *] t.t.pax)
=+ you=(need (slaw %p i.t.t.pax))
2014-06-22 06:51:12 +04:00
=^ gud +>.$ (mack q.hin)
2014-07-08 03:36:35 +04:00
?^ gud
2014-07-26 06:10:24 +04:00
=. +>.$ (give %mean ~ %peer-fail ~)
2014-06-19 22:53:16 +04:00
(give [%dumb ~])
2014-07-26 06:10:24 +04:00
=. +>.$ (give %nice ~)
%= +>.$
sup.sat (~(put by sup.sat) ost [you t.t.t.pax])
pus.sat (~(put ju pus.sat) t.t.t.pax ost)
==
2014-06-17 05:33:31 +04:00
::
%poke
2014-06-22 06:51:12 +04:00
=^ gud +>.$ (mack q.hin)
2014-07-11 00:10:41 +04:00
?^ gud (give %mean ~ %poke-mack-fail ~)
2014-06-17 05:33:31 +04:00
+>.$
2014-06-26 05:20:49 +04:00
::
%pour
=^ gud +>.$ (mack q.hin)
?^ gud ~& -.gud +>.$
+>.$
2014-06-17 05:33:31 +04:00
::
%prep
2014-06-22 06:51:12 +04:00
=^ gad +>.$ (mick q.hin)
2014-06-17 05:33:31 +04:00
?~ gad (drum ~)
deal:(drum u.gad)
::
%pull
2014-06-22 06:51:12 +04:00
=^ gud +>.$ (mack q.hin)
2014-06-17 05:33:31 +04:00
?^ gud +>.$
2014-08-01 06:44:49 +04:00
blow
2014-06-17 05:33:31 +04:00
==
2014-07-08 03:36:35 +04:00
::
%u :: user request
%_ +>.$
2014-07-08 03:36:35 +04:00
vey.sat
(~(put to vey.sat) [hen [%take t.pax hin]])
==
2014-05-28 12:57:00 +04:00
::
2014-06-17 05:33:31 +04:00
%w :: autoboot
2014-07-08 03:36:35 +04:00
?> ?=([%drug @ @ ~] t.pax)
2014-06-26 05:20:49 +04:00
=+ :* sin=((hard ,[%c %writ p=riot]) q.hin)
our=(need (slaw %p i.t.t.pax))
2014-07-08 03:36:35 +04:00
syd=(need ((sand %tas) i.t.t.t.pax))
2014-06-11 18:06:36 +04:00
==
~& [%sync-notified `@p`our `@ta`syd]
2014-06-11 18:06:36 +04:00
=. ped.sat (~(del by ped.sat) [our syd])
2014-07-08 03:36:35 +04:00
?~ p.+.sin
2014-06-11 18:06:36 +04:00
+>.$
2014-05-29 02:06:52 +04:00
+>.$(vey.sat (~(put to vey.sat) hen %boot ~))
2014-05-28 09:44:18 +04:00
==
::
2014-06-17 05:33:31 +04:00
++ morn :: install core
2014-05-29 02:06:52 +04:00
|= vax=vase
2014-06-07 22:36:31 +04:00
^+ +>
2014-06-25 02:00:07 +04:00
=+ new=?~(huv.sat & !=(+<+.q.vax +<+.q.u.huv.sat))
2014-06-17 05:33:31 +04:00
=. huv.sat `vax
?. new +>.$
=: act.sat +(act.sat)
lat.sat now
==
=+ pex=(~(tap by peq.sat) ~)
|- ^+ +>.^$
?~ pex +>.^$
%= $
pex t.pex
+>.^$ %- quem(hen (need (~(get by r.zam.sat) p.i.pex)))
[%show (need (~(get by sup.sat) p.i.pex))]
==
2014-05-27 13:47:19 +04:00
::
2014-07-08 03:36:35 +04:00
++ mort :: failed boot
2014-05-28 09:44:18 +04:00
|= tan=(list tank)
2014-06-03 09:07:32 +04:00
(give %crud %boot-lost tan)
2014-05-28 09:44:18 +04:00
::
2014-06-11 18:06:36 +04:00
++ nile [%done ~ [%$ [%cube 0 [%atom %n]] ~]] :: null silk
2014-06-17 05:33:31 +04:00
++ obey :: process app moves
2014-05-29 02:06:52 +04:00
|= vax=vase
%_(+> mow (weld (flop (said vax)) mow))
::
++ quem :: queue action
|= kon=knob :: content
2014-06-08 06:45:00 +04:00
^+ +>
2014-07-08 03:36:35 +04:00
=. +> ?. ?=(%nuke -.kon) +>
2014-06-17 05:33:31 +04:00
?. &(?=(^ onz.sat) =(hen p.u.onz.sat)) +>
%= +>
onz.sat ~
2014-07-08 03:36:35 +04:00
mow
2014-06-24 21:32:59 +04:00
:_(mow [hen %pass (away q.u.onz.sat) %f [%exec our ~]])
2014-06-17 05:33:31 +04:00
==
+>.$(vey.sat (~(put to vey.sat) hen kon))
2014-05-29 02:06:52 +04:00
::
++ quen :: push on front
|= kon=knob
^+ +>
=+ yov=(~(tap by vey.sat) ~) :: XX ++pun
+>.$(vey.sat (~(gas to *(qeu toil)) `_yov`[[hen kon] yov]))
::
2014-05-29 02:06:52 +04:00
++ said
|= vud=vase
|- ^- (list move)
?: =(~ q.vud) ~
[(sump (slot 2 vud)) $(vud (slot 3 vud))]
2014-05-27 13:47:19 +04:00
::
++ show :: subscribe
2014-06-10 11:07:56 +04:00
|= [you=ship pax=path] :: subscription
%_(+> vey.sat (~(put to vey.sat) hen %show you pax))
2014-06-10 10:20:41 +04:00
::
2014-07-08 03:36:35 +04:00
++ sumo :: standard gift
2014-06-04 14:40:09 +04:00
|= vig=vase
^- gift
[%meta vig]
2014-06-04 14:40:09 +04:00
::
2014-05-29 02:06:52 +04:00
++ sump
|= wec=vase
^- move
2014-06-04 14:40:09 +04:00
:- (need (~(get by r.zam.sat) ((hard bone) -.q.wec)))
2014-05-29 02:06:52 +04:00
=+ caq=(spec (slot 3 wec))
?+ q.caq ~&(%sump-bad !!)
::
2014-06-24 21:32:59 +04:00
[%pass p=* q=@tas r=[p=@tas q=*]]
2014-06-26 05:20:49 +04:00
:^ %pass (away %u ((hard path) p.q.caq))
2014-06-21 22:42:34 +04:00
(need ((sand %tas) ((hard ,@) q.q.caq)))
2014-05-29 02:06:52 +04:00
[%meta (spec (slot 15 caq))]
::
[%give p=[p=@tas q=*]]
2014-07-24 06:02:50 +04:00
:- %give
?: ?=(%mean p.p.q.caq) [%mean (ares q.p.q.caq)]
?: ?=(%nice p.p.q.caq) [%nice ~]
(sumo (spec (slot 3 caq)))
2014-05-29 02:06:52 +04:00
==
2014-05-28 09:44:18 +04:00
::
2014-06-17 05:33:31 +04:00
++ warm :: vase has arm
2014-07-08 03:36:35 +04:00
|= cog=@tas
2014-06-17 05:33:31 +04:00
^- ?
2014-07-29 02:46:03 +04:00
?~(huv.sat | (slab cog p.u.huv.sat))
2014-06-17 05:33:31 +04:00
::
2014-05-28 09:44:18 +04:00
++ work :: eat queue
2014-06-14 01:47:08 +04:00
|- ^+ +
?: |(?=(^ qic.sat) =(~ vey.sat)) +.$ :: nothing to do
2014-05-28 09:44:18 +04:00
=^ yev vey.sat [p q]:~(get to vey.sat)
2014-06-14 01:47:08 +04:00
?: (~(has in nuc.sat) p.yev) $
2014-05-28 09:44:18 +04:00
work:(yawn:(bing p.yev) q.yev)
::
2014-06-17 05:33:31 +04:00
++ yawl :: invoke core
|= [[arm=term pax=path] vax=vase sam=vase]
^+ +>
%+ ford [%s arm pax]
[%call (harm arm (conf (core vax))) (cove %$ sam)]
::
2014-05-28 09:44:18 +04:00
++ yawn :: start event
|= kon=knob
^+ +>
:: ~& [%gall-yawn ost -.kon]
2014-05-28 09:44:18 +04:00
=. qic.sat `[hen kon]
?- -.kon
%boot
2014-05-29 02:06:52 +04:00
=. orm.sat `now
2014-06-17 05:33:31 +04:00
%+ ford /s/park
2014-05-28 09:44:18 +04:00
^- silk
2014-06-17 05:33:31 +04:00
:- home
?~ huv.sat nile
?: =(~ q.u.huv.sat) nile
:- nile
?. (warm %park)
[%done ~ %$ (slot 13 u.huv.sat)]
(harm %park (conf (core u.huv.sat)))
::
%load
=+ [hom=(slot 2 q.p.kon) old=(slot 3 q.p.kon)]
%+ ford /s/prep
?. (warm(huv.sat `hom) %prep)
:- nile
?: =(~ q.old)
(core hom)
2014-06-17 05:33:31 +04:00
:+ %mute `silk`(core hom)
:~ [[%$ 13]~ (cave (slot 3 old))]
2014-06-17 05:33:31 +04:00
==
[%call (harm %prep (conf (core hom))) [nile (cave old)]]
2014-05-28 20:20:07 +04:00
::
%crud
2014-06-17 05:33:31 +04:00
(give(qic.sat ~) %crud p.kon q.kon)
2014-06-12 21:19:36 +04:00
::
%nuke
2014-08-01 06:44:49 +04:00
?. (warm %pull)
blow
?> ?=(^ huv.sat)
(yawl [%pull ~] u.huv.sat [[%atom %ud] ost])
2014-05-28 09:44:18 +04:00
::
%mess
2014-06-18 04:34:20 +04:00
=+ ^= cog ^- term
2014-06-25 02:00:07 +04:00
?: =(%$ p.q.kon) %poke
=+ goc=(cat 3 'poke-' p.q.kon)
?:((warm goc) goc %poke)
2014-06-18 04:34:20 +04:00
?. (warm cog)
2014-07-11 00:10:41 +04:00
(give(qic.sat ~) %mean ~ %poke-find-fail ~)
2014-06-17 05:33:31 +04:00
?> ?=(^ huv.sat)
2014-06-18 04:34:20 +04:00
=+ sam=:(slop [[%atom %ud] ost] [[%atom %p] p.kon] q.q.kon)
2014-06-25 02:00:07 +04:00
:: ~& [%mess-poke cog]
2014-06-18 04:34:20 +04:00
%+ ford /s/poke
[%call (harm cog (conf (core u.huv.sat))) (cove %$ sam)]
2014-05-28 12:57:00 +04:00
::
%show
2014-06-17 05:33:31 +04:00
?: (warm %peer)
=+ sam=!>([ost p.kon q.kon])
2014-06-17 05:33:31 +04:00
?> ?=(^ huv.sat)
=. peq.sat (~(del by peq.sat) ost)
2014-06-17 05:33:31 +04:00
(yawl [%peer (scot %p p.kon) q.kon] u.huv.sat sam)
2014-07-08 03:36:35 +04:00
?: (warm %peek)
=+ sam=!>([p.kon q.kon])
2014-06-17 05:33:31 +04:00
?> ?=(^ huv.sat)
(yawl [%peek (scot %p p.kon) q.kon] u.huv.sat sam)
2014-06-19 22:53:16 +04:00
(give(qic.sat ~) %dumb ~)
2014-05-28 09:44:18 +04:00
::
2014-05-28 20:20:07 +04:00
%take
?. (warm %pour)
+>.$(qic.sat ~)
?> ?=(^ huv.sat)
2014-08-28 03:00:41 +04:00
=+ sam=:(slop [[%atom %ud] ost] !>(p.kon) q.kon)
2014-06-26 05:20:49 +04:00
%+ ford /s/pour
[%call (harm %pour (conf (core u.huv.sat))) (cove %$ sam)]
2014-05-28 09:44:18 +04:00
==
--
--
--
2014-04-30 21:04:07 +04:00
--