Topaz

Topaz is an esoteric programming language created by Kiwitrader (talk) 03:25, 13 August 2016 (UTC)

its syntax is relatively simple:

every program starts with main function declaration:

main { ; code }

endwiths are snippets of other files:

for example:

in new.tpz:

puts Hello world puts end

and in main.tpz, which the interpreter auto-runs:

main { endwith new puts hello }

would output:

hello Hello world end

add, sub, mul, div, and mod do what you expect, they store the answer in their own names.

echo is like a single line cat.

pause... waits for input.

input> gets input and stores it in answer.

comments are semicolons.

to output a variable, use outvar.

make a list by using:

list name

append by using addto.

addto name value