A.T.A.L.

From Esolang
(Redirected from ATAL)
Jump to navigation Jump to search

A.T.A.L. is an Esoteric programming language created by User:Buckets in 2023.

Commands Instructions
i.a, Set the Variable a to The User Input.
o.b, Print out the Variable b.
"".c, Set What is within the Quotes into the Variable c.
O.d, Print out the Variable d in ASCII if it Is a number.
g.e, Go to line e If the Variable e is A number.
[f,g,h] If f = h, go to Line g if The Variable g is a Number.
i,j. Concatenate i to j at The End, Unless i = j, then Halt the Program.
[m,l,n,k] Set the substring from variable k starting at The Index l With the length m, To n.
`o` If o is 1 Character, It will turn Into It's ASCII value.
""p/q. Replace the character of The Index p to the Variable q with the Text Within the Quotes.
1.r, Pause for r Milliseconds.
# Clear the Screen.
{s:t}#u At the Position s , t, Will change to the Colour Decided By u.
(v_w) Set v to the Length of w.
-x-y-z- Swap the Characters x and z in the Variable y.
A Set A to A Random number between B to C.
' Toggle Comments.

"Hello, World!" Program:

"Hello, World!".a,o.a,

Cat program:

"0".b,i.a,o.a,g.b,

Truth-machine Program:

"2".2,"0".0,"1".1,i.i,[i,2,0][i,1,0]
o.0,0,0.
o.1,g.2,

XKCD Random number:

"1".K,"6".C,X<K to C>"4".D,o.D,