Skip to content

Commit

Permalink
Make it so that Ǔ and ǔ are considered monadic to modifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
lyxal committed Oct 31, 2023
1 parent 4236a7b commit 364086d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vyxal/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def process_element(
+ " stack.append(rotate_left(lhs, rhs, ctx))\n"
+ "else:\n"
+ " stack.append(rotate_left(rhs, 1, ctx))\n",
2,
1,
),
"ǔ": (
"rhs = pop(stack, 1, ctx)\n"
Expand All @@ -272,7 +272,7 @@ def process_element(
+ " stack.append(rotate_right(lhs, rhs, ctx))\n"
+ "else:\n"
+ " stack.append(rotate_right(rhs, 1, ctx))\n",
2,
1,
),
"¼": process_element("ctx.global_array.pop()", 0),
"⅛": ("lhs = pop(stack,1,ctx); ctx.global_array.append(lhs)", 1),
Expand Down

0 comments on commit 364086d

Please sign in to comment.