Closed lyxal closed 4 years ago
i"TI-"©®4h®5h4ɣ
Where ©
pops the top of stack into the register and ®
retrieves the register
sure why not. also involves cursed owo
-lang stuff.
w (ele -- )
. SETREG. Stores ele
into the w
egister.ʍ ( -- ele)
. GETREG. Copies ele
from the w
egister.Though there are 2 value stacks. You could use one stack as the "main" stack and the other one to store values.
If I want to temporarily store a value, I have to think through using stack mechanics. A register would avoid this.
Context
This challenge
Everything is printed on newlines, when it should be on one line. A register means I could concatenate everything together and print like: