9The dojo is a typed functional shell.
11(Goals of a REPL+IFTTT, hood)
15Evaluate a hoon expression:
17 ~fintud-macrep:dojo> (add 2 2)
18 ~fintud-macrep:dojo> %+ add 2 2
20Tall form Hoon will be prompted for:
22 ~fintud-macrep:dojo> %+ add
23 ~fintud-macrep:dojo< 2
24 ~fintud-macrep:dojo< 2
26Use `=var` to save a shell variable:
28 ~fintud-macrep:dojo> =foo (add 2 2)
30Generators (files in `/gen`) are run with `+`:
32 ~fintud-macrep:dojo> +hello 'world'
34Save output to a file in `%clay` with `*`:
36 ~fintud-macrep:dojo> *foo/bar/hoon 'hello world'
38A system command to `:hood` using `|`:
40 ~fintud-macrep:dojo> |reload %eyre
52Send a poke message to `:square` as an `atom` mark:
54 ~fintud-macrep:dojo> :~fintud-macrep/square &atom (add 2 2)
56### `.` download to Unix
58Download a noun to Unix with `.`:
60 ~fintud-macrep:dojo> .foo/bar/baz (add 2 2)
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