From 597ea6382389861cc16f494c474af8b40e3c392a Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 22 Dec 2020 07:07:33 +0100 Subject: ... --- content/fate_v1/aliases/default.md | 1 + content/fate_v1/computations/_index.md | 1 + content/fate_v1/declarations/_index.md | 1 + content/fate_v1/extensions/_index.md | 1 + content/fate_v1/instructions/_index.md | 1 + content/fate_v1/instructions/loops/_index.md | 6 +++--- 6 files changed, 8 insertions(+), 3 deletions(-) (limited to 'content/fate_v1') diff --git a/content/fate_v1/aliases/default.md b/content/fate_v1/aliases/default.md index 9a6bd8a..1247545 100644 --- a/content/fate_v1/aliases/default.md +++ b/content/fate_v1/aliases/default.md @@ -1,5 +1,6 @@ --- title: Aliases +weight: 4 --- Nearly all computations and instructions have aliases, making it easier to write in the language when not used to it. This page provides most of them. As diff --git a/content/fate_v1/computations/_index.md b/content/fate_v1/computations/_index.md index 9312712..1cad064 100644 --- a/content/fate_v1/computations/_index.md +++ b/content/fate_v1/computations/_index.md @@ -1,5 +1,6 @@ --- title: Computations +weight: 2 --- Computations are values. They may read from the memory, but do not modify it (with a single exception). diff --git a/content/fate_v1/declarations/_index.md b/content/fate_v1/declarations/_index.md index 013d404..c079924 100644 --- a/content/fate_v1/declarations/_index.md +++ b/content/fate_v1/declarations/_index.md @@ -2,4 +2,5 @@ title: "Declarations" menuTitle: "Declarations" chapter: true +weight: 1 --- diff --git a/content/fate_v1/extensions/_index.md b/content/fate_v1/extensions/_index.md index 01f7127..c0598ea 100644 --- a/content/fate_v1/extensions/_index.md +++ b/content/fate_v1/extensions/_index.md @@ -1,4 +1,5 @@ --- title: Extensions +weight: 5 --- This page not available yet, sorry. diff --git a/content/fate_v1/instructions/_index.md b/content/fate_v1/instructions/_index.md index 51066d1..ec5b413 100644 --- a/content/fate_v1/instructions/_index.md +++ b/content/fate_v1/instructions/_index.md @@ -1,5 +1,6 @@ --- title: Instructions +weight: 3 --- Instructions do not return values, but modify the memory in some way or interact with the interpreter. Computations are valid instructions, and will be diff --git a/content/fate_v1/instructions/loops/_index.md b/content/fate_v1/instructions/loops/_index.md index 03c0f3b..d3c8d65 100644 --- a/content/fate_v1/instructions/loops/_index.md +++ b/content/fate_v1/instructions/loops/_index.md @@ -17,10 +17,10 @@ Executes `[I0]` ... `[IM]`, and does so again as long as, `[BOOL]` yields true. ### FOR -{{< fatecode >}}(for
 [BOOL]  [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}}
+{{< fatecode >}}(for [PRE = INSTRUCTION] [BOOL] [POST = INSTRUCTION] [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}}
 
-Executes `
`, then, if and as long as `[BOOL]` yields true, executes
-`[I0]` ... `[IM]` followed by ``.
+Executes `[PRE]`, then, if and as long as `[BOOL]` yields true, executes
+`[I0]` ... `[IM]` followed by `[POST]`.
 
 ### FOR EACH
 {{< fatecode >}}(foreach [COLLECTION] {String} [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}}
-- 
cgit v1.2.3-70-g09d2