You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is mainly useful for a "Hello, World!" program that takes no input.
Specs:
If there are no arguments given to a Wise program, the stack should start off with a single 0. Once there is an argument given, however, the stack is the same as usual. For example:
Wise program:
-~
No input: outputs 1
Input of 5: outputs 6
The text was updated successfully, but these errors were encountered:
I've been thinking about this myself. However with a slightly different motivation. Once something is on the stack it is impossible to remove it. The normal pop :^| only works if there is nothing on the stack.
Uses:
This is mainly useful for a "Hello, World!" program that takes no input.
Specs:
If there are no arguments given to a Wise program, the stack should start off with a single
0
. Once there is an argument given, however, the stack is the same as usual. For example:The text was updated successfully, but these errors were encountered: