We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Stash/guess

From Esolang
Jump to navigation Jump to search

Note: standard guessing rules apply

Pending programs

Caption text
Program requester status (note)
Collatz sequence User:I am islptng done
Deadfish interpreter User:I am islptng done
Hello World User:Im bad at naming done
Plushie-completeness proof User:Im bad at naming pending

Banned programs:sgn machine

Example programs

Cat program

@;~[$0|$0|$0#0;@]

truth machine

@;~[|$1"48|$1#0];$1#0

collatz sequence

@;~[$0|$0"1|?[$0%2|.(3`$0)|$0>>.0];$0#0;$1]

(the language has no numeric IO so we use charcode to print numbers) input:

!

output:

!d2�L&�:�X,��"�4�
(�
������

deadfish interpreter

~[0|$0<>0"2|@;?[
 $0==:i|.$1|?[
  $0==:d|$1"1|?[
   $0==:s|$1`$1|?[
    $0==:o|
     ?[1|{2|?[$0|$1_($0'10)_$1;(48+$0%10)#0]};
      ?[$2|$0_$2_$0|48#0];$3]|?[
     $0==:h|0"2|$1]]]]];
 ?[$0==0"1|0|?[$0==256|0|$0]]]

islptng's Restriction: You must simulate the numeric output!

Looping counter

~[|1|$0+1;~[$0|$0|42#0;$0-1];10#0]

Hello, World!

72#101#108#108#111#44#32#87#111#114#108#100#33#10#0;

guessing area

(the first guess is just an example)

Caption text
command meaning guesser grades
0-9 literals user:cleverxia correct
.x x + 1 user:Im bad at naming correct
x+y x + y user:Im bad at naming correct
x"y or x-y x - y user:Im bad at naming correct
x`y x * y user:Im bad at naming correct
x'y x / y user:Im bad at naming correct (floor division)
x%y x mod y user:Im bad at naming correct
x#y output x to stdout or maybe stderr (decided by y) user:Im bad at naming mostly correct, guess for y isn't right
x==y x == y user:Im bad at naming correct
x<>y x != y user:Im bad at naming correct
y;x set x to y??? user:Im bad at naming absolutely incorrect
x>>y x rsh y user:Im bad at naming correct
(expr) (expr) user:Im bad at naming correct
:c char literal user:Im bad at naming correct
@ related to input user:Im bad at naming right direction, requires more specific
$n variable #n??? user:Im bad at naming incorrect. hint: the operator is right-associative
~[a|b|c] run c while b is true, do not know what a does user:Im bad at naming guess for b&c is correct
?[a|b|c] b if a is true,else c (c can be ignored) user:Im bad at naming absolutely correct