TESTLANG

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

TESTLANG is an esolang created by User:Ractangle with one purpose. Testing stuff

Syntax

Words

Word Action
out Prints a word next to it
note Will ignore a word next to it
in Gets user input
push Pushes a value to the stack
op Does an operation
end Ends the program

Sub-words

Sub-word Action Used by
in Pushes the input to the stack push
char Prints a charecter out
out Prints the first element on the stack and it gets poped push
plus Adds the two elements together op

Examples

Cat program

in push in push out end

A+B Problem

in push in in push in op plus push out end

Hello, world!

out Hello, out char 9 out world! end

Interpriter

Github Repo