From 00eb264cb49047ce85cd98b4a93c40ff33cdfd8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 27 May 2018 12:32:18 +0300 Subject: [PATCH] Document writeInt, readInt, breakPoint --- ir.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/ir.md b/ir.md index 3933648..e342f8a 100644 --- a/ir.md +++ b/ir.md @@ -52,6 +52,27 @@ type | `clear` Not generated by the parser directly, but generated by optimizations +### writeInt +property | value +---------|------ +type | `writeInt` + +Generated on `:` if extensions are enabled + +### readInt +property | value +---------|------ +type | `readInt` + +Generated on `:` if extensions are enabled + +### breakPoint +property | value +---------|------ +type | `breakPoint` + +Generated on `#` if extensions are enabled + With offsets ------------ @@ -101,6 +122,23 @@ property | value type | `multiply` changes | Map of offsets to the number that should be added to those cells multiplies by the current cell +### writeInt +property | value +---------|------ +type | `writeInt` +offset | The location of the cell relative to current tape position + +### readInt +property | value +---------|------ +type | `readInt` +offset | The location of the cell relative to current tape position + +### breakPoint +property | value +---------|------ +type | `breakPoint` + Flattened ---------