Length

A programming language based on line length

Guide

Line LengthNameDescription
9inpPushes the ascii value of the first byte of stdin to the stack.
10addAdds the top two values on the stack and pushes the result onto the stack.
11subSubtracts the top two values on the stack and pushes the result onto the stack.
12dupDuplicates the top value of the stack.
13condIf the top value of the stack is 0, skip the next instruction. Then pop it.
14gotouSets the program counter to the value of the line under the instruction.
15outnPops the top of the stack, and outputs it as a number.
16outaPops the top of the stack, and outputs its ascii value.
20mulMultiplies the top two values on the stack and pushes the result onto the stack.
21divDivides the top two values on the stack and pushes the result onto the stack.

Esolangs link: https://esolangs.org/wiki/Length

Libraries

length