14++ vang :: set ++vast params
15 |= [bug=? wer=path] :: bug: debug mode
16 %*(. vast bug bug, wer wer) :: wer: where we are
27This core is too large to include here, please refer to `hoon.hoon` for the
36Parsing `rule`. Parse hoon of any form.
47 (ifix [gay gay] tall:vast)
53> (rash '(add 1 1)' vest)
54[%cncl p=[%wing p=~[%add]] q=~[[%sand p=%ud q=1] [%sand p=%ud q=1]]]
56> (rash '%+ add\0a 1\0a1' vest)
57[%cnls p=[%wing p=~[%add]] q=[%sand p=%ud q=1] r=[%sand p=%ud q=1]]
66Parse `txt`, a `knot` containing wide-form hoon, to `hoon`.
89[%cncl p=[%wing p=~[%add]] q=~[[%sand p=%ud q=1] [%sand p=%ud q=1]]]
91> (vice '%+ add\0a 1\0a1')
102Compile `txt`, an `atom` containing hoon source code as little-endian UTF-8
118 q:(~(mint ut %noun) %noun (ream txt))
125[p=[%0 p=1] q=[p=[%0 p=1] q=[%0 p=1]]]
127> .*(42 (make '[. . .]'))
137Parse `txt`, an `atom` containing hoon source code as little-endian UTF-8 text,
138to `hoon`. Any `%` path short-hands are replaced with the path given in `bon`.
139If parsing fails, `bon` is also printed to the terminal.
159 (scan (trip txt) (full (ifix [gay gay] tall:vaz(wer bon))))
166[%clsg p=~[[%sand p=%ta q=97] [%sand p=%ta q=98] [%sand p=%ta q=99]]]
168> !<(path (slap !>(~) (rain /a/b/c '%')))
171> (rain / '(add 1 1)')
172[%cncl p=[%wing p=~[%add]] q=~[[%sand p=%ud q=1] [%sand p=%ud q=1]]]
174> !<(@ud (slap !>(add=add) (rain / '(add 1 1)')))
184Parse `txt`, an `atom` containing hoon source code as little-endian UTF-8 text,
207> !<(tape (slap !>(~) (ream '"foobar"')))
217Parse `bon` to `hoon`. `bon` is a `path` to a .hoon file without the mark.
232 (rain bon .^(@t %cx (weld bon `path`[%hoon ~])))
240 p=[%rock p=%tas q=7.954.803]
250 [%bcts p=term=%now q=[%base p=[%atom p=~.da]]]
252......(truncated for brevity)..........
261Parse and compile cord `txt`, producing a pair of its `type` and compiled
262`nock`. The `typ` argument specifies the `type` of the subject.
280 ~> %slog.[0 leaf/"ride: parsing"]
282 ~> %slog.[0 leaf/"ride: compiling"]
283 ~< %slog.[0 leaf/"ride: compiled"]
284 (~(mint ut typ) %noun gen)
293> (ride -:!>(.) '(add 2 2)')
297 p=[%9 p=36 q=[%0 p=1.023]]
306 [ p=[%7 p=[%0 p=3] q=[%1 p=2]]
307 q=[%7 p=[%0 p=3] q=[%1 p=2]]
318> (ride %noun '(add 2 2)')
320dojo: hoon expression failed
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