TailDot

From Esolang
Jump to navigation Jump to search

TailDot is an esolang by User:ChuckEsoteric08 based on his old esolangs.

Specification

TailDot consits of "words", which are string of characters seperated by commas and 1-indexed. It uses three variables that store integers: a, b and c and three variables that store strings: x, y and z. All TailDot Programs are written in one line.

Commands

[argn] is and argument n.

a - increment integer variable [arg1] by value [arg2]
s - decrement integer variable [arg1] by value [arg2]
m - multiply integer variable [arg1] by value [arg2]
d - divide integer variable [arg1] by value [arg2]
c - set string variable [arg1] to [arg2]
j - jump to word [arg1]
i - set string variable [arg1] to user input
e - if variable [arg1] is [arg2] goto word [arg3]
v - output variable [arg1]
o - square integer variable [arg1]

Examples

Hello, World!

c,x,Hello World!,v,x

Cat

i,x,v,x,j,1

Deadfish interpreter

c,x,>>,v,x,i,x,v,x,e,x,i,28,e,x,d,37,e,x,s,46,e,x,o,53,j,1,a,a,1,e,a,256,57,j,1,s,a,1,e,a,-1,57,j,1,o,a,e,a,256,57,j,1,v,a,j,1,a,a,1,e,a,0,1,s,a,1,e,a,0,1,j,64

External resources

Interpreter in Scratch