mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 23:44:56 +03:00
flow scry added, moved to lull
This commit is contained in:
parent
b125b48983
commit
9e9fdeb2c6
@ -885,6 +885,17 @@
|
||||
+$ norm (axal ?) :: tombstone policy
|
||||
+$ open $-(path vase) :: get prelude
|
||||
+$ page ^page :: export for compat
|
||||
+$ pour :: ford build w/content
|
||||
$% [%file =path]
|
||||
[%nave =mark]
|
||||
[%dais =mark]
|
||||
[%cast =mars]
|
||||
[%tube =mars]
|
||||
:: leafs
|
||||
::
|
||||
[%vale =path =lobe]
|
||||
[%arch =path =(map path lobe)]
|
||||
==
|
||||
+$ rang :: repository
|
||||
$: hut=(map tako yaki) :: changes
|
||||
lat=(map lobe page) :: data
|
||||
@ -919,6 +930,13 @@
|
||||
+$ rule [mod=?(%black %white) who=(set whom)] :: node permission
|
||||
+$ rump [p=care q=case r=@tas s=path] :: relative path
|
||||
+$ saba [p=ship q=@tas r=moar s=dome] :: patch+merge
|
||||
+$ soak :: ford result
|
||||
$% [%cage =cage]
|
||||
[%vase =vase]
|
||||
[%arch dir=(map @ta vase)]
|
||||
[%dais =dais]
|
||||
[%tube =tube]
|
||||
==
|
||||
+$ soba (list [p=path q=miso]) :: delta
|
||||
+$ suba (list [p=path q=misu]) :: delta
|
||||
+$ tako @uvI :: yaki ref
|
||||
@ -1058,6 +1076,31 @@
|
||||
%^ cat 7 (sham [%yaki (roll p add) q t])
|
||||
(sham [%tako (roll p add) q t])
|
||||
[p q has t]
|
||||
::
|
||||
:: $leak: ford cache key
|
||||
::
|
||||
:: This includes all build inputs, including transitive dependencies,
|
||||
:: recursively.
|
||||
::
|
||||
+$ leak
|
||||
$~ [*pour ~]
|
||||
$: =pour
|
||||
deps=(set leak)
|
||||
==
|
||||
::
|
||||
:: $flow: global ford cache
|
||||
::
|
||||
:: Refcount includes references from other items in the cache, and
|
||||
:: from spills in each desk
|
||||
::
|
||||
:: This is optimized for minimizing the number of rebuilds, and given
|
||||
:: that, minimizing the amount of memory used. It is relatively slow
|
||||
:: to lookup, because generating a cache key can be fairly slow (for
|
||||
:: files, it requires parsing; for tubes, it even requires building
|
||||
:: the marks).
|
||||
::
|
||||
+$ flow (map leak [refs=@ud =soak])
|
||||
::
|
||||
:: $pile: preprocessed hoon source file
|
||||
::
|
||||
:: /- sur-file :: surface imports from /sur
|
||||
|
@ -191,19 +191,6 @@
|
||||
[%1 peg=(unit page)]
|
||||
==
|
||||
::
|
||||
:: Global ford cache
|
||||
::
|
||||
:: Refcount includes references from other items in the cache, and
|
||||
:: from spills in each desk
|
||||
::
|
||||
:: This is optimized for minimizing the number of rebuilds, and given
|
||||
:: that, minimizing the amount of memory used. It is relatively slow
|
||||
:: to lookup, because generating a cache key can be fairly slow (for
|
||||
:: files, it requires parsing; for tubes, it even requires building
|
||||
:: the marks).
|
||||
::
|
||||
+$ flow (map leak [refs=@ud =soak])
|
||||
::
|
||||
:: Per-desk ford cache
|
||||
::
|
||||
:: Spill is the set of "roots" we have into the global ford cache.
|
||||
@ -228,41 +215,6 @@
|
||||
[%arch =path]
|
||||
==
|
||||
::
|
||||
:: Ford build with content.
|
||||
::
|
||||
+$ pour
|
||||
$% [%file =path]
|
||||
[%nave =mark]
|
||||
[%dais =mark]
|
||||
[%cast =mars]
|
||||
[%tube =mars]
|
||||
:: leafs
|
||||
::
|
||||
[%vale =path =lobe]
|
||||
[%arch =path =(map path lobe)]
|
||||
==
|
||||
::
|
||||
:: Ford result.
|
||||
::
|
||||
+$ soak
|
||||
$% [%cage =cage]
|
||||
[%vase =vase]
|
||||
[%arch dir=(map @ta vase)]
|
||||
[%dais =dais]
|
||||
[%tube =tube]
|
||||
==
|
||||
::
|
||||
:: Ford cache key
|
||||
::
|
||||
:: This includes all build inputs, including transitive dependencies,
|
||||
:: recursively.
|
||||
::
|
||||
+$ leak
|
||||
$~ [*pour ~]
|
||||
$: =pour
|
||||
deps=(set leak)
|
||||
==
|
||||
::
|
||||
:: New desk data.
|
||||
::
|
||||
:: Sent to other ships to update them about a particular desk.
|
||||
@ -5647,6 +5599,7 @@
|
||||
%sweep ``[%sweep !>(sweep)]
|
||||
%rang ``[%rang !>(ran.ruf)]
|
||||
%tomb ``[%flag !>((tomb t.path))]
|
||||
%flow ``[%flow !>(fad.ruf)]
|
||||
%domes domes
|
||||
%tire ``[%tire !>(tore:(lu now rof *duct ruf))]
|
||||
%tyre ``[%tyre !>(tyr.ruf)]
|
||||
|
Loading…
Reference in New Issue
Block a user