traxler

From Esolang
Jump to navigation Jump to search

Traxler is a 2D stack based esolang which was made by WarzokERNST135.

Note

When you write the name of this language (traxler), it is lowercase unless it's the first word of the sentence.

General rules

In traxler, you are required to have at least one B command. Also, you need pipes for the program to work. They are the following:

| - / \

They can also be used for walls. So you might have understood the general rules of traxler.

Commands

Basic commands

"example": This is a string literal.
+ = * #: Basic arithmetic operators. + is add, = is subtract, * is multiply and # is divide.
%: This is a "is multiple of" operator. It is normally used as an if operation.
_: End of program.
§: Maps code over all items of the topmost list on the stack and consumes it.
[A-B]: It makes a list with items A to B.
At the end of the program, it prints the stack implicitly. If you want to print only the top of the stack, put T instead of _ for ending the program.

Examples:

Hello World!

/---------------------\
|  /"Hello World!"\   |
|  |              |   |
|  |              |   |
|  B              _   |
\---------------------/

FizzBuzz

/---------------------\
|  15--"FizzBuzz"-\   |
|  |              |   |
|  5--"Buzz"------|   |
|  |              |   |
|  3--"Fizz"------|   |
|  |              |   |
|  %--------------|   |
|  |              |   |
|  §              |   |
|  |              |   |
|  [1-100]        |   |
|  |              |   |
|  B              _   |
\---------------------/