Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
96eab5d
fastboot: wip
midden-fabler Aug 28, 2024
20286b7
fastboot: cache less in boot
midden-fabler Sep 5, 2024
afada08
fastboot: use mink in nock 9
midden-fabler Sep 5, 2024
24383cd
fastboot: inline swat & try to cache mod
midden-fabler Sep 11, 2024
ba71763
fastboot: jet mice
midden-fabler Sep 20, 2024
9b56acb
fastboot: fix lull subject for smit
midden-fabler Sep 30, 2024
36824ca
fastboot: merge develop
midden-fabler Feb 27, 2025
e8097c0
fastboot: %memo in clay
midden-fabler Feb 28, 2025
14056bb
fastboot: misc brass pill
midden-fabler Feb 28, 2025
685823c
fastboot: pill - add %boot event
midden-fabler Mar 4, 2025
b7fa074
fastboot: pill - remove comments
midden-fabler Mar 5, 2025
ead20ad
fastboot: %memo +build-* in clay (bad)
midden-fabler Mar 5, 2025
dc2c668
fastboot: hoon/clay - add & use +slub (cached slap)
midden-fabler Mar 6, 2025
61c5a9c
fastboot: update pill for old/new compatibility
midden-fabler Mar 10, 2025
9b061bc
clay: move +parse-pile & related to utils, tape -> cord
midden-fabler Mar 13, 2025
1629bfe
fastboot: clay subject minimization, %memo in +parse-pile
midden-fabler Mar 14, 2025
bf1590b
fastboot: make computing the wynn an optional argument for brass
midden-fabler Mar 20, 2025
29d5d62
fastboot: clean up cache print
midden-fabler Mar 21, 2025
bac9522
Merge branch 'develop' into mf/fastboot
midden-fabler Mar 21, 2025
9660731
fastboot: update pill structure
midden-fabler Mar 25, 2025
c0e8759
fastboot: make cache optional, remove +mink from +mice
midden-fabler Mar 31, 2025
b64b442
fastboot: kelvin decrement, +mink
midden-fabler Apr 7, 2025
19243cc
Merge branch 'develop' into mf/fastboot
midden-fabler Apr 7, 2025
993331e
fastboot: update sys.kelvin
midden-fabler Apr 10, 2025
a62520a
Merge branch 'develop' into mf/fastboot
midden-fabler Apr 10, 2025
4e18434
fastboot: mark brass pill desks essential, init zests
midden-fabler Apr 15, 2025
31480d2
Merge branch 'develop' into mf/fastboot
midden-fabler Apr 15, 2025
a94c452
Merge branch 'develop' into mf/fastboot
midden-fabler May 2, 2025
a92205c
pill: update brass pill
midden-fabler May 2, 2025
b3a7dd3
tests: update clay +parse-pile
midden-fabler May 2, 2025
e5153ed
misc: delete obsolete vere-version
pkova May 2, 2025
6d5606b
aqua: update for new pill
midden-fabler May 7, 2025
c560fd9
pill: update brass pill
midden-fabler May 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bin/brass.pill
Binary file not shown.
37 changes: 23 additions & 14 deletions pkg/arvo/app/aqua.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
::
:: usage:
:: |start %aqua
:: /- aquarium
:: :aqua &pill .^(pill:aquarium %cx %/urbit/pill)
:: /+ pill
:: :aqua &pill .^(pill:pill %cx %/urbit/pill)
:: OR
:: :aqua &pill +solid
:: :aqua &pill +pill/solid
::
:: XX: update these examples
:: Then try stuff:
Expand All @@ -18,28 +18,34 @@
:: :aqua [%file ~[~bud ~dev] %/sys/vane]
:: :aqua [%pause-events ~[~bud ~dev]]
::
:: We get ++unix-event and ++pill from /-aquarium
:: We get ++unix-event from /-aquarium
::
/- aquarium
/+ pill, azimuth, naive, default-agent, aqua-azimuth, dbug, verb
=, pill-lib=pill
=, aquarium
=> $~ |%
+$ versioned-state
$% state-0
==
+$ state-0
$: %0
pil=$>(%pill pill)
pil=$>(%pill pill-0)
assembled=*
tym=@da
fresh-piers=(map [=ship fake=?] [=pier boths=(list unix-both)])
fleet-snaps=(map term fleet)
piers=fleet
==
:: XX temporarily shadowed, fix and remove
::
+$ pill pill:pill-lib
+$ pill-0
$% [%ivory p=(list)]
$: %pill
nam=term
boot-ova=(list)
kernel-ova=(list unix-event:pill)
userspace-ova=(list unix-event:pill)
==
==
::
+$ fleet [ships=(map ship pier) azi=az-state]
+$ pier
Expand Down Expand Up @@ -85,7 +91,7 @@
=^ cards state
?+ mark ~|([%aqua-bad-mark mark] !!)
%aqua-events (poke-aqua-events:ac !<((list aqua-event) vase))
%pill (poke-pill:ac !<(pill vase))
%pill (poke-pill:ac !<(pill:pill vase))
%noun (poke-noun:ac !<(* vase))
%azimuth-action (poke-azimuth-action:ac !<(azimuth-action vase))
==
Expand Down Expand Up @@ -408,16 +414,19 @@
:: events.
::
++ poke-pill
|= p=pill
|= p=pill:pill
^- (quip card:agent:gall _state)
?< ?=(%ivory -.p)
=? p ?=(%cash -.p)
^- $>(%pill pill:pill)
[%pill +<.p]
?> ?=(%pill -.p)
=. userspace-ova.p
:: if there is an azimuth-snapshot in the pill, we stub it out,
:: since it would interfere with aqua's azimuth simulation.
::
^+ userspace-ova.p
%+ turn userspace-ova.p
|= e=unix-event:pill-lib
|= e=unix-event:pill
^+ e
?. ?=(%park -.q.e) e
?. ?=(%& -.yok.q.e) e
Expand Down Expand Up @@ -498,8 +507,8 @@
=. userspace-ova.pil
:: take all files from a userspace desk
:_ ~
%- unix-event:pill-lib
%- file-ovum:pill-lib
%- unix-event:pill
%- file-ovum:pill
[desk /(scot %p our.hid)/[desk]/(scot %da now.hid) ~]
=^ ms state (poke-pill pil)
(emit-cards ms)
Expand Down
4 changes: 3 additions & 1 deletion pkg/arvo/gen/pill/brass.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
rest=(list desk)
==
::
cache=_&
prime=_|
wynn=_|
exc=(list spur)
==
:- %pill
Expand All @@ -46,4 +48,4 @@
|= =desk
[desk /(scot %p p.bec)/[desk]/(scot %da now)]
::
(brass:pill sys dez prime exc)
(brass:pill sys dez cache prime wynn exc)
2 changes: 1 addition & 1 deletion pkg/arvo/sys.kelvin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[%zuse 410]
[%zuse 409]
24 changes: 17 additions & 7 deletions pkg/arvo/sys/arvo.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
|%
+| %global
::
++ arvo %236
++ arvo %235
::
:: $arch: node identity
:: $axal: fundamental node, recursive (trie)
Expand Down Expand Up @@ -208,9 +208,9 @@
==
+$ heir
$% $: %grub
$% [?(%240 %239 %238 %237 %236) =grub]
$% [?(%240 %239 %238 %237 %236 %235) =grub]
== ==
[?(%240 %239 %238 %237 %236) =debt =soul]
[?(%240 %239 %238 %237 %236 %235) =debt =soul]
==
+$ plan (pair germ (list move))
+$ soul
Expand Down Expand Up @@ -779,6 +779,8 @@
~> %slog.[0 leaf+"1-c (compiling compiler, wait a few minutes)"]
=/ compiler-tool
~> %bout
=> [compiler-gate=compiler-gate log=hoon=hoon.log]
~> %memo./boot/brass
.*([compiler-gate noun/hoon.log] [%9 2 %10 [6 %0 3] %0 2])
::
:: switch to the second-generation compiler. we want to be
Expand All @@ -805,6 +807,8 @@
~> %slog.[0 leaf+"1-f"]
=/ kernel-tool
~> %bout
=> [compiler-gate=compiler-gate kernel-span=kernel-span log=arvo=arvo.log]
~> %memo./boot/brass
.*([compiler-gate kernel-span arvo.log] [%9 2 %10 [6 %0 3] %0 2])
::
:: create the arvo kernel, whose subject is the kernel core.
Expand Down Expand Up @@ -1768,7 +1772,7 @@
::
=. sol
?- -.hir
?(%240 %239 %238 %237 %236) soul.hir
?(%240 %239 %238 %237 %236 %235) soul.hir
==
:: clear compiler caches
::
Expand Down Expand Up @@ -1886,7 +1890,13 @@
~> %slog.[0 leaf/"{cap}: {(scow uv+(mug txt))}"]
%- road |.
~_ leaf/"{cap}: build failed"
(swat sub (rain pax txt))
=> [tap=sub pax=pax txt=txt ..rain]
~> %memo./boot/brass
=/ gen (rain pax txt)
^- (trap vase)
=/ gun (~(mint ut p:$:tap) %noun gen)
|. ~+
[p.gun .*(q:$:tap q.gun)]
--
::
|= [grub fil=(list (pair path (cask)))]
Expand All @@ -1907,10 +1917,10 @@
::
=^ job=oped:part taf (~(adorn adapt:part taf) del |)
=? lul ?=(^ lul.job)
`(smit "lull" |.(pit) /sys/lull/hoon u.lul.job)
`(smit "lull" =>(pit=pit |.(pit)) /sys/lull/hoon u.lul.job)
=? zus ?=(^ zus.job)
?. ?=(^ lul)
~|(%larval-need-lull !!)
~|(%larval-need-lull !!)
`(smit "zuse" u.lul /sys/zuse/hoon u.zus.job)
=? van !=(~ van.job) :: XX TMI
?. ?=(^ zus)
Expand Down
20 changes: 15 additions & 5 deletions pkg/arvo/sys/hoon.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
:::: /sys/hoon ::
:: ::
=< ride
=> %137 =>
=> %136 =>
:: ::
:::: 0: version stub ::
:: ::
~% %k.137 ~ ~ ::
~% %k.136 ~ ~ ::
|%
++ hoon-version +
-- =>
Expand Down Expand Up @@ -6013,14 +6013,14 @@
++ mack
|= [sub=* fol=*]
^- (unit)
=/ ton (mink [sub fol] |~(^ ~))
=/ ton (mink [sub fol] ~)
?.(?=(%0 -.ton) ~ `product.ton)
:: +mink: raw virtual nock
::
++ mink !.
~/ %mink
|= $: [subject=* formula=*]
scry=$-(^ (unit (unit)))
scry=$@(~ $-(^ (unit (unit))))
==
=| trace=(list [@ta *])
|^ ^- tone
Expand Down Expand Up @@ -6139,7 +6139,9 @@
?. ?=(%0 -.ref) ref
=/ path $(formula path.formula)
?. ?=(%0 -.path) path
=/ result (scry product.ref product.path)
=/ result
?~ scry ~
(scry product.ref product.path)
?~ result
[%1 product.path]
?~ u.result
Expand Down Expand Up @@ -11452,6 +11454,14 @@
=+ gun=(~(mint ut p.vax) %noun gen)
[p.gun .*(q.vax q.gun)]
::
++ slub
|= [vax=vase gen=hoon] ^- vase :: memoized slap
=/ gun
=> [vax=p=p.vax gen=gen ut=ut]
~> %memo./hoon/mint
(~(mint ut p.vax) %noun gen)
[p.gun .*(q.vax q.gun)]
::
++ slog :: deify printf
=| pri=@ :: priority level
|= a=tang ^+ same :: .= ~&(%a 1)
Expand Down
2 changes: 1 addition & 1 deletion pkg/arvo/sys/lull.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
=> ..part
~% %lull ..part ~
|%
++ lull %322
++ lull %321
:: :: ::
:::: :: :: (1) models
:: :: ::
Expand Down
Loading