2015-05-12 03:31:37 +03:00
|
|
|
::
|
2016-02-05 06:05:37 +03:00
|
|
|
:::: /hoon/begin/hood/gen
|
2015-05-12 03:31:37 +03:00
|
|
|
::
|
|
|
|
/? 314
|
2015-09-01 23:56:42 +03:00
|
|
|
/- sole
|
2015-05-12 03:31:37 +03:00
|
|
|
::
|
|
|
|
::::
|
|
|
|
!:
|
|
|
|
=> |%
|
2015-07-14 23:45:19 +03:00
|
|
|
++ begs ,[his=@p tic=@p yen=@t ges=gens]
|
2015-07-14 22:34:59 +03:00
|
|
|
++ scug |*([a=@ b=(pole)] ?~(b ~ ?~(a ~ [-.b $(b +.b, a (dec a))])))
|
2015-05-12 03:31:37 +03:00
|
|
|
--
|
2015-09-01 23:56:42 +03:00
|
|
|
[sole .]
|
2015-09-12 03:24:51 +03:00
|
|
|
:- %ask
|
2015-05-12 03:31:37 +03:00
|
|
|
|= $: [now=@da eny=@uvI bec=beak]
|
2015-11-20 01:29:54 +03:00
|
|
|
[arg=_(scug *@ ~[his=*@p tic=*@p])]
|
|
|
|
safety=?(%on %off)
|
2015-05-12 03:31:37 +03:00
|
|
|
==
|
|
|
|
^- (sole-result (cask begs))
|
2015-11-20 01:29:54 +03:00
|
|
|
?. =(safety %off)
|
2015-11-20 08:20:36 +03:00
|
|
|
%+ sole-yo
|
|
|
|
:- %leaf
|
|
|
|
"|begin is deprecated, please invoke urbit with -w [name] -t [ticket]"
|
2015-11-20 01:29:54 +03:00
|
|
|
sole-no
|
2015-07-14 03:46:37 +03:00
|
|
|
=- ?~ arg -
|
|
|
|
=+ (fun.q.q his.arg)
|
|
|
|
?~ +.arg -
|
|
|
|
(fun.q.q tic.arg)
|
2015-05-12 03:31:37 +03:00
|
|
|
%+ sole-lo
|
2015-09-30 00:12:57 +03:00
|
|
|
[%& %helm-begin "your urbit: ~"]
|
2015-05-12 03:31:37 +03:00
|
|
|
%+ sole-go fed:ag
|
|
|
|
|= his=@p
|
|
|
|
%+ sole-lo
|
2015-06-24 21:01:25 +03:00
|
|
|
[%& %helm-ticket "your ticket: ~"]
|
2015-05-12 03:31:37 +03:00
|
|
|
%+ sole-go fed:ag
|
|
|
|
|= tic=@p
|
|
|
|
%+ sole-lo
|
2015-06-24 21:01:25 +03:00
|
|
|
[%& %helm-entropy "some entropy: "]
|
2015-05-12 03:31:37 +03:00
|
|
|
%+ sole-go (boss 256 (more gon qit))
|
|
|
|
|= yen=@t
|
|
|
|
=+ ney=(shax yen)
|
|
|
|
%+ sole-yo `tank`[%leaf "entropy check: {(scow %p `@p`(mug ney))}"]
|
2015-06-24 21:01:25 +03:00
|
|
|
%+ sole-so %helm-begin
|
2015-05-12 03:31:37 +03:00
|
|
|
:* his
|
|
|
|
tic
|
|
|
|
ney
|
|
|
|
::
|
|
|
|
^- gens
|
|
|
|
:- %en
|
|
|
|
=+ can=(clan his)
|
|
|
|
?- can
|
|
|
|
%czar [%czar ~]
|
|
|
|
%duke [%duke %anon ~]
|
|
|
|
%earl [%earl (scot %p his)]
|
|
|
|
%king [%king ?:(=(~doznec his) 'Urban Republic' (scot %p his))]
|
|
|
|
%pawn [%pawn ~]
|
|
|
|
==
|
|
|
|
==
|