|
|
|
|
|
by MFLoon
2256 days ago
|
|
Was just perusing the Hoon tutorial out of curiosity, and it's wild how alien of a language it is. To my eyes it's like a bastard child of brainfuck and common lisp; look at the "simple Hoon program" they give in section 1.1 as your first introduction to Hoon code https://urbit.org/docs/tutorials/hoon/list-of-numbers/ Also, the interpreter won't parse integer literals without thousands separators (which are periods). JackieChanMindBlown.png |
|
Keywords are RUNES and RUNES have CHILDREN, CHILDREN can be RUNES and the programs chains the RUNES until there are no CHILDREN. Functions are GATES and tuples are CELLS and you run programs as GENERATORS from your SHIP's DOJO.