on master help sign in
Merge pull request #564 from 0x70b1a5/patch-1
b744f08rmariani
learn/hoon/hoon-tutorial/hoon-syntax.md+4−4
@@ -6,9 +6,9 @@ template = "doc.html"
6
6
7The study of Hoon can be divided into two parts: syntax and semantics.
7The study of Hoon can be divided into two parts: syntax and semantics.
8
8
9−The [syntax](https://en.wikipedia.org/wiki/Syntax_%28programming_languages%29) of a programming language is the set of rules that determine what counts as admissible code in that language. It determines which characters may be used in the source, and also how these characters may be assembled to constitute a program. Attempting to run a program that doesn't follow these rules will result in a syntax error.
9+The [syntax](https://en.wikipedia.org/wiki/Syntax_%28programming_languages%29 ) of a programming language is the set of rules that determine what counts as admissible code in that language. It determines which characters may be used in the source, and also how these characters may be assembled to constitute a program. Attempting to run a program that doesn't follow these rules will result in a syntax error.
10
10
11−The [semantics](https://en.wikipedia.org/wiki/Semantics_%28computer_science%29) of a programming language concerns the meaning of the various parts of that language's code.
11+The [semantics](https://en.wikipedia.org/wiki/Semantics_%28computer_science%29 ) of a programming language concerns the meaning of the various parts of that language's code.
12
12
13In this lesson we will give a general overview of Hoon's syntax. By the end of it, you should be familiar with all the basic elements of Hoon code.
13In this lesson we will give a general overview of Hoon's syntax. By the end of it, you should be familiar with all the basic elements of Hoon code.
14
14
@@ -52,7 +52,7 @@ Note that the list includes two separate whitespace forms: `ace` for a single sp
52
52
53## Expressions of Hoon
53## Expressions of Hoon
54
54
55−An [expression](https://en.wikipedia.org/wiki/Expression_%28computer_science%29) is a combination of characters that the language interprets and evaluates as producing a value. Hoon programs are made up entirely of expressions.
55+An [expression](https://en.wikipedia.org/wiki/Expression_%28computer_science%29 ) is a combination of characters that the language interprets and evaluates as producing a value. Hoon programs are made up entirely of expressions.
56
56
57Hoon expressions can be either basic or complex. Basic expressions of Hoon are fundamental, meaning that they can't be broken down into smaller expressions. Complex expressions are made up of smaller expressions (which are called **subexpressions**).
57Hoon expressions can be either basic or complex. Basic expressions of Hoon are fundamental, meaning that they can't be broken down into smaller expressions. Complex expressions are made up of smaller expressions (which are called **subexpressions**).
58
58
@@ -62,7 +62,7 @@ There are many categories of Hoon expressions: noun literals, wing expressions,
62
62
63A noun is either an atom or a cell. An atom is an unsigned integer and a cell is a pair of nouns.
63A noun is either an atom or a cell. An atom is an unsigned integer and a cell is a pair of nouns.
64
64
65−There are [literal](https://en.wikipedia.org/wiki/Literal_%28computer_programming%29) expressions for each kind of noun. A noun literal is just a notation for representing a fixed noun value.
65+There are [literal](https://en.wikipedia.org/wiki/Literal_%28computer_programming%29 ) expressions for each kind of noun. A noun literal is just a notation for representing a fixed noun value.
66
66
67We start with atom literals. Each of these is a basic expression of Hoon that evaluates to itself. Examples:
67We start with atom literals. Each of these is a basic expression of Hoon that evaluates to itself. Examples:
68
68