User:Hex96

From Esolang
Jump to navigation Jump to search

I have a challenge for you, I call it the “r challenge”, get input and print it backwards. That’s it.

Answers go on talk page.

I ALSO HATE MYSELF FOR PRESSING THE RANDOM LANGUAGE BUTTON UNTILL ONE OF MY ESOLANGS CAME UP! I FAILED! plz tell me if you get one of mine on the talk page :(

Also i have a hard time finding out if my esolangs are turing complete, Again, Help.

I made a language! I call it "Tttt". Tttt.

And Ttttt is out, it is very similar to Tttt

The python code for the (old) interpreter:

data = input("")
data = list(data)
vars = [0, 0, 0]
i = 0
selvar = 0

while(i < len(data)):
    if(data[i] == 'a'):
        vars[selvar] += 2
    elif(data[i] == 'b'):
        vars[selvar] -= 1
    elif(data[i] == 'c'):
        selvar += 1
    elif(data[i] == 'd'):
        selvar -= 2
    elif(data[i] == 'e'):
        print(chr(vars[selvar]), end="")
    elif(data[i] == 'f'):
        print(vars[selvar], end="")
    elif(data[i] == 'g'):
        print("\n", end="")
    i += 1

Test case (expected 21\n):

acabcdfcfg

Tttt now has input and loops, no nested loops though.

List of esolangs

  1. Tttt
  2. Ttttt
  3. Long
  4. Muppp
  5. user
  6. Your
  7. End
  8. A very long language name that is very weird and yeah, this is your but its this
  9. langlang
  10. Tplntivhtpaavwtpi
  11. comp

ive also created Category:Joke, kinda