Skip to main content
Commonmark migration
Source Link

#><>, 6 bytes

><>, 6 bytes

:?!1n;

Could have been 1 byte shorter if ? had the opposite conditional behaviour.

:?       check if nonzero, then either
  !      a) skip the next instruction or
   1     b) push 1 to the stack
    n    print
     ;   terminate

#><>, 6 bytes

:?!1n;

Could have been 1 byte shorter if ? had the opposite conditional behaviour.

:?       check if nonzero, then either
  !      a) skip the next instruction or
   1     b) push 1 to the stack
    n    print
     ;   terminate

><>, 6 bytes

:?!1n;

Could have been 1 byte shorter if ? had the opposite conditional behaviour.

:?       check if nonzero, then either
  !      a) skip the next instruction or
   1     b) push 1 to the stack
    n    print
     ;   terminate
deleted 30 characters in body
Source Link

#><>, 76 bytes

i:?!1n;

Could have been 1 byte shorter if ? had the opposite conditional behaviour.

i         read input
 :?       check if nonzero, then either
   !      a) skip the next instruction or
    1     b) push 1 to the stack
     n    print
      ;   terminate

#><>, 7 bytes

i:?!1n;

Could have been 1 byte shorter if ? had the opposite conditional behaviour.

i         read input
 :?       check if nonzero, then either
   !      a) skip the next instruction or
    1     b) push 1 to the stack
     n    print
      ;   terminate

#><>, 6 bytes

:?!1n;

Could have been 1 byte shorter if ? had the opposite conditional behaviour.

:?       check if nonzero, then either
  !      a) skip the next instruction or
   1     b) push 1 to the stack
    n    print
     ;   terminate
Source Link

#><>, 7 bytes

i:?!1n;

Could have been 1 byte shorter if ? had the opposite conditional behaviour.

i         read input
 :?       check if nonzero, then either
   !      a) skip the next instruction or
    1     b) push 1 to the stack
     n    print
      ;   terminate