9Biblical names in hoon are primarily aliases for the compiler.
14 ++ abel typo :: original sin: type
30By convention, a short name for a category of atom. `++aura` is
31circularly defined, with `@ta` being the `++aura` of the ASCII subset
32commonly used in urbit.
37 ++ aura ,@ta :: atom format
42See also: `++base`, aura reference
55A Nock axis inside a noun. After the leading 1, in binary, a `1` signfies
61 ++ axis ,@ :: tree address
70 > :: 0 is not actually a valid axis
83A base type that nouns are built from. A `++base` is either a noun, cell,
84boolean or null labelled with an aura.
89 ++ base ?([%atom p=aura] %noun %cell %bean %null) :: axils, @ * ^ ? ~
99 [%tsbr p=[%axil p=%cell] q=[%zpzp ~]]
102 [%tsbr p=[%axil p=[%atom p=~.t]] q=[%zpzp ~]]
104 [%tsbr p=[%axil p=%bean] q=[%zpzp ~]]
113`0`, `&`, or `%.y` are true, and `1`, `|`, and `%.n` are false.
118 ++ bean ,? :: 0=&=yes, 1=|=no
140Used to build tapes internally.
145 ++ beer $|(@ [~ p=hoon]) :: simple embed
153 > `beer`[~ (ream 'lan')]
154 [~ p=[%cnzz p=~[%lan]]]
161XML interpolation cases
168 ++ beet $| @ :: advanced embed
169 $% [%a p=hoon] :: take tape
170 [%b p=hoon] :: take manx
171 [%c p=hoon] :: take marl
172 [%d p=hoon] :: take $+(marl marl)
173 [%e p=hoon q=(list tuna)] :: element literal
183Jet hint information that must be present in the body of a `~/` or `~%`
184rune. A `++chum` can optionally contain a kelvin version, jet vendor,
185and `"{major}.{minor}"` version number.
190 ++ chum $? lef=term :: jet name
191 [std=term kel=@] :: kelvin version
192 [ven=term pro=term kel=@] :: vendor and product
193 [ven=term pro=term ver=@ kel=@] :: all of the above
199XX there's a ++chum in zuse that's politely causing this not to work
205 > (ream '~/(%lob.314 !!)')
206 [%sgfs p=[std=%lob kel=314] q=[%zpzp ~]]
214Tuple of core information
216Variance `p`, subject type `q`, and `q`: optional compiled nock, and arms. Used as an
217intermediate step within Section 2fB. Converted by `++core` to %core type.
222 ++ coil $: p=?(%gold %iron %lead %zinc) :: core type
224 r=[p=?(~ ^) q=(map term foot)] ::
232Cases of arms by variance model.
234`%ash` arms are `dry` and geometric.
239 ++ foot $% [%ash p=hoon] :: dry arm, geometric
240 [%elm p=hoon] :: wet arm, generic
241 [%oak ~] :: XX not used
242 [%yew p=(map term foot)] :: XX not used
248See also: `++ap`, `++ut`
254 > (ream '|% ++ $ foo --')
255 [%brcn p={[p=%$ q=[%ash p=[%cnzz p=~[%foo]]]]}]
256 > +<+:(ream '|% ++ $ foo --')
258 > (foot +<+:(ream '|% ++ $ foo --'))
259 [%ash p=[%cnzz p=~[%foo]]]
260 > (foot +<+:(ream '|% +- $ foo --'))
261 [%elm p=[%cnzz p=~[%foo]]]
269 ++ limb $|(term $%([%& p=axis] [%| p=@ud q=term])) ::
274Reference into subject by name/axis
276See also: section 2fC-2fD
280 [%cnzz p=~[[%.n p=2 q=%$]]]
281 > (limb &2:(ream '^^$'))
283 > (limb &2:(ream '^^^$'))
296 ++ line ,[p=[%leaf p=aura q=@] q=tile] :: %kelp case
302 > (ream '$%([1 a] [%2 b])')
307 [ i=[p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
308 t=~[[p=[%leaf p=~.ud q=2] q=[%herb p=[%cnzz p=~[%b]]]]]
312 > &3:(ream '$%([1 a] [%2 b])')
313 p=[p=[%leaf p=%ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
314 > (line &3:(ream '$%([1 a] [%2 b])'))
315 [p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
323 ++ metl ?(%gold %iron %zinc %lead) :: core variance
336Virtual machine. See Nock.
342 ++ nock $& [p=nock q=nock] :: autocons
343 [%3 p=nock] :: cell test
344 [%4 p=nock] :: increment
345 [%5 p=nock q=nock] :: equality test
346 [%6 p=nock q=nock r=nock] :: if, then, else
347 [%7 p=nock q=nock] :: serial compose
348 [%8 p=nock q=nock] :: push onto subject
349 [%9 p=@ q=nock] :: select arm and fire
350 [%10 p=?(@ [p=@ q=nock]) q=nock] :: hint
351 [%11 p=nock] :: grab data from sky
360 > (nock !=([+(.) 20]))
361 [p=[%4 p=[%0 p=1]] q=[%1 p=20]]
370 ++ noun ,* :: any noun
386 ++ null ,~ :: null, nil, etc
404Type and location of core-shaped thing? XX Compiler Internals
412 [%| p=axis q=(list ,[p=type q=foot])] ::
421 [p=0 q=[%.y p=%void]]
431A restricted text atom for canonical atom syntaxes. The prefix is `~.`.
432There are no escape sequences except `~~`, which means `~`, and `~-`,
433which means `_`. `-` and `.` encode themselves. No other characters
434besides numbers and lowercase letters are permitted.
439 ++ span ,@ta :: text-atom (ASCII)
477A `++wing` or `++hoon`.
479 > (ream '=+ a=4 ?-(a @ ~)')
481 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
485 q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
488 > (ream '=+ a=4 ?-(4 @ ~)')
490 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
493 p=[%.n p=~ q=[%dtzy p=%ud q=4]]
494 q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
506A face, or tree of faces. A `++toga` is applied to anything assigned
509XX move to `++ut` and rune doc (for \^= examples)
514 ++ toga :: face control
515 [2 p=toga q=toga] :: cell toga
525 [%ktts p=p=%a q=[%dtzy p=%ud q=1]]
528 > (ream '[a b]=[1 2 3]')
531 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
536 > (ream '[a ~]=[1 2 3]')
538 p=[%2 p=p=%a q=[%0 ~]]
539 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
548Intermediate Nock computation result
550Similar to `++toon`, but stack trace is not yet rendered.
555 ++ tone $% [%0 p=*] :: success
561 > (mink [[20 21] 0 3] ,~)
564 > (mink [[0] !=(.^(cy//=main/1))] ,~)
565 [%1 p=~[[31.075 1.685.027.454 1.852.399.981 49 0]]]
566 > (path [31.075 1.685.027.454 1.852.399.981 49 0])
569 > (mink [[1 2] !=(~|(%hi +(.)))] ,~)
570 [%2 p=~[[~.yelp 26.984]]]
571 > (mink [[1 2] !=(!:(+(.)))] ,~)
578 \/159.445.990.350.374.058.574.398.238.344.143.957.205.628.479.572.65\/
605 [%d p=hoon] :: dynamic list
606 [%e p=hoon q=(list tuna)] :: element
607 [%f p=(list tuna)] :: subflow
613Leaf %a contains plain-text, %b an empty tag, %c a static list, %d a
614dynamic list, %e a full node element containing a hoon and a list of
615tuna, and %f is a empty node.
627List of `++hoon`s. In `:*`, for example, your contents is
633 ++ tusk (list hoon) ::
640 [%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
641 > (tusk +:(ream '[1 2 3]'))
642 ~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]
652An expression, or AST.
654See Rune section of Hoon reference
664List of `++unit` `++hoon`, or gaps left to be inferred, in `++path`
665parsing. When you use a path such as `/=main=/pub/src/doc` the path is in fact
666a `++tyke`, where the `=` are inferred from your current path.
672 ++ tyke (list (unit hoon)) ::
678 > (scan "/==as=" porc:vast)
679 [0 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]]
680 > `tyke`+:(scan "/==as=" porc:vast)
681 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]
691Pointer for `++type`. `++typo` preserves the previous `++type` in your
697 ++ typo type :: old type
702See also: `++seem`, `++vise`, `++type`
712Associative list of `++term` `++hoon`, used in jet hint processing.
717 ++ tyre (list ,[p=term q=hoon]) ::
725Typed data. A `++vase` is used wherever typed data is explicitly worked
731 ++ vase ,[p=type q=*] :: type-value pair
738 [p=[%cube p=0 q=[%atom p=%n]] q=0]
748Used to convert from previously-typed data during reboot.
753 ++ vise ,[p=typo q=*] :: old vase
758See also: `++typo`, `++seer`
767 ++ wing (list limb) ::
770Address in subject. A `++wing` is a path to a value in the subject. A
771term alone is the trivial case of a `++wing`.
777 [%cnzz p=~[%a [%.y p=3] %c]]
778 > (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