redocument flock's refl, close #338

This commit is contained in:
petrak@ 2022-12-03 11:52:45 -05:00
parent 11e576c7e5
commit 9616b89979
2 changed files with 17 additions and 9 deletions

View file

@ -948,6 +948,7 @@
"hexcasting.page.stackmanip.over": "Copy the second-to-last iota of the stack to the top. [0, 1] becomes [0, 1, 0].",
"hexcasting.page.stackmanip.tuck": "Copy the top iota of the stack, then put it under the second iota. [0, 1] becomes [1, 0, 1].",
"hexcasting.page.stackmanip.2dup": "Copy the top two iotas of the stack. [0, 1] becomes [0, 1, 0, 1].",
"hexcasting.page.stackmanip.stack_len": "Pushes the size of the stack as a number to the top of the stack. (For example, a stack of [0, 1] will become [0, 1, 2].)",
"hexcasting.page.stackmanip.duplicate_n": "Removes the number at the top of the stack, then copies the top iota of the stack that number of times. (A count of 2 results in two of the iota on the stack, not three.)",
"hexcasting.page.stackmanip.fisherman": "Grabs the element in the stack indexed by the number and brings it to the top.",
"hexcasting.page.stackmanip.fisherman/copy": "Like $(action)Fisherman's Gambit/$, but instead of moving the iota, copies it.",

View file

@ -78,6 +78,22 @@
"output": "many",
"text": "hexcasting.page.stackmanip.duplicate_n"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:2dup",
"anchor": "hexcasting:2dup",
"input": "any, any",
"output": "any, any, any, any",
"text": "hexcasting.page.stackmanip.2dup"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:stack_len",
"anchor": "hexcasting:stack_len",
"input": "",
"output": "number",
"text": "hexcasting.page.stackmanip.stack_len"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:fisherman",
@ -137,15 +153,6 @@
"text": "hexcasting.page.stackmanip.swizzle.2",
"link_text": "hexcasting.page.stackmanip.swizzle.link",
"url": "https://github.com/gamma-delta/HexMod/wiki/Table-of-Lehmer-Codes-for-Swindler's-Gambit"
},
{
"_comment": "i hate that I have to put this here at the end. two-page design bad",
"type": "hexcasting:pattern",
"op_id": "hexcasting:2dup",
"anchor": "hexcasting:2dup",
"input": "any, any",
"output": "any, any, any, any",
"text": "hexcasting.page.stackmanip.2dup"
}
]
}