5d: Parser
+vang
+vangSet +vast parameters.
Source
++ vang :: set ++vast params
|= [bug=? wer=path] :: bug: debug mode
%*(. vast bug bug, wer wer) :: wer: where we are+vast
+vastMain parsing core.
Source
This core is too large to include here, please refer to hoon.hoon for the source.
+vest
+vestParse Hoon.
Parsing $rule. Parse Hoon of any form.
Source
Examples
+vice
+viceParse wide-form Hoon.
Parse .txt, a $knot containing wide-form Hoon, to $hoon.
Accepts
.t is a @ta.
Produces
$hoon.
Source
Examples
+make
+makeCompile $cord to Nock.
Compile .txt, an $atom containing Hoon source code as little-endian UTF-8 text, to $nock.
Accepts
.t is a @.
Produces
$nock.
Source
Examples
+rain
+rainParse with % path.
Parse .txt, an $atom containing Hoon source code as little-endian UTF-8 text, to $hoon. Any % path short-hands are replaced with the path given in .bon. If parsing fails, .n is also printed to the terminal.
Accepts
.n is a $path.
.t is an $atom.
Produces
$hoon.
Source
Examples
+ream
+reamParse $cord to Hoon.
Parse .txt, an $atom containing Hoon source code as little-endian UTF-8 text, to $hoon.
Accepts
.t is an $atom.
Produces
$hoon.
Source
Examples
+reck
+reckParse Hoon file.
Parse .n to $hoon. .n is a $path to a .hoon file without the mark.
Accepts
.n is a $path.
Produces
$hoon.
Source
Examples
+ride
+rideEnd-to-end compiler.
Parse and compile $cord .txt, producing a pair of its $type and compiled $nock. The .p argument specifies the $type of the subject.
Accepts
.p is a $type
.t is an $atom.
Produces
A (pair type nock).
Source
Examples
Last updated