8Biblical names in hoon are primarily aliases for the compiler.
13 ++ abel typo :: original sin: type
29By convention, a short name for a category of atom. `++aura` is
30circularly defined, with `@ta` being the `++aura` of the ASCII subset
31commonly used in urbit.
36 ++ aura ,@ta :: atom format
41See also: `++base`, aura reference
54A Nock axis inside a noun. After the leading 1, in binary, a `1` signfies
60 ++ axis ,@ :: tree address
69 > :: 0 is not actually a valid axis
82A base type that nouns are built from. A `++base` is either a noun, cell,
83boolean or null labelled with an odor.
88 ++ base ?([%atom p=odor] %noun %cell %bean %null) :: axils, @ * ^ ? ~
98 [%tsbr p=[%axil p=%cell] q=[%zpzp ~]]
101 [%tsbr p=[%axil p=[%atom p=~.t]] q=[%zpzp ~]]
103 [%tsbr p=[%axil p=%bean] q=[%zpzp ~]]
112`0`, `&`, or `%.y` are true, and `1`, `|`, and `%.n` are false.
117 ++ bean ,? :: 0=&=yes, 1=|=no
139Used to build tapes internally.
144 ++ beer $|(@ [~ p=hoon]) :: simple embed
152 > `beer`[~ (ream 'lan')]
153 [~ p=[%cnzz p=~[%lan]]]
160XML interpolation cases
167 ++ beet $| @ :: advanced embed
168 $% [%a p=hoon] :: take tape
169 [%b p=hoon] :: take manx
170 [%c p=hoon] :: take marl
171 [%d p=hoon] :: take $+(marl marl)
172 [%e p=hoon q=(list tuna)] :: element literal
182Jet hint information that must be present in the body of a `~/` or `~%`
183rune. A `++chum` can optionally contain a kelvin version, jet vendor,
184and `"{major}.{minor}"` version number.
189 ++ chum $? lef=term :: jet name
190 [std=term kel=@] :: kelvin version
191 [ven=term pro=term kel=@] :: vendor and product
192 [ven=term pro=term ver=@ kel=@] :: all of the above
198XX there's a ++chum in zuse that's politely causing this not to work
204 > (ream '~/(%lob.314 !!)')
205 [%sgfs p=[std=%lob kel=314] q=[%zpzp ~]]
213Tuple of core information
215Variance `p`, subject type `q`, and `q`: optional compiled nock, and arms. Used as an
216intermediate step within Section 2fB. Converted by `++core` to %core type.
221 ++ coil $: p=?(%gold %iron %lead %zinc) :: core type
223 r=[p=?(~ ^) q=(map term foot)] ::
231Cases of arms by variance model.
233`%ash` arms are `dry` and geometric.
238 ++ foot $% [%ash p=hoon] :: dry arm, geometric
239 [%elm p=hoon] :: wet arm, generic
240 [%oak ~] :: XX not used
241 [%yew p=(map term foot)] :: XX not used
247See also: `++ap`, `++ut`
253 > (ream '|% ++ $ foo --')
254 [%brcn p={[p=%$ q=[%ash p=[%cnzz p=~[%foo]]]]}]
255 > +<+:(ream '|% ++ $ foo --')
257 > (foot +<+:(ream '|% ++ $ foo --'))
258 [%ash p=[%cnzz p=~[%foo]]]
259 > (foot +<+:(ream '|% +- $ foo --'))
260 [%elm p=[%cnzz p=~[%foo]]]
268 ++ limb $|(term $%([%& p=axis] [%| p=@ud q=term])) ::
273Reference into subject by name/axis
275See also: section 2fC-2fD
279 [%cnzz p=~[[%.n p=2 q=%$]]]
280 > (limb &2:(ream '^^$'))
282 > (limb &2:(ream '^^^$'))
295 ++ line ,[p=[%leaf p=odor q=@] q=tile] :: %kelp case
301 > (ream '$%([1 a] [%2 b])')
306 [ i=[p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
307 t=~[[p=[%leaf p=~.ud q=2] q=[%herb p=[%cnzz p=~[%b]]]]]
311 > &3:(ream '$%([1 a] [%2 b])')
312 p=[p=[%leaf p=%ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
313 > (line &3:(ream '$%([1 a] [%2 b])'))
314 [p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
322 ++ metl ?(%gold %iron %zinc %lead) :: core variance
335Virtual machine. See Nock.
341 ++ nock $& [p=nock q=nock] :: autocons
342 [%3 p=nock] :: cell test
343 [%4 p=nock] :: increment
344 [%5 p=nock q=nock] :: equality test
345 [%6 p=nock q=nock r=nock] :: if, then, else
346 [%7 p=nock q=nock] :: serial compose
347 [%8 p=nock q=nock] :: push onto subject
348 [%9 p=@ q=nock] :: select arm and fire
349 [%10 p=?(@ [p=@ q=nock]) q=nock] :: hint
350 [%11 p=nock] :: grab data from sky
359 > (nock !=([+(.) 20]))
360 [p=[%4 p=[%0 p=1]] q=[%1 p=20]]
369 ++ noun ,* :: any noun
385 ++ null ,~ :: null, nil, etc
403Type and location of core-shaped thing? XX Compiler Internals
411 [%| p=axis q=(list ,[p=type q=foot])] ::
420 [p=0 q=[%.y p=%void]]
430A restricted text atom for canonical atom syntaxes. The prefix is `~.`.
431There are no escape sequences except `~~`, which means `~`, and `~-`,
432which means `_`. `-` and `.` encode themselves. No other characters
433besides numbers and lowercase letters are permitted.
438 ++ span ,@ta :: text-atom (ASCII)
476A `++wing` or `++hoon`.
478 > (ream '=+ a=4 ?-(a @ ~)')
480 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
484 q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
487 > (ream '=+ a=4 ?-(4 @ ~)')
489 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
492 p=[%.n p=~ q=[%dtzy p=%ud q=4]]
493 q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
505A face, or tree of faces. A `++toga` is applied to anything assigned
508XX move to `++ut` and rune doc (for \^= examples)
513 ++ toga :: face control
514 [2 p=toga q=toga] :: cell toga
524 [%ktts p=p=%a q=[%dtzy p=%ud q=1]]
527 > (ream '[a b]=[1 2 3]')
530 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
535 > (ream '[a ~]=[1 2 3]')
537 p=[%2 p=p=%a q=[%0 ~]]
538 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
547Intermediate Nock computation result
549Similar to `++toon`, but stack trace is not yet rendered.
554 ++ tone $% [%0 p=*] :: success
560 > (mink [[20 21] 0 3] ,~)
563 > (mink [[0] !=(.^(cy//=main/1))] ,~)
564 [%1 p=~[[31.075 1.685.027.454 1.852.399.981 49 0]]]
565 > (path [31.075 1.685.027.454 1.852.399.981 49 0])
568 > (mink [[1 2] !=(~|(%hi +(.)))] ,~)
569 [%2 p=~[[~.yelp 26.984]]]
570 > (mink [[1 2] !=(!:(+(.)))] ,~)
577 \/159.445.990.350.374.058.574.398.238.344.143.957.205.628.479.572.65\/
604 [%d p=hoon] :: dynamic list
605 [%e p=hoon q=(list tuna)] :: element
606 [%f p=(list tuna)] :: subflow
612Leaf %a contains plain-text, %b an empty tag, %c a static list, %d a
613dynamic list, %e a full node element containing a hoon and a list of
614tuna, and %f is a empty node.
626List of `++hoon`s. In `:*`, for example, your contents is
632 ++ tusk (list hoon) ::
639 [%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
640 > (tusk +:(ream '[1 2 3]'))
641 ~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]
651An expression, or AST.
653See Rune section of Hoon reference
663List of `++unit` `++hoon`, or gaps left to be inferred, in `++path`
664parsing. When you use a path such as `/=main=/pub/src/doc` the path is in fact
665a `++tyke`, where the `=` are inferred from your current path.
671 ++ tyke (list (unit hoon)) ::
677 > (scan "/==as=" porc:vast)
678 [0 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]]
679 > `tyke`+:(scan "/==as=" porc:vast)
680 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]
690Pointer for `++type`. `++typo` preserves the previous `++type` in your
696 ++ typo type :: old type
701See also: `++seem`, `++vise`, `++type`
711Associative list of `++term` `++hoon`, used in jet hint processing.
716 ++ tyre (list ,[p=term q=hoon]) ::
724Typed data. A `++vase` is used wherever typed data is explicitly worked
730 ++ vase ,[p=type q=*] :: type-value pair
737 [p=[%cube p=0 q=[%atom p=%n]] q=0]
747Used to convert from previously-typed data during reboot.
752 ++ vise ,[p=typo q=*] :: old vase
757See also: `++typo`, `++seer`
766 ++ wing (list limb) ::
769Address in subject. A `++wing` is a path to a value in the subject. A
770term alone is the trivial case of a `++wing`.
776 [%cnzz p=~[%a [%.y p=3] %c]]
777 > (wing +:(ream 'a.+.c'))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list