2014-07-25 20:26:12 +04:00
|
|
|
::::::
|
2014-07-09 07:24:40 +04:00
|
|
|
:: :: %ford, new execution control
|
2014-04-23 21:02:36 +04:00
|
|
|
!? 164
|
|
|
|
::::
|
|
|
|
|= pit=vase
|
|
|
|
=> =~
|
2014-06-03 09:07:32 +04:00
|
|
|
:: structures
|
|
|
|
|%
|
2014-07-29 02:46:03 +04:00
|
|
|
::
|
2014-06-17 05:33:31 +04:00
|
|
|
++ bead ,[p=(set beam) q=cage] :: computed result
|
2014-06-03 09:07:32 +04:00
|
|
|
++ gift :: out result <-$
|
2014-06-07 22:36:31 +04:00
|
|
|
$% [%made p=(each bead (list tank))] :: computed result
|
2014-06-03 09:07:32 +04:00
|
|
|
== ::
|
2014-07-21 07:15:02 +04:00
|
|
|
++ heel path :: functional ending
|
|
|
|
++ hock :: standard label
|
|
|
|
$: [%c p=@ud] :: celsius version
|
|
|
|
[%k p=@ud] :: kelvin version
|
|
|
|
[%s p=@ud q=@ud r=@ud] :: semantic version
|
|
|
|
== ::
|
2014-07-12 22:24:52 +04:00
|
|
|
++ hood :: assembly plan
|
2014-07-22 02:14:52 +04:00
|
|
|
$: zus=@ud :: zuse kelvin
|
2014-07-29 02:46:03 +04:00
|
|
|
str=(list hoof) :: structures
|
2014-07-19 04:51:22 +04:00
|
|
|
lib=(list hoof) :: libraries
|
2014-07-25 20:26:12 +04:00
|
|
|
fan=(list horn) :: resources
|
2014-07-19 04:51:22 +04:00
|
|
|
src=(list hoop) :: program
|
|
|
|
== ::
|
2014-07-22 05:55:40 +04:00
|
|
|
++ hoof (pair term (unit (pair case ship))) :: resource reference
|
2014-07-12 22:24:52 +04:00
|
|
|
++ hoop :: source in hood
|
2014-07-24 03:23:53 +04:00
|
|
|
$% [%& p=twig] :: direct twig
|
2014-07-25 00:29:16 +04:00
|
|
|
[%| p=beam] :: resource location
|
2014-07-12 22:24:52 +04:00
|
|
|
== ::
|
2014-07-19 04:51:22 +04:00
|
|
|
++ horn :: resource tree
|
2014-07-25 20:26:12 +04:00
|
|
|
$% [%and p=twig] :: // twig by hand
|
|
|
|
[%but p=twig] :: /$ argument
|
|
|
|
[%day p=horn] :: /| @dr map by @dr
|
|
|
|
[%dub p=term q=horn] :: /= apply face
|
|
|
|
[%fan p=(list horn)] :: /: list
|
|
|
|
[%for p=path q=horn] :: /, descend
|
|
|
|
[%hub p=horn] :: /@ map by @ud
|
|
|
|
[%man p=(map term horn)] :: /* map by hand
|
|
|
|
[%nap p=horn] :: /% map by @tas
|
|
|
|
[%now p=horn] :: /& map by @da
|
|
|
|
[%saw p=twig q=horn] :: /_ operate on
|
|
|
|
[%see p=beam q=horn] :: /. relative to
|
|
|
|
[%sic p=tile q=horn] :: /^ cast
|
|
|
|
[%toy p=mark] :: /mark/ static
|
2014-07-19 04:51:22 +04:00
|
|
|
== ::
|
2014-06-03 09:07:32 +04:00
|
|
|
++ kiss :: in request ->$
|
|
|
|
$% [%exec p=@p q=(unit silk)] :: make / kill
|
|
|
|
== ::
|
2014-06-22 09:49:10 +04:00
|
|
|
++ move ,[p=duct q=(mold note gift)] :: local move
|
2014-06-03 09:07:32 +04:00
|
|
|
++ note :: out request $->
|
2014-06-22 06:51:12 +04:00
|
|
|
$% $: %c :: to %clay
|
|
|
|
$% [%warp p=sock q=riff] ::
|
|
|
|
== == == ::
|
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-22 09:49:10 +04:00
|
|
|
++ sign :: in result $<-
|
2014-06-22 06:51:12 +04:00
|
|
|
$% $: %c :: by %clay
|
|
|
|
$% [%writ p=riot] ::
|
|
|
|
== == == ::
|
2014-07-12 22:24:52 +04:00
|
|
|
++ silk :: construction layer
|
|
|
|
$& [p=silk q=silk] :: cons
|
2014-07-22 02:14:52 +04:00
|
|
|
$% [%bake p=mark q=beam r=path] :: local synthesis
|
|
|
|
[%boil p=mark q=beam r=path] :: general synthesis
|
2014-07-12 22:24:52 +04:00
|
|
|
[%call p=silk q=silk] :: slam
|
2014-07-27 14:26:17 +04:00
|
|
|
[%cast p=mark q=silk] :: translate
|
2014-07-12 22:24:52 +04:00
|
|
|
[%done p=(set beam) q=cage] :: literal
|
|
|
|
[%dude p=tank q=silk] :: error wrap
|
2014-07-19 04:51:22 +04:00
|
|
|
[%dune p=(set beam) q=(unit cage)] :: unit literal
|
2014-07-12 22:24:52 +04:00
|
|
|
[%mute p=silk q=(list (pair wing silk))] :: mutant
|
2014-07-19 04:51:22 +04:00
|
|
|
[%plan p=beam q=spur r=hood] :: structured assembly
|
2014-07-12 22:24:52 +04:00
|
|
|
[%reef ~] :: kernel reef
|
2014-07-29 02:46:03 +04:00
|
|
|
[%ride p=twig q=silk] :: silk thru twig
|
2014-07-27 14:26:17 +04:00
|
|
|
[%vale p=mark q=ship r=*] :: validate [our his]
|
2014-07-12 22:24:52 +04:00
|
|
|
== ::
|
2014-06-03 09:07:32 +04:00
|
|
|
-- ::
|
2014-04-23 21:02:36 +04:00
|
|
|
|% :: structures
|
|
|
|
++ axle :: all %ford state
|
2014-07-09 07:00:30 +04:00
|
|
|
$: %1 :: version for update
|
2014-05-14 04:04:23 +04:00
|
|
|
pol=(map ship baby) ::
|
|
|
|
== ::
|
|
|
|
++ baby :: state by ship
|
|
|
|
$: tad=[p=@ud q=(map ,@ud task)] :: tasks by number
|
2014-05-16 04:46:48 +04:00
|
|
|
dym=(map duct ,@ud) :: duct to task number
|
|
|
|
jav=(map ,* calx) :: cache
|
2014-04-23 21:02:36 +04:00
|
|
|
== ::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ bolt :: gonadic edge
|
|
|
|
|* a=$+(* *) :: product clam
|
2014-05-14 04:04:23 +04:00
|
|
|
$: p=cafe :: cache
|
|
|
|
$= q ::
|
2014-06-07 22:36:31 +04:00
|
|
|
$% [%0 p=(set beam) q=a] :: depends/product
|
|
|
|
[%1 p=(set ,[p=beam q=(list tank)])] :: blocks
|
2014-05-14 04:04:23 +04:00
|
|
|
[%2 p=(list tank)] :: error
|
|
|
|
== ::
|
2014-04-23 21:02:36 +04:00
|
|
|
== ::
|
2014-05-07 21:42:31 +04:00
|
|
|
:: ::
|
|
|
|
++ burg :: gonadic rule
|
|
|
|
|* [a=$+(* *) b=$+(* *)] :: from and to
|
2014-05-16 00:17:54 +04:00
|
|
|
$+([c=cafe d=a] (bolt b)) ::
|
2014-05-07 21:42:31 +04:00
|
|
|
:: ::
|
2014-05-14 04:04:23 +04:00
|
|
|
++ cafe :: live cache
|
|
|
|
$: p=(set calx) :: used
|
|
|
|
q=(map ,* calx) :: cache
|
|
|
|
== ::
|
|
|
|
:: ::
|
2014-05-14 21:32:00 +04:00
|
|
|
++ calm :: cache metadata
|
|
|
|
$: laz=@da :: last accessed
|
2014-06-07 22:36:31 +04:00
|
|
|
dep=(set beam) :: dependencies
|
2014-05-14 21:32:00 +04:00
|
|
|
== ::
|
2014-05-14 04:04:23 +04:00
|
|
|
++ calx :: concrete cache line
|
2014-07-27 14:26:17 +04:00
|
|
|
$% [%hood p=calm q=(pair beam cage) r=hood] :: compile
|
|
|
|
[%slap p=calm q=[p=vase q=twig] r=vase] :: compute
|
2014-07-19 04:51:22 +04:00
|
|
|
[%twig p=calm q=cage r=twig] :: compile to twig
|
2014-05-14 04:04:23 +04:00
|
|
|
== ::
|
2014-04-30 21:04:07 +04:00
|
|
|
++ task :: problem in progress
|
2014-05-14 04:04:23 +04:00
|
|
|
$: nah=duct :: cause
|
2014-05-10 11:10:46 +04:00
|
|
|
kas=silk :: problem
|
2014-06-07 22:36:31 +04:00
|
|
|
kig=[p=@ud q=(map ,@ud beam)] :: blocks
|
2014-04-23 21:02:36 +04:00
|
|
|
== ::
|
2014-05-07 21:42:31 +04:00
|
|
|
-- ::
|
2014-04-30 21:04:07 +04:00
|
|
|
|% ::
|
2014-05-16 04:46:48 +04:00
|
|
|
++ calf :: reduce calx
|
|
|
|
|* sem=* :: a typesystem hack
|
|
|
|
|= cax=calx
|
|
|
|
?+ sem !!
|
2014-07-21 07:15:02 +04:00
|
|
|
%hood ?>(?=(%hood -.cax) r.cax)
|
2014-07-19 04:51:22 +04:00
|
|
|
%twig ?>(?=(%twig -.cax) r.cax)
|
2014-05-16 04:46:48 +04:00
|
|
|
%slap ?>(?=(%slap -.cax) r.cax)
|
|
|
|
==
|
|
|
|
::
|
2014-05-14 04:04:23 +04:00
|
|
|
++ calk :: cache lookup
|
|
|
|
|= a=cafe ::
|
2014-05-14 06:44:44 +04:00
|
|
|
|= [b=@tas c=*] ::
|
|
|
|
^- [(unit calx) cafe] ::
|
2014-05-14 04:04:23 +04:00
|
|
|
=+ d=(~(get by q.a) [b c]) ::
|
|
|
|
?~ d [~ a] ::
|
2014-05-14 06:44:44 +04:00
|
|
|
[d a(p (~(put in p.a) u.d))] ::
|
2014-05-14 04:04:23 +04:00
|
|
|
:: ::
|
2014-05-14 21:32:00 +04:00
|
|
|
++ came ::
|
2014-05-14 04:04:23 +04:00
|
|
|
|= [a=cafe b=calx] :: cache install
|
|
|
|
^- cafe ::
|
|
|
|
a(q (~(put by q.a) [-.b q.b] b)) ::
|
|
|
|
:: ::
|
|
|
|
++ chub :: cache merge
|
|
|
|
|= [a=cafe b=cafe] ::
|
|
|
|
^- cafe ::
|
|
|
|
[(grom p.a p.b) (grum q.a q.b)] ::
|
|
|
|
:: ::
|
2014-04-30 21:04:07 +04:00
|
|
|
++ colt :: reduce to save
|
2014-05-14 04:25:59 +04:00
|
|
|
|= lex=axle ::
|
2014-05-16 04:46:48 +04:00
|
|
|
^- axle
|
|
|
|
%= lex
|
|
|
|
pol
|
|
|
|
%- ~(run by pol.lex)
|
|
|
|
|= bay=baby
|
|
|
|
bay(jav ~)
|
|
|
|
==
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
2014-07-25 00:29:16 +04:00
|
|
|
++ faun |=([a=cafe b=vase] (fine a `cage`noun/b)) :: vase to cage
|
2014-07-24 03:23:53 +04:00
|
|
|
++ feel |=([a=cafe b=cage] (fine a q.b)) :: cage to vase
|
2014-07-27 14:26:17 +04:00
|
|
|
++ fest |*([a=cafe b=*] (fine a [~ u=b])) :: bolt to unit
|
2014-05-16 00:17:54 +04:00
|
|
|
++ fine |* [a=cafe b=*] :: bolt from data
|
2014-06-07 22:36:31 +04:00
|
|
|
[p=`cafe`a q=[%0 p=*(set beam) q=b]] ::
|
2014-05-16 00:17:54 +04:00
|
|
|
++ flaw |=([a=cafe b=(list tank)] [p=a q=[%2 p=b]]) :: bolt from error
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-05-14 04:04:23 +04:00
|
|
|
++ grom :: merge sets
|
|
|
|
|* [one=(set) two=(set)]
|
|
|
|
^+ one
|
2014-05-09 04:34:57 +04:00
|
|
|
(~(gas in one) (~(tap in two) ~)) :: XX ugh
|
|
|
|
::
|
2014-05-14 04:04:23 +04:00
|
|
|
++ grum :: merge maps
|
|
|
|
|* [one=(map) two=(map)]
|
|
|
|
^+ one
|
|
|
|
(~(gas by one) (~(tap by two) ~)) :: XX ugh
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-07-24 03:23:53 +04:00
|
|
|
++ lark :: filter arch names
|
|
|
|
|= [wox=$+(span (unit ,@)) arc=arch]
|
|
|
|
^- (map ,@ span)
|
2014-07-25 00:29:16 +04:00
|
|
|
%- ~(gas by *(map ,@ span))
|
2014-07-24 03:23:53 +04:00
|
|
|
=| rac=(list (pair ,@ span))
|
|
|
|
|- ^+ rac
|
|
|
|
?~ r.arc rac
|
2014-07-25 00:29:16 +04:00
|
|
|
=. rac $(r.arc l.r.arc, rac $(r.arc r.r.arc))
|
2014-07-24 03:23:53 +04:00
|
|
|
=+ gib=(wox p.n.r.arc)
|
|
|
|
?~(gib rac [[u.gib p.n.r.arc] rac])
|
|
|
|
::
|
2014-04-30 21:04:07 +04:00
|
|
|
++ za :: per event
|
2014-05-14 04:04:23 +04:00
|
|
|
=| $: $: $: our=ship :: computation owner
|
2014-04-25 21:37:54 +04:00
|
|
|
tea=wire :: event place
|
|
|
|
hen=duct :: event floor
|
|
|
|
== ::
|
|
|
|
$: now=@da :: event date
|
|
|
|
eny=@ :: unique entropy
|
2014-05-07 21:42:31 +04:00
|
|
|
ska=$+(* (unit (unit))) :: system namespace
|
2014-04-25 21:37:54 +04:00
|
|
|
== ::
|
|
|
|
mow=(list move) :: pending actions
|
|
|
|
== ::
|
2014-05-14 04:04:23 +04:00
|
|
|
bay=baby :: all owned state
|
2014-04-25 21:37:54 +04:00
|
|
|
== ::
|
|
|
|
|%
|
2014-06-03 09:07:32 +04:00
|
|
|
++ abet :: resolve
|
2014-05-14 04:04:23 +04:00
|
|
|
^- [(list move) baby]
|
|
|
|
[(flop mow) bay]
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
2014-06-03 09:07:32 +04:00
|
|
|
++ apex :: call
|
2014-06-03 22:25:12 +04:00
|
|
|
|= kus=(unit silk)
|
2014-06-03 09:07:32 +04:00
|
|
|
^+ +>
|
2014-06-03 22:25:12 +04:00
|
|
|
?~ kus
|
2014-05-14 04:04:23 +04:00
|
|
|
=+ num=(need (~(get by dym.bay) hen))
|
|
|
|
=+ tas=(need (~(get by q.tad.bay) num))
|
2014-05-16 04:46:48 +04:00
|
|
|
amok:~(camo zo [num tas])
|
2014-05-22 21:39:51 +04:00
|
|
|
=+ num=p.tad.bay
|
|
|
|
?> !(~(has by dym.bay) hen)
|
|
|
|
=: p.tad.bay +(p.tad.bay)
|
|
|
|
dym.bay (~(put by dym.bay) hen num)
|
|
|
|
==
|
2014-06-03 22:25:12 +04:00
|
|
|
~(exec zo [num `task`[hen u.kus 0 ~]])
|
2014-06-03 09:07:32 +04:00
|
|
|
::
|
|
|
|
++ axon :: take
|
2014-06-22 09:49:10 +04:00
|
|
|
|= [num=@ud tik=@ud sih=sign]
|
2014-06-03 09:07:32 +04:00
|
|
|
^+ +>
|
2014-06-22 06:51:12 +04:00
|
|
|
?- -.+.sih
|
2014-06-03 09:07:32 +04:00
|
|
|
%writ
|
|
|
|
=+ tus=(~(get by q.tad.bay) num)
|
|
|
|
?~ tus
|
|
|
|
~& [%ford-lost num]
|
|
|
|
+>.$
|
2014-06-22 06:51:12 +04:00
|
|
|
(~(resp zo [num u.tus]) tik p.+.sih)
|
2014-06-03 09:07:32 +04:00
|
|
|
==
|
2014-04-30 22:27:01 +04:00
|
|
|
::
|
2014-04-30 21:04:07 +04:00
|
|
|
++ zo
|
|
|
|
|_ [num=@ud task]
|
2014-05-14 04:04:23 +04:00
|
|
|
++ abet %_(..zo q.tad.bay (~(put by q.tad.bay) num +<+))
|
2014-06-04 14:40:09 +04:00
|
|
|
++ amok
|
|
|
|
%_ ..zo
|
|
|
|
q.tad.bay (~(del by q.tad.bay) num)
|
|
|
|
dym.bay (~(del by dym.bay) nah)
|
|
|
|
==
|
2014-05-16 04:46:48 +04:00
|
|
|
++ camo :: stop requests
|
|
|
|
^+ .
|
2014-06-07 22:36:31 +04:00
|
|
|
=+ kiz=(~(tap by q.kig) *(list ,[p=@ud q=beam]))
|
2014-05-16 04:46:48 +04:00
|
|
|
|- ^+ +>
|
|
|
|
?~ kiz +>
|
|
|
|
%= $
|
|
|
|
kiz t.kiz
|
|
|
|
mow :_ mow
|
2014-05-24 00:46:43 +04:00
|
|
|
:- hen
|
2014-06-24 21:32:59 +04:00
|
|
|
:^ %pass [(scot %p our) (scot %ud num) (scot %ud p.i.kiz) ~]
|
2014-06-21 22:42:34 +04:00
|
|
|
%c
|
2014-05-20 21:36:10 +04:00
|
|
|
[%warp [our p.q.i.kiz] q.q.i.kiz ~]
|
2014-05-16 04:46:48 +04:00
|
|
|
==
|
|
|
|
::
|
2014-04-30 21:04:07 +04:00
|
|
|
++ camp :: request a file
|
2014-06-07 22:36:31 +04:00
|
|
|
|= [ren=care bem=beam]
|
2014-04-30 21:04:07 +04:00
|
|
|
^+ +>
|
2014-07-03 02:08:02 +04:00
|
|
|
%= +>
|
|
|
|
kig [+(p.kig) (~(put by q.kig) p.kig bem)]
|
2014-04-30 21:04:07 +04:00
|
|
|
mow :_ mow
|
2014-05-24 00:46:43 +04:00
|
|
|
:- hen
|
2014-07-03 02:08:02 +04:00
|
|
|
:^ %pass [(scot %p our) (scot %ud num) (scot %ud p.kig) ~]
|
2014-06-21 22:42:34 +04:00
|
|
|
%c
|
2014-05-20 21:36:10 +04:00
|
|
|
[%warp [our p.bem] q.bem [~ %& %x r.bem s.bem]]
|
2014-04-30 21:04:07 +04:00
|
|
|
==
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-05-14 21:32:00 +04:00
|
|
|
++ clef :: cache a result
|
2014-05-14 23:38:37 +04:00
|
|
|
|* sem=*
|
2014-05-14 21:32:00 +04:00
|
|
|
|* [hoc=(bolt) fun=(burg)]
|
|
|
|
?- -.q.hoc
|
|
|
|
%2 hoc
|
|
|
|
%1 hoc
|
|
|
|
%0
|
|
|
|
=^ cux p.hoc ((calk p.hoc) sem q.q.hoc)
|
|
|
|
?~ cux
|
|
|
|
=+ nuf=(cope hoc fun)
|
|
|
|
?- -.q.nuf
|
|
|
|
%2 nuf
|
|
|
|
%1 nuf
|
|
|
|
%0
|
|
|
|
:- p=(came p.nuf `calx`[sem `calm`[now p.q.nuf] q.q.hoc q.q.nuf])
|
2014-05-14 23:38:37 +04:00
|
|
|
q=q.nuf
|
2014-05-14 21:32:00 +04:00
|
|
|
==
|
2014-07-27 16:04:30 +04:00
|
|
|
[p=p.hoc q=[%0 p=p.q.hoc q=((calf sem) u.cux)]]
|
2014-05-14 21:32:00 +04:00
|
|
|
==
|
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ coax :: bolt across
|
|
|
|
|* [hoc=(bolt) fun=(burg)]
|
2014-05-14 04:04:23 +04:00
|
|
|
?- -.q.hoc
|
2014-05-16 00:17:54 +04:00
|
|
|
%0 =+ nuf=$:fun(..+<- p.hoc)
|
|
|
|
:- p=p.nuf
|
2014-05-14 04:04:23 +04:00
|
|
|
^= q
|
|
|
|
?- -.q.nuf
|
|
|
|
%0 [%0 p=(grom p.q.hoc p.q.nuf) q=[q.q.hoc q.q.nuf]]
|
|
|
|
%1 q.nuf
|
|
|
|
%2 q.nuf
|
2014-05-07 21:42:31 +04:00
|
|
|
==
|
2014-05-16 00:17:54 +04:00
|
|
|
%1 =+ nuf=$:fun(..+<- p.hoc)
|
|
|
|
:- p=p.nuf
|
2014-05-14 04:04:23 +04:00
|
|
|
^= q
|
|
|
|
?- -.q.nuf
|
|
|
|
%0 q.hoc
|
|
|
|
%1 [%1 p=(grom p.q.nuf p.q.hoc)]
|
|
|
|
%2 q.nuf
|
2014-05-07 21:42:31 +04:00
|
|
|
==
|
|
|
|
%2 hoc
|
|
|
|
==
|
|
|
|
::
|
2014-07-08 03:17:21 +04:00
|
|
|
++ cool :: error caption
|
|
|
|
|* [cyt=trap hoc=(bolt)]
|
2014-07-06 03:38:15 +04:00
|
|
|
?. ?=(%2 -.q.hoc) hoc
|
|
|
|
[p.hoc [%2 *cyt p.q.hoc]]
|
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ cope :: bolt along
|
|
|
|
|* [hoc=(bolt) fun=(burg)]
|
2014-05-14 04:04:23 +04:00
|
|
|
?- -.q.hoc
|
2014-05-07 21:42:31 +04:00
|
|
|
%2 hoc
|
|
|
|
%1 hoc
|
2014-05-16 00:17:54 +04:00
|
|
|
%0 =+ nuf=(fun p.hoc q.q.hoc)
|
|
|
|
:- p=p.nuf
|
2014-05-14 04:04:23 +04:00
|
|
|
^= q
|
|
|
|
?- -.q.nuf
|
|
|
|
%2 q.nuf
|
|
|
|
%1 q.nuf
|
|
|
|
%0 [%0 p=(grom `_p.q.nuf`p.q.hoc p.q.nuf) q=q.q.nuf]
|
2014-05-14 04:25:59 +04:00
|
|
|
== ==
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
|
|
|
++ coup :: toon to bolt
|
2014-05-16 00:17:54 +04:00
|
|
|
|= cof=cafe
|
|
|
|
|* [ton=toon fun=$+(* *)]
|
|
|
|
:- p=cof
|
2014-05-14 04:04:23 +04:00
|
|
|
^= q
|
2014-05-07 21:42:31 +04:00
|
|
|
?- -.ton
|
2014-07-10 01:43:30 +04:00
|
|
|
%2 [%2 p=p.ton]
|
2014-06-07 22:36:31 +04:00
|
|
|
%0 [%0 p=*(set beam) q=(fun p.ton)]
|
2014-07-26 04:29:01 +04:00
|
|
|
%1 ~& [%coup-need ((list path) p.ton)]
|
|
|
|
=- ?- faw
|
2014-06-07 22:36:31 +04:00
|
|
|
& [%1 p=(turn p.faw |=(a=beam [a *(list tank)]))]
|
2014-05-09 04:34:57 +04:00
|
|
|
| [%2 p=p.faw]
|
2014-05-07 21:42:31 +04:00
|
|
|
==
|
2014-05-14 04:25:59 +04:00
|
|
|
^= faw
|
2014-06-07 22:36:31 +04:00
|
|
|
|- ^- (each (list beam) (list tank))
|
2014-05-07 21:42:31 +04:00
|
|
|
?~ p.ton [%& ~]
|
|
|
|
=+ nex=$(p.ton t.p.ton)
|
|
|
|
=+ pax=(path i.p.ton)
|
|
|
|
=+ zis=(tome (path i.p.ton))
|
|
|
|
?~ zis
|
|
|
|
[%| (smyt pax) ?:(?=(& -.nex) ~ p.nex)]
|
|
|
|
?- -.nex
|
2014-05-09 04:34:57 +04:00
|
|
|
& [%& u.zis p.nex]
|
2014-05-07 21:42:31 +04:00
|
|
|
| nex
|
|
|
|
==
|
2014-04-30 21:04:07 +04:00
|
|
|
==
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-07-26 04:29:01 +04:00
|
|
|
++ cowl :: each to bolt
|
|
|
|
|= cof=cafe
|
|
|
|
|* [tod=(each ,* (list tank)) fun=$+(* *)]
|
|
|
|
%+ (coup cof)
|
|
|
|
?- -.tod
|
|
|
|
%& [%0 p=p.tod]
|
|
|
|
%| [%2 p=p.tod]
|
|
|
|
==
|
|
|
|
fun
|
|
|
|
::
|
2014-05-16 04:46:48 +04:00
|
|
|
++ dash :: process cache
|
|
|
|
|= cof=cafe
|
|
|
|
^+ +>
|
|
|
|
%_(+> jav.bay q.cof)
|
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ exec :: execute app
|
2014-04-30 21:04:07 +04:00
|
|
|
^+ ..zo
|
2014-05-09 04:34:57 +04:00
|
|
|
?: !=(~ q.kig) ..zo
|
2014-04-30 21:04:07 +04:00
|
|
|
|- ^+ ..zo
|
2014-05-16 04:46:48 +04:00
|
|
|
=+ bot=(make [~ jav.bay] kas)
|
|
|
|
=. ..exec (dash p.bot)
|
2014-05-14 04:04:23 +04:00
|
|
|
?- -.q.bot
|
|
|
|
%0 amok:(expo [%made %& p.q.bot q.q.bot])
|
|
|
|
%2 amok:(expo [%made %| p.q.bot])
|
|
|
|
%1 =+ zuk=(~(tap by p.q.bot) ~)
|
2014-05-09 04:34:57 +04:00
|
|
|
=< abet
|
|
|
|
|- ^+ ..exec
|
|
|
|
?~ zuk ..exec
|
2014-06-07 22:36:31 +04:00
|
|
|
=+ foo=`_..exec`(camp %x `beam`p.i.zuk)
|
2014-05-09 04:34:57 +04:00
|
|
|
$(zuk t.zuk, ..exec foo)
|
2014-04-30 22:27:01 +04:00
|
|
|
==
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-06-03 09:07:32 +04:00
|
|
|
++ expo :: return gift
|
|
|
|
|= gef=gift
|
|
|
|
%_(+> mow :_(mow [hen %give gef]))
|
2014-05-09 04:34:57 +04:00
|
|
|
::
|
2014-07-27 16:04:30 +04:00
|
|
|
++ fade :: compile to hood
|
|
|
|
|= [cof=cafe bem=beam]
|
|
|
|
^- (bolt hood)
|
2014-07-29 02:46:03 +04:00
|
|
|
%+ cool |.(leaf/"ford: fade {<[(tope bem)]>}")
|
2014-07-27 16:04:30 +04:00
|
|
|
%+ cope (make cof [%bake %hoon bem ~])
|
|
|
|
|= [cof=cafe cay=cage]
|
|
|
|
%+ (clef %hood) (fine cof bem cay)
|
2014-07-27 14:26:17 +04:00
|
|
|
^- (burg (pair beam cage) hood)
|
|
|
|
|= [cof=cafe bem=beam cay=cage]
|
|
|
|
=+ rul=(fair bem)
|
2014-07-19 04:51:22 +04:00
|
|
|
?. ?=(@ q.q.cay)
|
|
|
|
(flaw cof ~)
|
|
|
|
=+ vex=((full rul) [[1 1] (trip q.q.cay)])
|
|
|
|
?~ q.vex
|
|
|
|
(flaw cof [%leaf "syntax error: {<p.p.vex>} {<q.p.vex>}"] ~)
|
|
|
|
(fine cof p.u.q.vex)
|
|
|
|
::
|
2014-07-29 02:46:03 +04:00
|
|
|
++ fame :: naked structure
|
2014-07-27 14:26:17 +04:00
|
|
|
|= [cof=cafe for=mark bek=beak]
|
|
|
|
^- (bolt vase)
|
2014-07-29 02:46:03 +04:00
|
|
|
=+ pax=/gate/[for]/str
|
2014-07-27 14:26:17 +04:00
|
|
|
=+ ^= bem ^- beam
|
|
|
|
:_ pax
|
|
|
|
?: =(p.bek our) bek
|
|
|
|
=+ oak=[our %main %da now]
|
|
|
|
?. =(~ (ska %cy (tope [oak pax]))) oak
|
|
|
|
bek
|
|
|
|
%+ cope (fade cof bem)
|
|
|
|
|= [cof=cafe hyd=hood]
|
|
|
|
%+ cope (ably:(meow bem ~) cof for hyd)
|
|
|
|
|= [cof=cafe gen=twig]
|
|
|
|
(maim cof pit gen)
|
|
|
|
::
|
2014-07-29 02:46:03 +04:00
|
|
|
++ fang :: protocol door
|
|
|
|
|= [cof=cafe for=mark bek=beak]
|
|
|
|
^- (bolt vase)
|
|
|
|
=+ bem=`beam`[bek /core/[for]/pro]
|
|
|
|
(cope (fade cof bem) abut:(meow bem ~))
|
|
|
|
::
|
2014-07-19 04:51:22 +04:00
|
|
|
++ fair :: hood parsing rule
|
2014-07-27 14:26:17 +04:00
|
|
|
|= bem=beam
|
|
|
|
=+ vez=(vang | (tope bem))
|
2014-07-19 04:51:22 +04:00
|
|
|
=< hood
|
|
|
|
|%
|
|
|
|
++ case
|
|
|
|
%- sear
|
|
|
|
:_ nuck:so
|
|
|
|
|= a=coin
|
|
|
|
?. ?=([%$ ?(%da %ud %tas) *] a) ~
|
|
|
|
[~ u=(^case a)]
|
|
|
|
::
|
2014-07-25 20:26:12 +04:00
|
|
|
++ hath (cook plex:vez (stag %clsg poor:vez)) :: hood path
|
|
|
|
++ have (sear tome hath) :: hood beam
|
2014-07-19 04:51:22 +04:00
|
|
|
++ hood
|
2014-07-21 07:15:02 +04:00
|
|
|
%+ ifix [gay gay]
|
2014-07-19 04:51:22 +04:00
|
|
|
;~ plug
|
2014-07-21 07:15:02 +04:00
|
|
|
;~ pose
|
2014-07-22 02:14:52 +04:00
|
|
|
(ifix [;~(plug fas wut gap) gap] dem)
|
2014-07-21 07:15:02 +04:00
|
|
|
(easy zuse)
|
|
|
|
==
|
2014-07-22 02:14:52 +04:00
|
|
|
::
|
|
|
|
;~ pose
|
|
|
|
(ifix [;~(plug fas hep gap) gap] (most ;~(plug com gaw) hoof))
|
|
|
|
(easy ~)
|
|
|
|
==
|
2014-07-25 00:29:16 +04:00
|
|
|
::
|
2014-07-22 02:14:52 +04:00
|
|
|
;~ pose
|
|
|
|
(ifix [;~(plug fas lus gap) gap] (most ;~(plug com gaw) hoof))
|
|
|
|
(easy ~)
|
|
|
|
==
|
2014-07-25 00:29:16 +04:00
|
|
|
::
|
2014-07-25 20:26:12 +04:00
|
|
|
(star horn)
|
2014-07-19 04:51:22 +04:00
|
|
|
(star hoop)
|
|
|
|
==
|
|
|
|
::
|
|
|
|
++ hoof
|
|
|
|
%+ cook |=(a=^hoof a)
|
2014-07-22 05:55:40 +04:00
|
|
|
;~ plug
|
|
|
|
sym
|
|
|
|
;~ pose
|
|
|
|
%+ stag ~
|
|
|
|
;~(plug ;~(pfix fas case) ;~(pfix ;~(plug fas sig) fed:ag))
|
|
|
|
(easy ~)
|
|
|
|
==
|
2014-07-19 04:51:22 +04:00
|
|
|
==
|
|
|
|
::
|
|
|
|
++ hoop
|
2014-07-25 00:29:16 +04:00
|
|
|
;~ pose
|
2014-07-25 20:26:12 +04:00
|
|
|
(stag %| ;~(pfix fas have))
|
2014-07-25 00:29:16 +04:00
|
|
|
(stag %& tall:vez)
|
|
|
|
==
|
2014-07-25 20:26:12 +04:00
|
|
|
::
|
|
|
|
++ horn
|
|
|
|
=< apex
|
|
|
|
=| tol=?
|
|
|
|
|%
|
|
|
|
++ apex
|
|
|
|
%+ knee *^horn |. ~+
|
|
|
|
;~ pfix fas
|
|
|
|
;~ pose
|
|
|
|
(stag %toy ;~(sfix sym fas))
|
|
|
|
(stag %and ;~(pfix and:sign and:read))
|
2014-07-25 20:38:22 +04:00
|
|
|
(stag %but ;~(pfix but:sign and:read))
|
|
|
|
(stag %day ;~(pfix day:sign day:read))
|
|
|
|
(stag %dub ;~(pfix dub:sign dub:read))
|
|
|
|
(stag %fan ;~(pfix fan:sign fan:read))
|
|
|
|
(stag %for ;~(pfix for:sign for:read))
|
|
|
|
(stag %hub ;~(pfix hub:sign day:read))
|
|
|
|
(stag %man ;~(pfix man:sign man:read))
|
|
|
|
(stag %nap ;~(pfix nap:sign day:read))
|
|
|
|
(stag %now ;~(pfix now:sign day:read))
|
|
|
|
(stag %see ;~(pfix see:sign see:read))
|
|
|
|
(stag %sic ;~(pfix sic:sign sic:read))
|
2014-07-25 20:26:12 +04:00
|
|
|
==
|
|
|
|
==
|
|
|
|
::
|
|
|
|
++ rail
|
|
|
|
|* [wid=_rule tal=_rule]
|
|
|
|
?. tol wid
|
|
|
|
;~(pose wid tal)
|
|
|
|
::
|
|
|
|
++ read
|
|
|
|
|% ++ and
|
|
|
|
%+ rail
|
|
|
|
(ifix [sel ser] (stag %cltr (most ace wide:vez)))
|
|
|
|
;~(pfix gap tall:vez)
|
|
|
|
::
|
2014-07-25 20:38:22 +04:00
|
|
|
++ day
|
|
|
|
%+ rail
|
|
|
|
apex(tol |)
|
|
|
|
;~(pfix gap apex)
|
|
|
|
::
|
|
|
|
++ dub
|
|
|
|
%+ rail
|
|
|
|
;~(plug sym ;~(pfix tis apex(tol |)))
|
|
|
|
;~(pfix gap ;~(plug sym ;~(pfix gap apex)))
|
|
|
|
::
|
|
|
|
++ fan
|
|
|
|
%+ rail fail
|
|
|
|
;~(sfix (star ;~(pfix gap apex)) ;~(plug gap duz))
|
|
|
|
::
|
|
|
|
++ for
|
|
|
|
%+ rail
|
|
|
|
;~(plug (ifix [sel ser] hath) apex(tol |))
|
|
|
|
;~(pfix gap ;~(plug hath ;~(pfix gap apex)))
|
|
|
|
::
|
|
|
|
++ man
|
|
|
|
%+ rail fail
|
|
|
|
%- sear
|
|
|
|
:_ ;~(sfix (star ;~(pfix gap apex)) ;~(plug gap duz))
|
|
|
|
|= fan=(list ^horn)
|
|
|
|
=| naf=(list (pair term ^horn))
|
|
|
|
|- ^- (unit (map term ^horn))
|
|
|
|
?~ fan (some (~(gas by *(map term ^horn)) naf))
|
|
|
|
?. ?=(%dub -.i.fan) ~
|
|
|
|
$(fan t.fan, naf [[p.i.fan q.i.fan] naf])
|
|
|
|
::
|
|
|
|
++ see
|
|
|
|
%+ rail
|
|
|
|
;~(plug (ifix [sel ser] have) apex(tol |))
|
|
|
|
;~(pfix gap ;~(plug have ;~(pfix gap apex)))
|
|
|
|
::
|
|
|
|
++ sic
|
|
|
|
%+ rail
|
|
|
|
;~(plug (ifix [sel ser] toil:vez) apex(tol |))
|
|
|
|
;~(pfix gap ;~(plug howl:vez ;~(pfix gap apex)))
|
2014-07-25 20:26:12 +04:00
|
|
|
--
|
|
|
|
::
|
|
|
|
++ sign
|
|
|
|
|% ++ and ;~(pose fas (jest %and))
|
|
|
|
++ but ;~(pose buc (jest %but))
|
|
|
|
++ day ;~(pose bar (jest %day))
|
|
|
|
++ dub ;~(pose tis (jest %dub))
|
|
|
|
++ fan ;~(pose col (jest %fan))
|
|
|
|
++ for ;~(pose com (jest %for))
|
|
|
|
++ hub ;~(pose pat (jest %hub))
|
|
|
|
++ man ;~(pose tar (jest %man))
|
|
|
|
++ nap ;~(pose cen (jest %nap))
|
|
|
|
++ now ;~(pose pam (jest %now))
|
|
|
|
++ saw ;~(pose cab (jest %saw))
|
|
|
|
++ see ;~(pose dot (jest %see))
|
|
|
|
++ sic ;~(pose ket (jest %sic))
|
|
|
|
--
|
|
|
|
--
|
2014-07-19 04:51:22 +04:00
|
|
|
--
|
|
|
|
::
|
2014-05-31 16:52:06 +04:00
|
|
|
++ kale :: mutate
|
|
|
|
|= [cof=cafe kas=silk muy=(list (pair wing silk))]
|
|
|
|
^- (bolt cage)
|
|
|
|
%+ cope
|
|
|
|
|- ^- (bolt (list (pair wing vase)))
|
|
|
|
?~ muy (fine cof ~)
|
|
|
|
%+ cope (make cof q.i.muy)
|
|
|
|
|= [cof=cafe cay=cage]
|
|
|
|
%+ cope ^$(muy t.muy)
|
|
|
|
|= [cof=cafe rex=(list (pair wing vase))]
|
|
|
|
(fine cof [[p.i.muy q.cay] rex])
|
|
|
|
|= [cof=cafe yom=(list (pair wing vase))]
|
|
|
|
%+ cope (make cof kas)
|
|
|
|
|= [cof=cafe cay=cage]
|
2014-07-27 16:04:30 +04:00
|
|
|
%+ cope (keel cof q.cay yom)
|
2014-05-31 16:52:06 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof p.cay vax)
|
|
|
|
::
|
2014-07-27 16:04:30 +04:00
|
|
|
++ keel :: apply mutations
|
|
|
|
|= [cof=cafe suh=vase yom=(list (pair wing vase))]
|
|
|
|
^- (bolt vase)
|
|
|
|
%^ maim cof
|
|
|
|
%+ slop suh
|
|
|
|
|- ^- vase
|
|
|
|
?~ yom [[%atom %n] ~]
|
|
|
|
(slop q.i.yom $(yom t.yom))
|
|
|
|
^- twig
|
|
|
|
:+ %cncb [%& 2]~
|
|
|
|
=+ axe=3
|
|
|
|
|- ^- (list (pair wing twig))
|
|
|
|
?~ yom ~
|
|
|
|
:- [p.i.yom [%$ (peg axe 2)]]
|
|
|
|
$(yom t.yom, axe (peg axe 3))
|
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ lace :: load and check
|
2014-07-25 20:26:12 +04:00
|
|
|
|= [cof=cafe for=mark bem=beam arg=heel]
|
2014-05-09 04:34:57 +04:00
|
|
|
^- (bolt (unit vase))
|
2014-05-12 02:48:41 +04:00
|
|
|
=+ bek=`beak`[p.bem q.bem r.bem]
|
2014-05-16 00:17:54 +04:00
|
|
|
%+ cope (lend cof bem)
|
|
|
|
|= [cof=cafe arc=arch]
|
2014-05-07 21:42:31 +04:00
|
|
|
?^ q.arc
|
2014-07-27 14:26:17 +04:00
|
|
|
(cope (cope (liar cof bem) (lake for bek)) fest)
|
2014-07-22 02:14:52 +04:00
|
|
|
?: (~(has by r.arc) %hoon)
|
2014-07-27 14:26:17 +04:00
|
|
|
%+ cope (fade cof bem)
|
2014-07-19 06:45:10 +04:00
|
|
|
|= [cof=cafe hyd=hood]
|
2014-07-27 14:26:17 +04:00
|
|
|
(cope (cope (abut:(meow bem arg) cof hyd) (lake for bek)) fest)
|
2014-05-16 00:17:54 +04:00
|
|
|
(fine cof ~)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
|
|
|
++ lake :: check/coerce
|
2014-07-22 02:14:52 +04:00
|
|
|
|= [for=mark bek=beak]
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe sam=vase]
|
2014-07-27 14:26:17 +04:00
|
|
|
^- (bolt vase)
|
|
|
|
%+ cool |.(leaf/"ford: check {<[for bek `@p`(mug q.sam)]>}")
|
2014-07-21 07:15:02 +04:00
|
|
|
?: ?=(?(%gate %core %hoon %hook %hood) for)
|
2014-07-27 14:26:17 +04:00
|
|
|
:: ~& [%lake-easy for bek]
|
|
|
|
(fine cof sam)
|
2014-07-29 02:46:03 +04:00
|
|
|
%+ cope (fang cof for bek)
|
|
|
|
|= [cof=cafe tux=vase]
|
|
|
|
=+ bob=(slot 6 tux)
|
|
|
|
?: (~(nest ut p.bob) | p.sam)
|
2014-07-27 14:26:17 +04:00
|
|
|
(fine cof sam)
|
2014-07-29 02:46:03 +04:00
|
|
|
?. (slab %grab p.tux)
|
|
|
|
(flaw cof [%leaf "ford: no grab: {<[for bek]>}"]~)
|
|
|
|
=+ gab=(slap tux [%cnzy %grab])
|
2014-07-30 03:29:56 +04:00
|
|
|
?. (slab %noun p.gab)
|
2014-07-29 02:46:03 +04:00
|
|
|
(flaw cof [%leaf "ford: no noun: {<[for bek]>}"]~)
|
|
|
|
%+ cope (maul cof (slap gab [%cnzy %noun]) [%noun q.sam])
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe pro=vase]
|
2014-07-29 02:46:03 +04:00
|
|
|
?: =(+<.q.pro q.sam)
|
2014-07-30 03:29:56 +04:00
|
|
|
(fine cof (slot 6 pro))
|
|
|
|
(flaw cof [%leaf "ford: invalid content: {<[for bek]>}"]~)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-06-26 16:18:30 +04:00
|
|
|
++ lave :: validate
|
2014-07-27 14:26:17 +04:00
|
|
|
|= [cof=cafe for=mark his=ship som=*]
|
2014-05-12 02:48:41 +04:00
|
|
|
^- (bolt vase)
|
2014-07-30 03:29:56 +04:00
|
|
|
((lake for [our %main [%da now]]) cof [%noun som])
|
2014-05-12 02:48:41 +04:00
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ lane :: type infer
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe typ=type gen=twig]
|
2014-07-26 04:29:01 +04:00
|
|
|
%+ (cowl cof) (mule |.((~(play ut typ) gen)))
|
2014-05-07 21:42:31 +04:00
|
|
|
|=(ref=type ref)
|
|
|
|
::
|
2014-07-24 03:23:53 +04:00
|
|
|
++ lash :: atomic sequence
|
|
|
|
|= wox=$+(span (unit ,@))
|
|
|
|
|= [cof=cafe bem=beam]
|
|
|
|
^- (bolt (map ,@ span))
|
|
|
|
%+ cope (lend cof bem)
|
|
|
|
|= [cof=cafe arc=arch]
|
|
|
|
(fine cof (lark wox arc))
|
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ lend :: load arch
|
2014-06-07 22:36:31 +04:00
|
|
|
|= [cof=cafe bem=beam]
|
2014-05-07 21:42:31 +04:00
|
|
|
^- (bolt arch)
|
|
|
|
=+ von=(ska %cy (tope bem))
|
2014-05-16 00:17:54 +04:00
|
|
|
?~ von [p=cof q=[%1 [bem ~] ~ ~]]
|
|
|
|
(fine cof ((hard arch) (need u.von)))
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
|
|
|
++ liar :: load vase
|
2014-06-07 22:36:31 +04:00
|
|
|
|= [cof=cafe bem=beam]
|
2014-05-14 04:25:59 +04:00
|
|
|
^- (bolt vase)
|
2014-05-07 21:42:31 +04:00
|
|
|
=+ von=(ska %cx (tope bem))
|
|
|
|
?~ von
|
2014-05-14 04:04:23 +04:00
|
|
|
[p=*cafe q=[%1 [[bem ~] ~ ~]]]
|
2014-05-07 21:42:31 +04:00
|
|
|
?~ u.von
|
2014-05-16 00:17:54 +04:00
|
|
|
(flaw cof (smyt (tope bem)) ~)
|
|
|
|
(fine cof ?^(u.u.von [%cell %noun %noun] [%atom %$]) u.u.von)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
|
|
|
++ lily :: translation targets
|
2014-07-22 02:14:52 +04:00
|
|
|
|= [cof=cafe for=mark bek=beak]
|
2014-05-07 21:42:31 +04:00
|
|
|
^- (bolt (list ,@tas))
|
2014-07-29 02:46:03 +04:00
|
|
|
%+ cope (fang cof for bek)
|
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
%+ fine cof
|
|
|
|
%+ weld
|
|
|
|
^- (list ,@tas)
|
|
|
|
?. (slab %garb p.vax) ~
|
|
|
|
=+ gav=((soft (list ,@tas)) q:(slap vax [%cnzy %garb]))
|
|
|
|
?~(gav ~ u.gav)
|
|
|
|
?. (slab %grow p.vax) ~
|
|
|
|
=+ gow=(slap vax [%cnzy %grow])
|
|
|
|
(sloe p.gow)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
|
|
|
++ lima :: load at depth
|
2014-07-25 20:26:12 +04:00
|
|
|
|= [cof=cafe for=mark bem=beam arg=heel]
|
2014-05-07 21:42:31 +04:00
|
|
|
^- (bolt (unit vase))
|
2014-05-16 00:17:54 +04:00
|
|
|
%+ cope (lend cof bem)
|
|
|
|
|= [cof=cafe arc=arch]
|
2014-05-09 04:34:57 +04:00
|
|
|
^- (bolt (unit vase))
|
2014-05-07 21:42:31 +04:00
|
|
|
?: (~(has by r.arc) for)
|
2014-07-25 20:26:12 +04:00
|
|
|
(lace cof for bem(s [for s.bem]) arg)
|
2014-07-09 02:46:34 +04:00
|
|
|
=+ haz=(turn (~(tap by r.arc) ~) |=([a=@tas b=~] a))
|
|
|
|
?~ haz (fine cof ~)
|
|
|
|
%+ cope (lion cof for -.bem haz)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe wuy=(unit (list ,@tas))]
|
|
|
|
?~ wuy (fine cof ~)
|
2014-05-14 04:04:23 +04:00
|
|
|
?> ?=(^ u.wuy)
|
2014-07-25 20:26:12 +04:00
|
|
|
%+ cope (make cof %bake i.u.wuy bem arg)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe hoc=cage]
|
2014-07-27 16:04:30 +04:00
|
|
|
%+ cope (lope cof i.u.wuy t.u.wuy -.bem q.hoc)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof ~ vax)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-06-07 22:36:31 +04:00
|
|
|
++ lime :: load beam
|
2014-07-25 20:26:12 +04:00
|
|
|
|= [cof=cafe for=mark bem=beam arg=heel]
|
|
|
|
=+ [mob=bem mer=(flop arg)]
|
2014-05-07 21:42:31 +04:00
|
|
|
|- ^- (bolt vase)
|
2014-07-11 03:13:42 +04:00
|
|
|
%+ cope (lima cof for mob (flop mer))
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe vux=(unit vase)]
|
|
|
|
?^ vux (fine cof u.vux)
|
2014-07-09 02:46:34 +04:00
|
|
|
?~ s.mob
|
|
|
|
(flaw cof (smyt (tope bem)) ~)
|
2014-07-11 03:13:42 +04:00
|
|
|
^$(s.mob t.s.mob, mer [i.s.mob mer])
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-05-14 04:25:59 +04:00
|
|
|
++ link :: translate
|
2014-07-27 16:04:30 +04:00
|
|
|
|= [cof=cafe too=mark for=mark bek=beak vax=vase]
|
2014-05-07 21:42:31 +04:00
|
|
|
^- (bolt vase)
|
2014-05-16 00:17:54 +04:00
|
|
|
?: =(too for) (fine cof vax)
|
2014-07-10 04:48:53 +04:00
|
|
|
?: |(=(%noun for) =(%$ for))
|
2014-07-27 16:04:30 +04:00
|
|
|
((lake too bek) cof vax)
|
2014-07-29 02:46:03 +04:00
|
|
|
%+ cope (fang cof for bek)
|
|
|
|
|= [cof=cafe pro=vase]
|
|
|
|
?: &((slab %grow p.pro) (slab too p:(slap pro [%cnzy %grow])))
|
|
|
|
%+ cope (keel cof pro [[%& 6]~ vax]~)
|
|
|
|
|= [cof=cafe pox=vase]
|
|
|
|
(maim cof pox [%tsgr [%cnzy %grow] [%cnzy too]])
|
|
|
|
%+ cope (fang cof too bek)
|
|
|
|
|= [cof=cafe pro=vase]
|
|
|
|
=+ ^= zat ^- (unit vase)
|
|
|
|
?. (slab %grab p.pro) ~
|
|
|
|
=+ gab=(slap pro [%cnzy %grab])
|
|
|
|
?. (slab for p.gab) ~
|
|
|
|
`(slap gab [%cnzy for])
|
|
|
|
?~ zat
|
|
|
|
(flaw cof [%leaf "ford: no link: {<[for too]>}"]~)
|
|
|
|
(maul cof u.zat vax)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-05-09 04:34:57 +04:00
|
|
|
++ lion :: translation search
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe too=@tas bek=beak fro=(list ,@tas)]
|
2014-05-09 04:34:57 +04:00
|
|
|
^- (bolt (unit (list ,@tas)))
|
2014-05-07 21:42:31 +04:00
|
|
|
=| war=(set ,@tas)
|
2014-05-16 00:17:54 +04:00
|
|
|
=< -:(apex (fine cof fro))
|
2014-07-12 22:24:52 +04:00
|
|
|
|%
|
2014-05-07 21:42:31 +04:00
|
|
|
++ apex
|
|
|
|
|= rof=(bolt (list ,@tas))
|
2014-05-09 04:34:57 +04:00
|
|
|
^- [(bolt (unit (list ,@tas))) _+>]
|
2014-05-14 04:04:23 +04:00
|
|
|
?. ?=(%0 -.q.rof) [rof +>.$]
|
|
|
|
?~ q.q.rof
|
|
|
|
[[p.rof [%0 p.q.rof ~]] +>.$]
|
2014-05-16 00:17:54 +04:00
|
|
|
=^ orf +>.$ (apse cof i.q.q.rof)
|
2014-05-14 04:04:23 +04:00
|
|
|
?. ?=(%0 -.q.orf)
|
2014-05-16 00:17:54 +04:00
|
|
|
[orf +>.$]
|
2014-05-14 04:04:23 +04:00
|
|
|
?~ q.q.orf
|
2014-05-16 00:17:54 +04:00
|
|
|
$(cof p.orf, q.q.rof t.q.q.rof)
|
|
|
|
[[p.orf [%0 (grom p.q.rof p.q.orf) q.q.orf]] +>.$]
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ apse
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe for=@tas]
|
2014-05-09 04:34:57 +04:00
|
|
|
^- [(bolt (unit (list ,@tas))) _+>]
|
2014-05-14 04:25:59 +04:00
|
|
|
?: =(for too)
|
2014-05-16 00:17:54 +04:00
|
|
|
[(fine cof [~ too ~]) +>.$]
|
|
|
|
?: (~(has in war) for) [(fine cof ~) +>]
|
2014-05-07 21:42:31 +04:00
|
|
|
=. war (~(put in war) for)
|
2014-05-16 00:17:54 +04:00
|
|
|
=^ hoc +>.$ (apex (lily cof for bek))
|
2014-05-07 21:42:31 +04:00
|
|
|
:_ +>.$
|
2014-05-16 00:17:54 +04:00
|
|
|
%+ cope hoc
|
|
|
|
|= [cof=cafe ked=(unit (list ,@tas))]
|
|
|
|
(fine cof ?~(ked ~ [~ for u.ked]))
|
2014-05-07 21:42:31 +04:00
|
|
|
--
|
|
|
|
::
|
2014-05-16 00:17:54 +04:00
|
|
|
++ lope :: translation pipe
|
2014-07-27 16:04:30 +04:00
|
|
|
|= [cof=cafe for=mark yaw=(list mark) bek=beak vax=vase]
|
2014-05-07 21:42:31 +04:00
|
|
|
^- (bolt vase)
|
2014-05-16 00:17:54 +04:00
|
|
|
?~ yaw (fine cof vax)
|
2014-07-27 16:04:30 +04:00
|
|
|
%+ cope (link cof i.yaw for bek vax)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe yed=vase]
|
2014-07-08 03:17:21 +04:00
|
|
|
^$(cof cof, for i.yaw, yaw t.yaw, vax yed)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-07-19 04:51:22 +04:00
|
|
|
++ maim :: slap
|
|
|
|
|= [cof=cafe vax=vase gen=twig]
|
|
|
|
^- (bolt vase)
|
|
|
|
%+ (clef %slap) (fine cof vax gen)
|
|
|
|
|= [cof=cafe vax=vase gen=twig]
|
|
|
|
=+ puz=(mule |.((~(mint ut p.vax) [%noun gen])))
|
|
|
|
?- -.puz
|
|
|
|
| (flaw cof p.puz)
|
|
|
|
& %+ (coup cof) (mock [q.vax q.p.puz] (mole ska))
|
|
|
|
|= val=*
|
|
|
|
`vase`[p.p.puz val]
|
|
|
|
==
|
2014-07-09 13:40:49 +04:00
|
|
|
::
|
2014-05-07 21:42:31 +04:00
|
|
|
++ make :: reduce silk
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe kas=silk]
|
2014-05-07 21:42:31 +04:00
|
|
|
^- (bolt cage)
|
2014-07-09 02:46:34 +04:00
|
|
|
:: ~& [%make -.kas]
|
2014-05-07 21:42:31 +04:00
|
|
|
?- -.kas
|
2014-04-30 21:04:07 +04:00
|
|
|
^
|
2014-05-16 00:17:54 +04:00
|
|
|
%. [cof p.kas q.kas]
|
2014-05-07 21:42:31 +04:00
|
|
|
;~ cope
|
|
|
|
;~ coax
|
2014-05-16 00:17:54 +04:00
|
|
|
|=([cof=cafe p=silk q=silk] ^$(cof cof, kas p.kas))
|
|
|
|
|=([cof=cafe p=silk q=silk] ^$(cof cof, kas q.kas))
|
2014-05-07 21:42:31 +04:00
|
|
|
==
|
|
|
|
::
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe bor=cage heg=cage] ^- (bolt cage)
|
2014-06-19 22:53:16 +04:00
|
|
|
[p=cof q=[%0 ~ [%$ (slop q.bor q.heg)]]]
|
2014-05-07 21:42:31 +04:00
|
|
|
==
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
2014-05-14 04:25:59 +04:00
|
|
|
%bake
|
2014-07-06 03:38:15 +04:00
|
|
|
%+ cool |.(leaf/"ford: bake {<p.kas>} {<(tope q.kas)>}")
|
2014-07-09 07:24:40 +04:00
|
|
|
%+ cope (lima cof p.kas q.kas r.kas)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe vux=(unit vase)]
|
2014-05-09 04:34:57 +04:00
|
|
|
?~ vux
|
2014-05-16 00:17:54 +04:00
|
|
|
(flaw cof (smyt (tope q.kas)) ~)
|
|
|
|
(fine cof [p.kas u.vux])
|
|
|
|
::
|
|
|
|
%boil
|
2014-07-09 07:00:30 +04:00
|
|
|
%+ cool |.(leaf/"ford: boil {<p.kas>} {<(tope q.kas)>} {<r.kas>}")
|
|
|
|
%+ cope (lime cof p.kas q.kas r.kas)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof `cage`[p.kas vax])
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
|
|
|
%call
|
2014-07-06 03:38:15 +04:00
|
|
|
%+ cool |.(leaf/"ford: call {<`@p`(mug kas)>}")
|
2014-05-16 00:17:54 +04:00
|
|
|
%. [cof p.kas q.kas]
|
2014-05-07 21:42:31 +04:00
|
|
|
;~ cope
|
|
|
|
;~ coax
|
2014-05-16 00:17:54 +04:00
|
|
|
|=([cof=cafe p=silk q=silk] ^$(cof cof, kas p))
|
|
|
|
|=([cof=cafe p=silk q=silk] ^$(cof cof, kas q))
|
2014-05-07 21:42:31 +04:00
|
|
|
==
|
|
|
|
::
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe gat=cage sam=cage]
|
|
|
|
(maul cof q.gat q.sam)
|
2014-05-07 21:42:31 +04:00
|
|
|
::
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof %noun vax)
|
2014-05-07 21:42:31 +04:00
|
|
|
==
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
2014-05-10 11:10:46 +04:00
|
|
|
%cast
|
2014-07-27 14:26:17 +04:00
|
|
|
%+ cool |.(leaf/"ford: cast {<p.kas>}")
|
|
|
|
%+ cope $(kas q.kas)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe cay=cage]
|
2014-07-27 16:04:30 +04:00
|
|
|
%+ cope (link cof p.kas p.cay [our %main %da now] q.cay)
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof [p.kas vax])
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
2014-05-31 16:52:06 +04:00
|
|
|
%done [cof %0 p.kas q.kas]
|
2014-07-06 03:38:15 +04:00
|
|
|
%dude (cool |.(p.kas) $(kas q.kas))
|
2014-06-17 05:33:31 +04:00
|
|
|
%dune
|
|
|
|
?~ q.kas [cof [%2 [%leaf "no data"]~]]
|
|
|
|
$(kas [%done p.kas u.q.kas])
|
2014-06-14 04:38:51 +04:00
|
|
|
::
|
2014-05-31 16:52:06 +04:00
|
|
|
%mute (kale cof p.kas q.kas)
|
2014-07-19 04:51:22 +04:00
|
|
|
%plan
|
|
|
|
%+ cope (abut:(meow p.kas q.kas) cof r.kas)
|
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof %noun vax)
|
|
|
|
::
|
2014-07-10 04:16:17 +04:00
|
|
|
%reef (fine cof %noun pit)
|
|
|
|
%ride
|
|
|
|
%+ cool |.(leaf/"ford: ride {<`@p`(mug kas)>}")
|
2014-07-29 02:46:03 +04:00
|
|
|
%+ cope $(kas q.kas)
|
2014-05-31 16:52:06 +04:00
|
|
|
|= [cof=cafe cay=cage]
|
2014-07-29 02:46:03 +04:00
|
|
|
%+ cope (maim cof q.cay p.kas)
|
2014-05-31 16:52:06 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof %noun vax)
|
|
|
|
::
|
2014-06-26 16:18:30 +04:00
|
|
|
%vale
|
2014-07-06 03:38:15 +04:00
|
|
|
%+ cool |.(leaf/"ford: vale {<p.kas>} {<q.kas>} {<`@p`(mug r.kas)>}")
|
2014-06-26 16:18:30 +04:00
|
|
|
%+ cope (lave cof p.kas q.kas r.kas)
|
2014-07-27 14:26:17 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
(fine cof `cage`[p.kas vax])
|
2014-04-30 21:04:07 +04:00
|
|
|
==
|
|
|
|
::
|
|
|
|
++ maul :: slam
|
2014-05-16 00:17:54 +04:00
|
|
|
|= [cof=cafe gat=vase sam=vase]
|
2014-05-07 21:42:31 +04:00
|
|
|
^- (bolt vase)
|
|
|
|
=+ top=(mule |.((slit p.gat p.sam)))
|
2014-05-14 04:25:59 +04:00
|
|
|
?- -.top
|
2014-05-16 00:17:54 +04:00
|
|
|
| (flaw cof p.top)
|
|
|
|
& %+ (coup cof) (mong [q.gat q.sam] (mole ska))
|
2014-05-14 04:25:59 +04:00
|
|
|
|= val=*
|
2014-05-09 04:34:57 +04:00
|
|
|
`vase`[p.top val]
|
|
|
|
==
|
2014-04-30 21:04:07 +04:00
|
|
|
::
|
2014-07-19 04:51:22 +04:00
|
|
|
++ meow :: assemble
|
2014-07-25 20:26:12 +04:00
|
|
|
|= [how=beam arg=heel]
|
2014-07-29 02:46:03 +04:00
|
|
|
=| $: rop=(map term (pair hoof twig)) :: structures known
|
2014-07-19 04:51:22 +04:00
|
|
|
bil=(map term (pair hoof twig)) :: libraries known
|
|
|
|
lot=(list term) :: library stack
|
|
|
|
zeg=(set term) :: library guard
|
|
|
|
boy=(list twig) :: body stack
|
|
|
|
==
|
|
|
|
|%
|
2014-07-27 14:26:17 +04:00
|
|
|
++ able :: assemble preamble
|
|
|
|
^- twig
|
|
|
|
:+ %tsgr
|
|
|
|
?:(=(~ rop) [%$ 1] [%brcn (~(run by rop) |=([* a=twig] [%ash a]))])
|
|
|
|
[%tssg (turn (flop lot) |=(a=term q:(need (~(get by bil) a))))]
|
|
|
|
::
|
2014-07-29 02:46:03 +04:00
|
|
|
++ ably :: naked structure
|
2014-07-27 14:26:17 +04:00
|
|
|
|= [cof=cafe for=mark hyd=hood]
|
|
|
|
^- (bolt twig)
|
|
|
|
%+ cope (apex cof hyd)
|
|
|
|
|= [cof=cafe sel=_..ably]
|
|
|
|
=. ..ably sel
|
|
|
|
%+ fine cof
|
|
|
|
^- twig
|
|
|
|
:+ %tsgl [%cnzy for]
|
|
|
|
:- %brcn
|
|
|
|
^- (map term foot)
|
|
|
|
%+ ~(put by `(map term foot)`(~(run by rop) |=([* a=twig] [%ash a])))
|
|
|
|
for
|
|
|
|
[%ash [%tssg (flop boy)]]
|
|
|
|
::
|
2014-07-19 04:51:22 +04:00
|
|
|
++ abut :: generate
|
|
|
|
|= [cof=cafe hyd=hood]
|
2014-07-25 00:29:16 +04:00
|
|
|
^- (bolt vase)
|
2014-07-19 04:51:22 +04:00
|
|
|
%+ cope (apex cof hyd)
|
|
|
|
|= [cof=cafe sel=_..abut]
|
2014-07-26 04:29:01 +04:00
|
|
|
=. ..abut sel
|
|
|
|
%+ cope (maim cof pit able)
|
2014-07-25 00:29:16 +04:00
|
|
|
|= [cof=cafe bax=vase]
|
2014-07-25 20:26:12 +04:00
|
|
|
%+ cope (chap cof bax [%fan fan.hyd])
|
2014-07-25 00:29:16 +04:00
|
|
|
|= [cof=cafe gox=vase]
|
2014-07-26 04:29:01 +04:00
|
|
|
%+ cope (maim cof (slop gox bax) [%tssg (flop boy)])
|
|
|
|
|= [cof=cafe fin=vase]
|
|
|
|
(fine cof fin)
|
|
|
|
:: ~> %slog.[0 ~(duck ut p.q.cay)]
|
2014-07-19 04:51:22 +04:00
|
|
|
::
|
|
|
|
++ apex :: build to body
|
|
|
|
|= [cof=cafe hyd=hood]
|
|
|
|
^- (bolt ,_..apex)
|
|
|
|
%+ cope (body cof src.hyd)
|
|
|
|
|= [cof=cafe sel=_..apex]
|
|
|
|
=. ..apex sel
|
|
|
|
%+ cope (neck cof lib.hyd)
|
|
|
|
|= [cof=cafe sel=_..apex]
|
2014-07-26 04:29:01 +04:00
|
|
|
=. ..apex sel(boy boy)
|
2014-07-29 02:46:03 +04:00
|
|
|
%+ cope (head cof str.hyd)
|
2014-07-19 04:51:22 +04:00
|
|
|
|= [cof=cafe sel=_..apex]
|
|
|
|
(fine cof sel)
|
|
|
|
::
|
|
|
|
++ body :: produce functions
|
|
|
|
|= [cof=cafe src=(list hoop)]
|
|
|
|
^- (bolt _..body)
|
|
|
|
?~ src (fine cof ..body)
|
|
|
|
%+ cope (wilt cof i.src)
|
|
|
|
|= [cof=cafe sel=_..body]
|
|
|
|
^$(cof cof, src t.src, ..body sel)
|
|
|
|
::
|
2014-07-24 03:23:53 +04:00
|
|
|
++ chai :: atomic map
|
2014-07-25 00:29:16 +04:00
|
|
|
|= [cof=cafe bax=vase doe=term hon=horn]
|
2014-07-24 03:23:53 +04:00
|
|
|
^- (bolt vase)
|
|
|
|
%+ cope ((lash (slat doe)) cof how)
|
2014-07-25 00:29:16 +04:00
|
|
|
|= [cof=cafe yep=(map ,@ span)]
|
2014-07-24 03:23:53 +04:00
|
|
|
%+ cope
|
2014-07-25 00:29:16 +04:00
|
|
|
|- ^- (bolt (map ,@ vase))
|
|
|
|
?~ yep (fine cof ~)
|
2014-07-24 03:23:53 +04:00
|
|
|
%+ cope $(yep l.yep)
|
|
|
|
|= [cof=cafe lef=(map ,@ vase)]
|
2014-07-25 00:29:16 +04:00
|
|
|
%+ cope `(bolt (map ,@ vase))`^$(cof cof, yep r.yep)
|
2014-07-24 03:23:53 +04:00
|
|
|
|= [cof=cafe rig=(map ,@ vase)]
|
2014-07-25 00:29:16 +04:00
|
|
|
%+ cope (chap(s.how [q.n.yep s.how]) cof bax hon)
|
2014-07-24 03:23:53 +04:00
|
|
|
|= [cof=cafe nod=vase]
|
|
|
|
(fine cof [[p.n.yep nod] lef rig])
|
|
|
|
|= [cof=cafe doy=(map ,@ vase)]
|
|
|
|
%+ fine cof
|
|
|
|
|- ^- vase
|
|
|
|
?~ doy [[%cube 0 [%atom %n]] 0]
|
|
|
|
%+ slop
|
|
|
|
(slop [[%atom doe] p.n.doy] q.n.doy)
|
|
|
|
(slop $(doy l.doy) $(doy r.doy))
|
|
|
|
::
|
|
|
|
++ chap :: produce resources
|
2014-07-25 00:29:16 +04:00
|
|
|
|= [cof=cafe bax=vase hon=horn]
|
2014-07-24 03:23:53 +04:00
|
|
|
^- (bolt vase)
|
|
|
|
?- -.hon
|
2014-07-25 00:29:16 +04:00
|
|
|
%and (maim cof bax p.hon)
|
|
|
|
%but
|
|
|
|
%+ cope (maim cof bax p.hon)
|
|
|
|
|= [cof=cafe gat=vase]
|
2014-07-25 20:26:12 +04:00
|
|
|
(maul cof gat !>(arg))
|
2014-07-24 03:23:53 +04:00
|
|
|
::
|
2014-07-25 00:29:16 +04:00
|
|
|
%day (chai cof bax %dr p.hon)
|
|
|
|
%dub
|
|
|
|
%+ cope $(hon q.hon)
|
2014-07-24 03:23:53 +04:00
|
|
|
|= [cof=cafe vax=vase]
|
2014-07-25 00:29:16 +04:00
|
|
|
(fine cof [[%face p.hon p.vax] q.vax])
|
|
|
|
::
|
|
|
|
%fan
|
|
|
|
%+ cope
|
|
|
|
|- ^- (bolt (list vase))
|
|
|
|
?~ p.hon (fine cof ~)
|
|
|
|
%+ cope ^$(hon i.p.hon)
|
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
%+ cope ^$(cof cof, p.hon t.p.hon)
|
|
|
|
|= [cof=cafe tev=(list vase)]
|
|
|
|
(fine cof [vax tev])
|
2014-07-24 03:23:53 +04:00
|
|
|
|= [cof=cafe tev=(list vase)]
|
2014-07-25 00:29:16 +04:00
|
|
|
%+ fine cof
|
|
|
|
|- ^- vase
|
|
|
|
?~ tev [[%cube 0 [%atom %n]] 0]
|
|
|
|
(slop i.tev $(tev t.tev))
|
2014-07-24 03:23:53 +04:00
|
|
|
::
|
|
|
|
%for $(hon q.hon, s.how (weld (flop p.hon) s.how))
|
2014-07-25 00:29:16 +04:00
|
|
|
%hub (chai cof bax %ud p.hon)
|
|
|
|
%man
|
|
|
|
|- ^- (bolt vase)
|
|
|
|
?~ p.hon (fine cof [[%cube 0 [%atom %n]] 0])
|
|
|
|
%+ cope $(p.hon l.p.hon)
|
|
|
|
|= [cof=cafe lef=vase]
|
|
|
|
%+ cope ^$(cof cof, p.hon r.p.hon)
|
|
|
|
|= [cof=cafe rig=vase]
|
|
|
|
%+ cope ^^^$(cof cof, hon q.n.p.hon)
|
|
|
|
|= [cof=cafe vax=vase]
|
|
|
|
%+ fine cof
|
|
|
|
%+ slop
|
|
|
|
(slop [[%atom %tas] p.n.p.hon] vax)
|
|
|
|
(slop lef rig)
|
|
|
|
::
|
|
|
|
%now (chai cof bax %da p.hon)
|
|
|
|
%nap (chai cof bax %tas p.hon)
|
|
|
|
::
|
2014-07-24 03:23:53 +04:00
|
|
|
%see $(hon q.hon, how p.hon)
|
|
|
|
%saw
|
|
|
|
%+ cope $(hon q.hon)
|
|
|
|
|= [cof=cafe sam=vase]
|
|
|
|
%+ cope (maim cof bax p.hon)
|
|
|
|
|= [cof=cafe gat=vase]
|
|
|
|
(maul cof gat sam)
|
|
|
|
::
|
2014-07-25 00:29:16 +04:00
|
|
|
%sic
|
2014-07-24 03:23:53 +04:00
|
|
|
%+ cope $(hon q.hon)
|
|
|
|
|= [cof=cafe vax=vase]
|
2014-07-25 00:29:16 +04:00
|
|
|
%+ cope (maim cof bax [%bctr p.hon])
|
|
|
|
|= [cof=cafe tug=vase]
|
|
|
|
?. (~(nest ut p.tug) | p.vax)
|
|
|
|
(flaw cof [%leaf "type error: {<p.hon>} {<q.hon>}"]~)
|
|
|
|
(fine cof vax)
|
|
|
|
::
|
|
|
|
%toy (cope (make cof %bake p.hon how ~) feel)
|
2014-07-24 03:23:53 +04:00
|
|
|
==
|
|
|
|
::
|
2014-07-29 02:46:03 +04:00
|
|
|
++ head :: consume structures
|
2014-07-19 04:51:22 +04:00
|
|
|
|= [cof=cafe bir=(list hoof)]
|
|
|
|
|- ^- (bolt ,_..head)
|
2014-07-26 04:29:01 +04:00
|
|
|
?~ bir
|
|
|
|
(fine cof ..head)
|
2014-07-22 05:55:40 +04:00
|
|
|
=+ byf=(~(get by rop) p.i.bir)
|
2014-07-19 04:51:22 +04:00
|
|
|
?^ byf
|
|
|
|
?. =(`hoof`i.bir `hoof`p.u.byf)
|
2014-07-29 02:46:03 +04:00
|
|
|
(flaw cof [%leaf "structure mismatch: {<~[p.u.byf i.bir]>}"]~)
|
2014-07-19 04:51:22 +04:00
|
|
|
$(bir t.bir)
|
2014-07-29 02:46:03 +04:00
|
|
|
=+ bem=(hone %gate %str i.bir)
|
2014-07-27 14:26:17 +04:00
|
|
|
%+ cope (fade cof bem)
|
2014-07-19 04:51:22 +04:00
|
|
|
|= [cof=cafe hyd=hood]
|
2014-07-22 02:14:52 +04:00
|
|
|
%+ cope (apex(boy ~) cof hyd)
|
|
|
|
|= [cof=cafe sel=_..head]
|
2014-07-19 04:51:22 +04:00
|
|
|
=. ..head
|
|
|
|
%= sel
|
2014-07-22 02:14:52 +04:00
|
|
|
boy boy
|
2014-07-19 04:51:22 +04:00
|
|
|
zeg zeg
|
2014-07-22 05:55:40 +04:00
|
|
|
rop (~(put by rop) p.i.bir [i.bir [%tssg (flop boy.sel)]])
|
2014-07-19 04:51:22 +04:00
|
|
|
==
|
|
|
|
^^$(cof cof, bir t.bir)
|
|
|
|
::
|
|
|
|
++ hone :: plant hoof
|
2014-07-21 07:15:02 +04:00
|
|
|
|= [for=@tas way=@tas huf=hoof]
|
2014-07-19 04:51:22 +04:00
|
|
|
^- beam
|
2014-07-22 05:55:40 +04:00
|
|
|
?~ q.huf
|
|
|
|
how(s ~[for p.huf way])
|
|
|
|
[[q.u.q.huf %main p.u.q.huf] ~[for p.huf way]]
|
2014-07-19 04:51:22 +04:00
|
|
|
::
|
|
|
|
++ neck :: consume libraries
|
|
|
|
|= [cof=cafe bir=(list hoof)]
|
|
|
|
^- (bolt ,_..neck)
|
|
|
|
?~ bir (fine cof ..neck)
|
2014-07-22 05:55:40 +04:00
|
|
|
?: (~(has in zeg) p.i.bir)
|
|
|
|
(flaw cof [%leaf "circular dependency: {<i.bir>}"]~)
|
|
|
|
=+ goz=(~(put in zeg) p.i.bir)
|
|
|
|
=+ byf=(~(get by bil) p.i.bir)
|
2014-07-19 04:51:22 +04:00
|
|
|
?^ byf
|
|
|
|
?. =(`hoof`i.bir `hoof`p.u.byf)
|
2014-07-22 05:55:40 +04:00
|
|
|
(flaw cof [%leaf "library mismatch: {<~[p.u.byf i.bir]>}"]~)
|
2014-07-19 04:51:22 +04:00
|
|
|
$(bir t.bir)
|
2014-07-21 07:15:02 +04:00
|
|
|
=+ bem=(hone %core %lib i.bir)
|
2014-07-27 14:26:17 +04:00
|
|
|
%+ cope (fade cof bem)
|
2014-07-19 04:51:22 +04:00
|
|
|
|= [cof=cafe hyd=hood]
|
|
|
|
%+ cope (apex(zeg goz, boy ~) cof hyd)
|
|
|
|
|= [cof=cafe sel=_..neck]
|
|
|
|
=. ..neck
|
|
|
|
%= sel
|
|
|
|
zeg zeg
|
2014-07-22 05:55:40 +04:00
|
|
|
lot [p.i.bir lot]
|
|
|
|
bil (~(put by bil) p.i.bir [i.bir [%tssg (flop boy.sel)]])
|
2014-07-19 04:51:22 +04:00
|
|
|
==
|
|
|
|
^^$(cof cof, bir t.bir)
|
|
|
|
::
|
|
|
|
++ wilt :: process body entry
|
|
|
|
|= [cof=cafe hop=hoop]
|
|
|
|
^- (bolt _..wilt)
|
2014-07-24 03:23:53 +04:00
|
|
|
?- -.hop
|
|
|
|
%& (fine cof ..wilt(boy [p.hop boy]))
|
|
|
|
%|
|
|
|
|
%+ cope (lend cof p.hop)
|
|
|
|
|= [cof=cafe arc=arch]
|
|
|
|
?: (~(has by r.arc) %hoon)
|
2014-07-27 14:26:17 +04:00
|
|
|
%+ cope (fade cof p.hop)
|
2014-07-24 03:23:53 +04:00
|
|
|
|= [cof=cafe hyd=hood]
|
|
|
|
%+ cope (apex(boy ~) cof hyd)
|
2014-07-25 00:29:16 +04:00
|
|
|
|= [cof=cafe sel=_..wilt]
|
2014-07-24 03:23:53 +04:00
|
|
|
(fine cof sel(boy [[%tssg boy.sel] boy]))
|
2014-07-25 00:29:16 +04:00
|
|
|
=+ [all=(lark (slat %tas) arc) sel=..wilt]
|
2014-07-24 03:23:53 +04:00
|
|
|
%+ cope
|
|
|
|
|- ^- (bolt (pair (map term foot) _..wilt))
|
2014-07-25 00:29:16 +04:00
|
|
|
?~ all (fine cof ~ ..wilt)
|
2014-07-24 03:23:53 +04:00
|
|
|
%+ cope $(all l.all)
|
|
|
|
|= [cof=cafe lef=(map term foot) sel=_..wilt]
|
2014-07-25 00:29:16 +04:00
|
|
|
%+ cope ^$(all r.all, cof cof, sel sel)
|
|
|
|
|= [cof=cafe rig=(map term foot) sel=_..wilt]
|
2014-07-24 03:23:53 +04:00
|
|
|
%+ cope
|
2014-07-25 00:29:16 +04:00
|
|
|
%= ^^^^$
|
|
|
|
cof cof
|
|
|
|
..wilt sel(boy ~)
|
|
|
|
s.p.hop [p.n.all s.p.hop]
|
|
|
|
==
|
2014-07-24 03:23:53 +04:00
|
|
|
|= [cof=cafe sel=_..wilt]
|
|
|
|
%+ fine cof
|
2014-07-25 00:29:16 +04:00
|
|
|
[`(map term foot)`[[p.n.all [%ash [%tssg boy.sel]]] lef rig] sel]
|
2014-07-24 03:23:53 +04:00
|
|
|
|= [cof=cafe mav=(map term foot) sel=_..wilt]
|
|
|
|
?~ mav
|
2014-07-25 00:29:16 +04:00
|
|
|
(flaw cof [%leaf "source missing: {<(tope p.hop)>}"]~)
|
2014-07-24 03:23:53 +04:00
|
|
|
(fine cof sel(boy [[%brcn mav] boy]))
|
2014-07-19 04:51:22 +04:00
|
|
|
==
|
|
|
|
--
|
|
|
|
::
|
2014-04-30 21:04:07 +04:00
|
|
|
++ resp
|
|
|
|
|= [tik=@ud rot=riot]
|
|
|
|
^+ ..zo
|
|
|
|
?> (~(has by q.kig) tik)
|
|
|
|
?~ rot
|
2014-05-09 04:34:57 +04:00
|
|
|
amok:(expo [%made %| (smyt (tope (need (~(get by q.kig) tik)))) ~])
|
2014-04-30 21:04:07 +04:00
|
|
|
exec(q.kig (~(del by q.kig) tik))
|
|
|
|
--
|
|
|
|
--
|
|
|
|
--
|
2014-04-23 21:02:36 +04:00
|
|
|
. ==
|
|
|
|
=| axle
|
|
|
|
=* lex -
|
2014-05-31 23:40:02 +04:00
|
|
|
|= [now=@da eny=@ ski=sled] :: activate
|
2014-04-23 21:02:36 +04:00
|
|
|
^? :: opaque core
|
|
|
|
|% ::
|
2014-06-03 09:07:32 +04:00
|
|
|
++ call :: request
|
2014-06-04 21:56:30 +04:00
|
|
|
|= [hen=duct hic=(hypo (hobo kiss))]
|
2014-06-04 14:40:09 +04:00
|
|
|
^- [p=(list move) q=_..^$]
|
2014-07-09 07:00:30 +04:00
|
|
|
=> .(q.hic ?.(?=(%soft -.q.hic) q.hic ((hard kiss) p.q.hic)))
|
2014-05-31 23:40:02 +04:00
|
|
|
=+ ska=(slod ski)
|
2014-05-22 21:39:51 +04:00
|
|
|
=+ ^= our ^- @p
|
2014-06-03 09:07:32 +04:00
|
|
|
?- -.q.hic
|
|
|
|
%exec p.q.hic
|
2014-05-22 21:39:51 +04:00
|
|
|
==
|
2014-05-14 04:04:23 +04:00
|
|
|
=+ ^= bay ^- baby
|
2014-05-22 21:39:51 +04:00
|
|
|
=+ buy=(~(get by pol.lex) our)
|
2014-05-14 04:04:23 +04:00
|
|
|
?~(buy *baby u.buy)
|
|
|
|
=^ mos bay
|
2014-06-03 09:07:32 +04:00
|
|
|
abet:(~(apex za [[our ~ hen] [now eny ska] ~] bay) q.q.hic)
|
2014-05-22 21:39:51 +04:00
|
|
|
[mos ..^$(pol (~(put by pol) our bay))]
|
|
|
|
::
|
2014-04-23 21:02:36 +04:00
|
|
|
++ doze
|
|
|
|
|= [now=@da hen=duct]
|
|
|
|
^- (unit ,@da)
|
|
|
|
~
|
|
|
|
::
|
2014-07-09 07:00:30 +04:00
|
|
|
++ load :: highly forgiving
|
|
|
|
|= old=*
|
|
|
|
=. old
|
|
|
|
?. ?=([%0 *] old) old :: remove at 1
|
|
|
|
:- %1
|
|
|
|
|- ^- *
|
|
|
|
?~ +.old ~
|
|
|
|
?> ?=([n=[p=* q=[tad=* dym=* jav=*]] l=* r=*] +.old)
|
|
|
|
:- [p.n.+.old [tad.q.n.+.old dym.q.n.+.old ~]]
|
|
|
|
[$(+.old l.+.old) $(+.old r.+.old)]
|
|
|
|
=+ lox=((soft axle) old)
|
2014-05-31 03:51:35 +04:00
|
|
|
^+ ..^$
|
2014-07-09 07:00:30 +04:00
|
|
|
?~ lox
|
|
|
|
~& %ford-reset
|
|
|
|
..^$
|
|
|
|
..^$(+>- u.lox)
|
2014-04-23 21:02:36 +04:00
|
|
|
::
|
|
|
|
++ scry
|
2014-05-27 00:43:40 +04:00
|
|
|
|= [fur=(unit (set monk)) ren=@tas who=ship syd=desk lot=coin tyl=path]
|
2014-07-22 02:14:52 +04:00
|
|
|
^- (unit (unit (pair mark ,*)))
|
2014-04-23 21:02:36 +04:00
|
|
|
~
|
|
|
|
::
|
2014-07-09 07:00:30 +04:00
|
|
|
++ stay :: save w/o cache
|
|
|
|
`axle`+>-.$(pol (~(run by pol) |=(a=baby [tad.a dym.a ~])))
|
|
|
|
::
|
2014-06-03 09:07:32 +04:00
|
|
|
++ take :: response
|
2014-06-22 09:49:10 +04:00
|
|
|
|= [tea=wire hen=duct hin=(hypo sign)]
|
2014-06-03 09:07:32 +04:00
|
|
|
^- [p=(list move) q=_..^$]
|
|
|
|
=+ ska=(slod ski)
|
|
|
|
?> ?=([@ @ @ ~] tea)
|
|
|
|
=+ :* our=(need (slaw %p i.tea))
|
|
|
|
num=(need (slaw %ud i.t.tea))
|
|
|
|
tik=(need (slaw %ud i.t.t.tea))
|
|
|
|
==
|
|
|
|
=+ bay=(need (~(get by pol.lex) our))
|
|
|
|
=^ mos bay
|
2014-06-22 06:51:12 +04:00
|
|
|
abet:(~(axon za [[our tea hen] [now eny ska] ~] bay) num tik q.hin)
|
2014-06-03 09:07:32 +04:00
|
|
|
[mos ..^$(pol (~(put by pol) our bay))]
|
2014-04-23 21:02:36 +04:00
|
|
|
--
|