We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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

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