mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 06:58:16 +03:00
hoon: remove += and +- arm syntax
This commit is contained in:
parent
7a55cb39ed
commit
194e8ae440
@ -18,7 +18,7 @@
|
|||||||
:: pif: parent fingerprint (4 bytes)
|
:: pif: parent fingerprint (4 bytes)
|
||||||
|_ [prv=@ pub=point.ecc cad=@ dep=@ud ind=@ud pif=@]
|
|_ [prv=@ pub=point.ecc cad=@ dep=@ud ind=@ud pif=@]
|
||||||
::
|
::
|
||||||
+= keyc [key=@ cai=@] :: prv/pub key + chain code
|
+$ keyc [key=@ cai=@] :: prv/pub key + chain code
|
||||||
::
|
::
|
||||||
:: elliptic curve operations and values
|
:: elliptic curve operations and values
|
||||||
::
|
::
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|%
|
|%
|
||||||
:: +key:rsa: rsa public or private key
|
:: +key:rsa: rsa public or private key
|
||||||
::
|
::
|
||||||
+= key
|
+$ key
|
||||||
$: :: pub: public parameters (n=modulus, e=pub-exponent)
|
$: :: pub: public parameters (n=modulus, e=pub-exponent)
|
||||||
::
|
::
|
||||||
pub=[n=@ux e=@ux]
|
pub=[n=@ux e=@ux]
|
||||||
|
@ -9,14 +9,14 @@
|
|||||||
::
|
::
|
||||||
:: Note that *explicit* implies *constructed* (ie, bit 5 is set in DER).
|
:: Note that *explicit* implies *constructed* (ie, bit 5 is set in DER).
|
||||||
::
|
::
|
||||||
+= bespoke
|
+$ bespoke
|
||||||
:: imp: & is implicit, | is explicit
|
:: imp: & is implicit, | is explicit
|
||||||
:: tag: 5 bits for the custom tag number
|
:: tag: 5 bits for the custom tag number
|
||||||
::
|
::
|
||||||
[imp=? tag=@ud]
|
[imp=? tag=@ud]
|
||||||
:: +spec:asn1: minimal representations of basic ASN.1 types
|
:: +spec:asn1: minimal representations of basic ASN.1 types
|
||||||
::
|
::
|
||||||
+= spec
|
+$ spec
|
||||||
$% :: %int: arbitrary-sized, unsigned integers
|
$% :: %int: arbitrary-sized, unsigned integers
|
||||||
::
|
::
|
||||||
:: Unsigned integers, represented as having a positive sign.
|
:: Unsigned integers, represented as having a positive sign.
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
|%
|
|%
|
||||||
+= revision @ud
|
+$ revision @ud
|
||||||
+= nodetype tape
|
+$ nodetype tape
|
||||||
+= mnemonic tape
|
+$ mnemonic tape
|
||||||
::
|
::
|
||||||
+= vault
|
+$ vault
|
||||||
$: ownership=node
|
$: ownership=node
|
||||||
voting=node
|
voting=node
|
||||||
management=node
|
management=node
|
||||||
@ -12,12 +12,12 @@
|
|||||||
network=uode
|
network=uode
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
+= node [type=nodetype seed=mnemonic keys=wallet]
|
+$ node [type=nodetype seed=mnemonic keys=wallet]
|
||||||
+= uode [revi=revision seed=@ux keys=edkeys]
|
+$ uode [revi=revision seed=@ux keys=edkeys]
|
||||||
::
|
::
|
||||||
+= wallet [keys=[public=@ux private=@ux] addr=@ux chain=@ux]
|
+$ wallet [keys=[public=@ux private=@ux] addr=@ux chain=@ux]
|
||||||
::
|
::
|
||||||
+= edkeys [auth=keypair crypt=keypair]
|
+$ edkeys [auth=keypair crypt=keypair]
|
||||||
::
|
::
|
||||||
+= keypair [public=@ux secret=@ux]
|
+$ keypair [public=@ux secret=@ux]
|
||||||
--
|
--
|
||||||
|
@ -12642,11 +12642,11 @@
|
|||||||
::
|
::
|
||||||
(stag %code (ifix [tic tic] (calf tic)))
|
(stag %code (ifix [tic tic] (calf tic)))
|
||||||
::
|
::
|
||||||
:: ++arm, +-arm, +$arm, +*arm, ++arm:core, ...
|
:: ++arm, +$arm, +*arm, ++arm:core, ...
|
||||||
::
|
::
|
||||||
%+ stag %code
|
%+ stag %code
|
||||||
;~ plug
|
;~ plug
|
||||||
lus ;~(pose lus hep buc tar)
|
lus ;~(pose lus buc tar)
|
||||||
low (star ;~(pose nud low hep col))
|
low (star ;~(pose nud low hep col))
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
@ -13375,10 +13375,7 @@
|
|||||||
++ boog !: :: core arms
|
++ boog !: :: core arms
|
||||||
%+ knee [p=*term q=*hoon] |. ~+
|
%+ knee [p=*term q=*hoon] |. ~+
|
||||||
;~ pose
|
;~ pose
|
||||||
;~ pfix ;~ pose
|
;~ pfix (jest '++')
|
||||||
(jest '++')
|
|
||||||
(jest '+-') :: XX deprecated
|
|
||||||
==
|
|
||||||
;~ plug
|
;~ plug
|
||||||
;~(pfix gap ;~(pose (cold %$ buc) sym))
|
;~(pfix gap ;~(pose (cold %$ buc) sym))
|
||||||
;~(pfix gap loaf)
|
;~(pfix gap loaf)
|
||||||
@ -13388,7 +13385,7 @@
|
|||||||
%+ cook
|
%+ cook
|
||||||
|= {b/term d/spec}
|
|= {b/term d/spec}
|
||||||
[b [%ktcl [%name b d]]]
|
[b [%ktcl [%name b d]]]
|
||||||
;~ pfix ;~(pose (jest '+=') (jest '+$'))
|
;~ pfix (jest '+$')
|
||||||
;~ plug
|
;~ plug
|
||||||
;~(pfix gap sym)
|
;~(pfix gap sym)
|
||||||
;~(pfix gap loan)
|
;~(pfix gap loan)
|
||||||
|
@ -121,7 +121,7 @@
|
|||||||
++ address @ux
|
++ address @ux
|
||||||
:: event location
|
:: event location
|
||||||
::
|
::
|
||||||
+= event-id [block=@ud log=@ud]
|
+$ event-id [block=@ud log=@ud]
|
||||||
::
|
::
|
||||||
++ events (set event-id)
|
++ events (set event-id)
|
||||||
--
|
--
|
||||||
@ -161,7 +161,7 @@
|
|||||||
==
|
==
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
+= dnses [pri=@t sec=@t ter=@t]
|
+$ dnses [pri=@t sec=@t ter=@t]
|
||||||
::
|
::
|
||||||
++ diff-azimuth
|
++ diff-azimuth
|
||||||
$% [%point who=@p dif=diff-point]
|
$% [%point who=@p dif=diff-point]
|
||||||
@ -1575,7 +1575,7 @@
|
|||||||
:: Used on both the proxy (ward) and upstream sides for
|
:: Used on both the proxy (ward) and upstream sides for
|
||||||
:: sending/receiving proxied-request notifications.
|
:: sending/receiving proxied-request notifications.
|
||||||
::
|
::
|
||||||
+= prox
|
+$ prox
|
||||||
$: :: por: tcp port
|
$: :: por: tcp port
|
||||||
::
|
::
|
||||||
por=@ud
|
por=@ud
|
||||||
@ -1970,7 +1970,7 @@
|
|||||||
::
|
::
|
||||||
+$ seed [who=ship lyf=life key=ring sig=(unit oath:pki)]
|
+$ seed [who=ship lyf=life key=ring sig=(unit oath:pki)]
|
||||||
::
|
::
|
||||||
+= task :: in request ->$
|
+$ task :: in request ->$
|
||||||
$~ [%vega ~] ::
|
$~ [%vega ~] ::
|
||||||
$% [%dawn dawn-event] :: boot from keys
|
$% [%dawn dawn-event] :: boot from keys
|
||||||
[%fake =ship] :: fake boot
|
[%fake =ship] :: fake boot
|
||||||
@ -4218,9 +4218,9 @@
|
|||||||
as-octs=as-octs:mimes:html
|
as-octs=as-octs:mimes:html
|
||||||
~% %secp +< ~
|
~% %secp +< ~
|
||||||
|%
|
|%
|
||||||
+= jacobian [x=@ y=@ z=@] :: jacobian point
|
+$ jacobian [x=@ y=@ z=@] :: jacobian point
|
||||||
+= point [x=@ y=@] :: curve point
|
+$ point [x=@ y=@] :: curve point
|
||||||
+= domain
|
+$ domain
|
||||||
$: p=@ :: prime modulo
|
$: p=@ :: prime modulo
|
||||||
a=@ :: y^2=x^3+ax+b
|
a=@ :: y^2=x^3+ax+b
|
||||||
b=@ ::
|
b=@ ::
|
||||||
@ -4695,7 +4695,7 @@
|
|||||||
::
|
::
|
||||||
:: structures
|
:: structures
|
||||||
::
|
::
|
||||||
+= argon-type ?(%d %i %id %u)
|
+$ argon-type ?(%d %i %id %u)
|
||||||
::
|
::
|
||||||
:: shorthands
|
:: shorthands
|
||||||
::
|
::
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/- spider, graph=graph-store, *metadata-store, *group, group-store
|
/- spider, graph=graph-store, *metadata-store, *group, group-store
|
||||||
/+ strandio, resource, graph-view
|
/+ strandio, resource, graph-view
|
||||||
=>
|
=>
|
||||||
|%
|
|%
|
||||||
++ strand strand:spider
|
++ strand strand:spider
|
||||||
++ poke poke:strandio
|
++ poke poke:strandio
|
||||||
++ poke-our poke-our:strandio
|
++ poke-our poke-our:strandio
|
||||||
@ -11,7 +11,7 @@
|
|||||||
|= arg=vase
|
|= arg=vase
|
||||||
=/ m (strand ,vase)
|
=/ m (strand ,vase)
|
||||||
^- form:m
|
^- form:m
|
||||||
+= !<
|
=+ !<
|
||||||
[[rid=resource title=@t description=@t group=resource module=@t ~] ~]
|
[[rid=resource title=@t description=@t group=resource module=@t ~] ~]
|
||||||
arg
|
arg
|
||||||
;< =bowl:spider bind:m get-bowl:strandio
|
;< =bowl:spider bind:m get-bowl:strandio
|
||||||
|
Loading…
Reference in New Issue
Block a user