11. restores a single, top-level Arvo formal interface gate

This commit is contained in:
Joe Bryan 2018-12-06 15:32:42 -05:00
parent f51b51862b
commit b1d8207863

View File

@ -4,6 +4,18 @@
~> %slog.[0 leaf+"%arvo-assembly"]
=- ~> %slog.[0 leaf+"%arvo-assembled"]
-
=< ::
:: Arvo formal interface
::
:: this lifecycle wrapper makes the arvo door (multi-armed core)
:: look like a gate (function or single-armed core), to fit
:: urbit's formal lifecycle function. a practical interpreter
:: can ignore it.
::
|= [now=@da ovo=*]
^- *
~> %slog.[0 leaf+"arvo-event"]
.(+> +:(poke now ovo))
:::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::: :::::: volume 3, Arvo models and skeleton ::::::
:::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::
@ -515,16 +527,6 @@
:: For convenience, this larval stage also supports hoon compilation
:: with +wish and vane installation with the %veer event.
::
=< :: larval Arvo formal interface
::
:: See the Arvo formal interface below for context.
::
|= [now=@da ovo=*]
^- *
~> %slog.[0 leaf+"larvo-event"]
.(+> +:(poke now ovo))
:: larval Arvo state
::
=/ pit=vase !>(..is)
=| $: :: who: our identity once we know it
:: eny: entropy once we learn it
@ -592,18 +594,6 @@
q:(slap ?~(bod pit u.bod) (ream txt))
--
::
=< :: Arvo formal interface
::
:: this lifecycle wrapper makes the arvo door (multi-armed core)
:: look like a gate (function or single-armed core), to fit
:: urbit's formal lifecycle function. a practical interpreter
:: can ignore it.
::
|= [now=@da ovo=*]
^- *
~> %slog.[0 leaf+"arvo-event"]
.(+> +:(poke now ovo))
::
:: persistent arvo state
::
=/ pit=vase !>(..is) ::