on master help sign in
Merge pull request #779 from urbit/dk-glossary-updates

added new hoon terms to the glossary

commitc200197fd9a32fd84700cbd32fdf9689c5488e2f authorDavid Kerschner <david@tlon.io> dateThu 23 Jan 2020, 11:48 (7 years ago) parentc53c42afce4fda
7 files changed+98
glossary/arm.md+14 glossary/battery.md+14 glossary/core.md+14 glossary/door.md+14 glossary/gate.md+14 glossary/payload.md+14 glossary/trap.md+14
glossary/arm.mdnew file+14
@@ -0,0 +1,14 @@
1++++
2+title = "Arm"
3+
4+template = "doc.html"
5+[extra]
6+category = "hoon-nock"
7++++
8+
9+An **arm** is a Hoon expression encoded as a noun. You can find them as part of a [core](../core)
10+
11+### Further Reading
12+
13+- [The Hoon Tutorial](@/docs/tutorials/hoon/_index.md): Our guide to learning the Hoon programming language.
14+ - [Lesson 1.7: Arms and Cores](@/docs/tutorials/hoon/arms-and-cores.md): A Hoon Tutorial lesson that discusses cores.
glossary/battery.mdnew file+14
@@ -0,0 +1,14 @@
1++++
2+title = "Battery"
3+
4+template = "doc.html"
5+[extra]
6+category = "hoon-nock"
7++++
8+
9+A **battery** is a collection of Hoon expressions and the head of a [core](../core).
10+
11+### Further Reading
12+
13+- [The Hoon Tutorial](@/docs/tutorials/hoon/_index.md): Our guide to learning the Hoon programming language.
14+ - [Lesson 1.7: Arms and Cores](@/docs/tutorials/hoon/arms-and-cores.md): A Hoon Tutorial lesson that discusses cores.
glossary/core.mdnew file+14
@@ -0,0 +1,14 @@
1++++
2+title = "Core"
3+
4+template = "doc.html"
5+[extra]
6+category = "hoon-nock"
7++++
8+
9+A **core** is a cell of a [battery](../battery) and a [payload](../payload). It is a Hoon construct similar in use to Objects in Object Oriented programming languages.
10+
11+### Further Reading
12+
13+- [The Hoon Tutorial](@/docs/tutorials/hoon/_index.md): Our guide to learning the Hoon programming language.
14+ - [Lesson 1.7: Arms and Cores](@/docs/tutorials/hoon/arms-and-cores.md): A Hoon Tutorial lesson that discusses cores.
glossary/door.mdnew file+14
@@ -0,0 +1,14 @@
1++++
2+title = "Door"
3+
4+template = "doc.html"
5+[extra]
6+category = "hoon-nock"
7++++
8+
9+A **door** is a [core](../core) the payload of which is a cell of sample and context.
10+
11+### Further Reading
12+
13+- [The Hoon Tutorial](@/docs/tutorials/hoon/_index.md): Our guide to learning the Hoon programming language.
14+ - [Lesson 1.8: Doors](@/docs/tutorials/hoon/doors.md): A Hoon Tutorial lesson that discusses doors.
glossary/gate.mdnew file+14
@@ -0,0 +1,14 @@
1++++
2+title = "Gate"
3+
4+template = "doc.html"
5+[extra]
6+category = "hoon-nock"
7++++
8+
9+A **gate** is [core](../core) with one [arm](../arm) named $. They are often called Hoon Functions because they have many of the same properties of functions from other programming languages.
10+
11+### Further Reading
12+
13+- [The Hoon Tutorial](@/docs/tutorials/hoon/_index.md): Our guide to learning the Hoon programming language.
14+- [Lesson 1.4 Gates](@/docs/tutorials/hoon/gates.md): A Hoon tutorial lesson about gates.
glossary/payload.mdnew file+14
@@ -0,0 +1,14 @@
1++++
2+title = "Payload"
3+
4+template = "doc.html"
5+[extra]
6+category = "hoon-nock"
7++++
8+
9+A **payload** is the set of data needed to run computations in a [core](../core)
10+
11+### Further Reading
12+
13+- [The Hoon Tutorial](@/docs/tutorials/hoon/_index.md): Our guide to learning the Hoon programming language.
14+ - [Lesson 1.7: Arms and Cores](@/docs/tutorials/hoon/arms-and-cores.md): A Hoon Tutorial lesson that discusses cores.
glossary/trap.mdnew file+14
@@ -0,0 +1,14 @@
1++++
2+title = "Trap"
3+
4+template = "doc.html"
5+[extra]
6+category = "hoon-nock"
7++++
8+
9+A **trap** is a [core](../core) with one arm named $ and no sample. They are often used in similar ways to looping structures in other programming languages.
10+
11+### Further Reading
12+
13+- [The Hoon Tutorial](@/docs/tutorials/hoon/_index.md): Our guide to learning the Hoon programming language.
14+ - [Lesson 1.4.1: Walkthrough: Recursion](@/docs/tutorials/hoon/recursion.md): A Hoon Tutorial lesson that uses traps to build recursive functions.