summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-12-28 02:59:31 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-12-28 02:59:31 +0100
commit3b820907588131712bd2991dc751329530df8a6a (patch)
tree315563874910ff1325f36341daaf1b4faded5fb7 /content/wyrd_v1
parentb5b30786abdb77dc0c1f9ed1be6d9c594b398b1a (diff)
Some "rich text" -> "text"; new sequence stuff.
Diffstat (limited to 'content/wyrd_v1')
-rw-r--r--content/wyrd_v1/_index.md4
-rw-r--r--content/wyrd_v1/computations/_index.md10
-rw-r--r--content/wyrd_v1/instructions/_index.md20
3 files changed, 17 insertions, 17 deletions
diff --git a/content/wyrd_v1/_index.md b/content/wyrd_v1/_index.md
index 9bc38a3..c6e6e97 100644
--- a/content/wyrd_v1/_index.md
+++ b/content/wyrd_v1/_index.md
@@ -43,7 +43,7 @@ Lambda functions are stored as an `INT` corresponding to a line in the program.
* `[SOMETHING] COLLECTION`, table mapping `STRING` to `[SOMETHING]`.
* `FLOAT`.
* `INT`.
-* `RICH TEXT`, a list of `STRINGS` with attributes attached.
+* `TEXT`, a list of `STRINGS` with attributes attached.
* `STRING`.
* `STRUCTURE` (or `DICTIONARY`), table mapping `STRING` to values of any type.
* `{String}`, a hard-coded string.
@@ -51,7 +51,7 @@ Lambda functions are stored as an `INT` corresponding to a line in the program.
#### Aliases sometimes used to refer to types
* `? ADDRESS`: an `ADDRESS` pointing to a particular type.
* `BASE TYPE`: `INT`, `FLOAT`, `BOOL`, `STRING`.
-* `COMPARABLE`: `INT`, `FLOAT`, `BOOL`, `STRING`, `RICH TEXT`, `ADDRESS`.
+* `COMPARABLE`: `INT`, `FLOAT`, `BOOL`, `STRING`, `TEXT`, `ADDRESS`.
* `COLLECTION`: any `? COLLECTION`.
* `COMPUTATION`: any type.
* `NUMBER`: `INT` or `FLOAT`.
diff --git a/content/wyrd_v1/computations/_index.md b/content/wyrd_v1/computations/_index.md
index 62ddd41..bf7992d 100644
--- a/content/wyrd_v1/computations/_index.md
+++ b/content/wyrd_v1/computations/_index.md
@@ -84,15 +84,15 @@ Returns the value held at the memory location `[ADDRESS]`.
Returns an `[TYPE] ADDRESS` to a newly allocated memory element of
type `[TYPE]`.
-## RICH TEXT
+## TEXT
{{< fatecode >}}(newline){{< /fatecode >}}
-Returns a `RICH TEXT` value corresponding to a newline.
+Returns a `TEXT` value corresponding to a newline.
{{< fatecode >}}(rich_text [S0 = STRING] ... [SN = STRING]){{< /fatecode >}}
-Returns a single value `RICH TEXT` representing the elements `S0` ... `S1`.
+Returns a single value `[TEXT]` representing the elements `S0` ... `S1`.
-{{< fatecode >}}(add_rich_text_effect ({string} [V0 = COMPUTATION] ... [VN = COMPUTATION]) [RICH TEXT]){{< /fatecode >}}
-Returns a `RICH TEXT` value of `[RICH TEXT]` with the given effect enabled.
+{{< fatecode >}}(add_rich_text_effect ({string} [V0 = COMPUTATION] ... [VN = COMPUTATION]) [TEXT]){{< /fatecode >}}
+Returns a `[TEXT]` value of `[TEXT]` with the given effect enabled.
## LAST USER CHOICE
{{< fatecode >}}(get_last_user_choice){{< /fatecode >}}
diff --git a/content/wyrd_v1/instructions/_index.md b/content/wyrd_v1/instructions/_index.md
index cda4fec..500f884 100644
--- a/content/wyrd_v1/instructions/_index.md
+++ b/content/wyrd_v1/instructions/_index.md
@@ -8,31 +8,31 @@ the Program Counter by 1.
## ADD CHOICE
-{{< fatecode >}}(add_choice [RICH TEXT]){{< /fatecode >}}
+{{< fatecode >}}(add_choice [TEXT]){{< /fatecode >}}
Adds a new option for the next `resolve_choices` instruction. The new option
-presents the player with `[RICH TEXT]`.
+presents the player with `[TEXT]`.
## INTEGER PROMPT
-{{< fatecode >}}(prompt_integer [INT REFERENCE] [MIN = INT] [MAX = INT] [RICH TEXT]){{< /fatecode >}}
+{{< fatecode >}}(prompt_integer [INT REFERENCE] [MIN = INT] [MAX = INT] [TEXT]){{< /fatecode >}}
Prompts the user for an integer between `[MIN]` and `[MAX]` by displaying the
-message `[RICH TEXT]`. The result is stored in `[INT REFERENCE]`.
+message `[TEXT]`. The result is stored in `[INT REFERENCE]`.
## STRING PROMPT
-{{< fatecode >}}(prompt_string [STRING REFERENCE] [MIN = INT] [MAX = INT] [RICH TEXT]){{< /fatecode >}}
+{{< fatecode >}}(prompt_string [STRING REFERENCE] [MIN = INT] [MAX = INT] [TEXT]){{< /fatecode >}}
Prompts the user for a string of size between `[MIN]` and `[MAX]` by displaying
-the message `[RICH TEXT]`. The result is stored in `[STRING REFERENCE]`.
+the message `[TEXT]`. The result is stored in `[STRING REFERENCE]`.
## ASSERT
-{{< fatecode >}}(assert [BOOL] [RICH TEXT]){{< /fatecode >}}
-If `[BOOL]` isn't _true_, raise a runtime error containing `[RICH TEXT]`.
+{{< fatecode >}}(assert [BOOL] [TEXT]){{< /fatecode >}}
+If `[BOOL]` isn't _true_, raise a runtime error containing `[TEXT]`.
## DISPLAY
-{{< fatecode >}}(display [RICH TEXT]){{< /fatecode >}}
-Displays `[RICH TEXT]` to the player.
+{{< fatecode >}}(display [TEXT]){{< /fatecode >}}
+Displays `[TEXT]` to the player.
## END