Length is an esolang that only cares about the length of each line. Opcodes to run are determined by, you guessed it, the length of a string! line length - name - what it does 9 - inp - Take one character of input and push the ASCII character of the character 10 - add - Pop two values and push the sum onto the stack. 11 - sub - pop values A and B, and push B - A 12 - dup - duplicate top value of stack 13 - cond - pop value from stack, if it's a 0, skip the full instruction(what i mean by full instruction is an instruction with an argument) 14 - gotou - set line run to the length of the string after this line 15 - outn -pop from stack and output as number 16 - outa - pop from stack and output as ascii 17 - rol - rotate the stack left 18 - swap - swap the top two values 20 - mul - pop two values and push the product of the values onto the stack 21 - div - pop two values - A and B, and push B / A onto the stack. 23 - pop - pop one value. That's it. 24 - gotos - pop one value and go to that line 25 - push - push the length of the string after this line 27 - ror - rotates the stack right
this is yet another esolang interpreter in the "to implement" list