Cocytus

From Esolang
Jump to navigation Jump to search

Intro

Cocytus is an Esolang created by User:helpeesl on may 1st 2025 ad and was designed to be the worst Esolang to code in.

The features

Cocytus has some awful features which includes:

  • The Qack
  • An awful way of printing text

Qack

The Qack is like a stack and a queue had a genuine awful child.
The input is at the front and the output is at the right middle.

Text printing

Text printing goes like this:

  • Reverse the bits
  • Flip the bits
  • Set the text counter to the first set of 21 bits
  • Print that as Unicode
  • Change the text counter by the next set of 21 bits
  • Repeat steps 5 and 6 until the end

Commands

The commands are decided by taking P^2-PC+C with respect to 43

Commands
Number What it does
0 Pops the ending 2 values and puts a+b at the end of the Qack
1 Gets input put onto the Qack as text
3 Outputs the end of the Qack as text
4 Pops the ending 2 values and puts a/b at the end of the Qack
5 Multiplies the start of the Qack by ten
6 Moves the end of the Qack to the start
7 Moves the start of the Qack to the end of the Qack
8 Adds 3 to the start of the Qack
14 Sets the start of the Qack(x) to e^x
15 Duplicates the end of the Qack to the right
16 Swaps the end of the Qack with the left if the length is even and the right if odd
17 Compares the end two items of the stack’s real and imaginary value Less=-1 Equal=0 More=1
20 Pops the top two items off the stack and concatenates their bits together
21 Goes to the almost last item of the Qack if the end of the Qack is positive
22 Sets the start of the Qack(x) to ln(x)
32 Sets the variable at the end of the Qack to the end of the Qack and pop it
33 Pops the last two items of the Qack and puts the bigger of the two items times -1 onto the end of the Qack
34 Gets the variable of the end of the Qack
35 Puts input onto the the start of the Qack as a number
36 Goes to the almost last item of the Qack if the end of the Qack is zero
37 Pops the last two items of the Qack and puts a%b onto the end of the Qack
38 Outputs the end of the Qack as a number
39 Sets the last of the Qack to the second last
40 Flips the order of the Qack (i.e. 123456<->456123 12345<->32154)
41 Puts the variable at the end of the Qack to the end of the Qack
42 Pops the end of the Qack

programs

cat

,+