From d272efa49173c3708ddde54a96486261b73d7908 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 15 Jan 2022 00:13:48 +0100 Subject: ... --- content/wyrd_v1/state/_index.md | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 content/wyrd_v1/state/_index.md (limited to 'content/wyrd_v1/state') diff --git a/content/wyrd_v1/state/_index.md b/content/wyrd_v1/state/_index.md new file mode 100644 index 0000000..f42e2ae --- /dev/null +++ b/content/wyrd_v1/state/_index.md @@ -0,0 +1,46 @@ +--- +menuTitle: +title: State +weight: 1 +--- +* `memory: {{String} -> }`, which is pretty self-explanatory. +* `user_types: {{String} -> }`, providing the default value for each + user-defined type. +* `sequences: {{String} -> {Int}}`, an optional member that gives you the value + to give `program_counter` in order to jump to a certain sequence (untested). +* `code: {{Int} -> }`, to retrieve the `` + corresponding to a line. +* `program_counter: {Int}`, the line of the next `` to be executed. +* `last_choice_index: {Int}`, the index (starting from 0) corresponding to the + `