on master help sign in
Fixed typos and bad link encoding
commitfb9203f14e2958fc37fa1da5829b449b59eee57c authorfrancescanarea <francesca@narea.com> dateFri 28 Jun 2019, 16:59 (7 years ago) parent2903920
4 files changed+7−7
learn/hoon/hoon-tutorial/hoon-syntax.md+3−3 learn/hoon/hoon-tutorial/list-of-numbers.md+1−1 using/filesystem.md+2−2 using/sail-and-udon.md+1−1
learn/hoon/hoon-tutorial/hoon-syntax.md+3−3
@@ -6,15 +6,15 @@ template = "doc.html"
66
77The study of Hoon can be divided into two parts: syntax and semantics.
88
9−The [syntax](https://en.wikipedia.org/wiki/Syntax_(programming_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.
1010
11−The [semantics](https://en.wikipedia.org/wiki/Semantics_(computer_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.
1212
1313In 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.
1414
1515## Hoon Characters
1616
17−Hoon source files are composed almost entirely of the [printable ASCII characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). Hoon does not accept any other characters in source files except for [UTF-8](https://en.wikipedia.org/wiki/UTF-8) in quoted strings. Hard tab characters are illegal; use two spaces instead.
17+Hoon source files are composed almost entirely of the [printable ASCII characters](https://en.wikipedia.org/wiki/ASCII%23Printable_characters). Hoon does not accept any other characters in source files except for [UTF-8](https://en.wikipedia.org/wiki/UTF-8) in quoted strings. Hard tab characters are illegal; use two spaces instead.
1818
1919```
2020> "You can put ½ in quotes, but not elsewhere!"
learn/hoon/hoon-tutorial/list-of-numbers.md+1−1
@@ -3,7 +3,7 @@ title = "1.1.1 Walkthrough: List of Numbers"
33weight = 3
44template = "doc.html"
55+++
6−This code-example is intended to familiarize you with the basics of Hoon syntax. It's okay if you don't understand everything immediately; some concepts may beyond your grasp for now. What's important is that you become accustomed to the elements of the code and their look once combined into a valid program.
6+This code-example is intended to familiarize you with the basics of Hoon syntax. It's okay if you don't understand everything immediately; some concepts may be beyond your grasp for now. What's important is that you become accustomed to the elements of the code and their look once combined into a valid program.
77
88Below is a simple Hoon program that takes a single number `n` from the user as input and produces a list of numbers from `1` up to (but not including) `n`. So, if the user gives the number `5`, the program will produce: `~[1 2 3 4]`.
99
using/filesystem.md+2−2
@@ -15,7 +15,7 @@ pier directory.
1515## Quickstart
1616
1717This quick-start guide will walk you through some common commands. Follow along
18−using your Dojo. When you get a `>=` message after entering a command, the means
18+using your Dojo. When you get a `>=` message after entering a command, this means
1919that the command was successful.
2020
2121When developing it's a good idea to use a separate desk. Create a `%sandbox`
@@ -66,7 +66,7 @@ Let's see the contents of `/=sandbox=/web/md`:
6666~your-urbit:dojo> +cat /=sandbox=/web/md
6767```
6868
69−Now let's navigate to that folder using `=dir`, which is a like `cd` in Unix.
69+Now let's navigate to that folder using `=dir`, which is like `cd` in Unix.
7070
7171```
7272~your-urbit:dojo> =dir /=sandbox=/web/md
using/sail-and-udon.md+1−1
@@ -27,7 +27,7 @@ Before starting with either Sail or Udon, make sure that your ship is
2727
2828To host that output, your ship also has a web-server, called
2929[Eyre](https://urbit.org/docs/using/web/), that can be found at
30−`http://localhost:8080/` if it’s your first ship that’s running on the a
30+`http://localhost:8080/` if it’s your first ship that’s running on the
3131machine, `http://localhost:8081/` if it’s the second ship on that same machine,
3232and so on. In the startup messages, a ship will tell you which HTTP port it's
3333using.