Talk:my-new-esolang.txt

From Esolang
Jump to navigation Jump to search

I've reverse-engineered the examples:

P - output ROT61 (numbers, Latin lowercase letters, Latin uppercase letters)
I - set accumulator to user input, if before P, then output the user input
[ - ROT1 a character
>n- - If accumulator is n
() - Do commands under brackets forever

More examples:

amo gus

I
>amo-P[g[u[s
>gus-P[a[m[o

"smoke" ~my cousin

i remember my cousin made this program he called "smoke":

Pabab
C
<true:P[a[w[e[s[o[m[e[!
<false:P[i[h[a[t[e[y[o[u

and it would print "zaza", and then give the user a choice between yes and no. then, if yes it printed "awesome!", if no, it printed "ihateyou" tommyaweosme 21:38, 7 August 2024 (UTC)

edit: oh yeah, i think something corrupted in the hello world example. i know it used to print "helloworld"

Translated to my-new-esolang:
PAbAb
I
>0-PJibufzpv
>1-PBxftpnf
>2-PBxftpnf
...
>ZZZ...ZZZ-PBxftpnf

In HTML/JS:

<input id="choice" />
<button onclick="var choice = document.getElementById('choice');
if (choice) {
alert("Awesome");
} else {
alert("I hate you");
}">Click here, please!</button>

Unname4798 07:30, 8 August 2024 (UTC)

the "smoke" program IS A CANONICAL PROGRAM!!!!! and not your version that one (i think) only does it if 1 or 0 and no 23456789abcdefg... tommyaweosme 12:36, 8 August 2024 (UTC)

I edited. T is the terminate command. Unname4798

"T" was never in any of the examples. please DO NOT make assumptions like this
The smoke program in my-new-esolang is infinite! Unname4798