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.

SecretLang (Hellion Mode)

From Esolang
Jump to navigation Jump to search

FINAL CHALLENGE!

Hints from Author

  • This version doesn't have a string type.
  • Encoded strings are allowed.

Programs

1. Hello, World!

õ<-κ("DDAVDXDXFF, GVFFFXDXAG!", "ADFGVX", "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", _)

2. Cat Program

1§{õ<-ĩ}

3. Sgn Machine

\x`ⁱ´<-ĩ;(x>0)?{õ<-1}:(x<0)?{õ<-¯1}:!{1§{õ<-0}}

Input:

114514

Output:

1

Input:

¯¯¯5

Output:

¯1

Input:

0

Output:

0000000000000000000000000000000000000000000000000000000000000000000000000000000000
--snip--

4. Collatz Sequence

\x`ⁱ´<-ĩ;(¬x=1)§{x<-(x%2)?(3×x+1):(x÷2);õ<-(x@š + " ")}õ<-("\n"+κ("Pyp xabr!", "VIGENERE", "Pneumonoultramicroscopicsilicovolcanoconiosis"))

Input:

12

Output:

6 3 10 5 16 8 4 2 1 
All Done!

5. Quine

õ<-ƒ

6. Fibonacci FUnction

\f`Λ´λ[x`ⁱ´].{ʳ(a>1)?a+f(a-1):1}
õ<-f(ĩ@ⁱ)

7. Average Number

\x<-.;\item`ⁱ´<-ĩ;\k<-item;
(¬k=0)§{x<-x+ĩ;k-~<-1}
õ<-x÷item

8. Error Handling and Raising

3+a$3 # Evaluates into 3 if a is not defined
(UnknownError, "Fuck you!")$ # Literally raising an error

9. Evaluate the result of 12+22+32+...+1002

\x<-[1, 100];x^¨~<-2;õ<-Σx

Output:

338350

Guessing Area

Still at talking page.

Categories