Station Reference¶
A “number pallet” is referring to either an integer or float pallet. “Matching” number pallets are referring to multiple number pallets that are of the same type, either all integer or all float.
The descriptions will sometimes use subscripted 1-indexed numbers, like this: 1, to convey argument order when it matters.
ID |
Shorthand ID |
# of Inputs |
Outputs? |
Description |
|---|---|---|---|---|
|
1 |
✓ |
Assign station, accepts any pallet type and changes its value to the literal contained within the curly braces. See the language documentation for details. |
|
|
|
2 |
✓ |
Addition, accepts two matching number pallets and outputs the sum OR concatenates a character or string pallet 2 onto the end of another string pallet 1. |
|
2 |
✓ |
Boolean and, accepts two boolean pallets. |
|
|
|
1 |
✓ |
Decrement, accepts a number pallet and outputs its value minus one. |
|
|
2 |
✓ |
Division, accepts two matching number pallets (dividend 1 and divisor 2) and outputs the quotient. |
|
|
2 |
✓ |
Equals, returns a boolean pallet representing whether the two supplied pallets are equivalent. |
|
1 |
Immediately exits the program when any pallet is received. |
||
|
|
1 |
✓ |
Accepts any type of pallet and passes it through, unless it is a |
|
2 |
✓ |
Requires one boolean pallet and another pallet of any type, in any order. If the boolean pallet is true, the other pallet is passed through, otherwise the other pallet is dropped. Useful for control flow. |
|
|
|
2 |
✓ |
Greater than, accepts two matching number or boolean pallets, returns a boolean pallet with the comparison result. |
|
|
2 |
✓ |
Greater than or equal, accepts two matching number or boolean pallets, returns a boolean pallet with the comparison result. |
|
|
1 |
✓ |
Increment, accepts a number pallet and outputs its value plus one. |
|
|
1 |
✓ |
Simply passes through any pallet it receives. Useful for control flow. |
|
|
2 |
✓ |
Less than, accepts two matching number or boolean pallets, returns a boolean pallet with the comparison result. |
|
|
2 |
✓ |
Less than or equal, accepts two matching number or boolean pallets, returns a boolean pallet with the comparison result. |
|
|
2 |
✓ |
Modulo, accepts two matching number pallets and outputs the remainder of one pallet 1 divided by the other 2. |
|
|
2 |
✓ |
Multiplication, accepts two matching number pallets and outputs their product. |
|
|
2 |
✓ |
Not equals, returns a boolean pallet representing whether the two supplied pallets are not equivalent. |
|
|
1 |
✓ |
Boolean not, accepts two boolean pallets. |
|
2 |
✓ |
Boolean and, accepts two boolean pallets. |
|
|
1 |
Accepts and prints a pallet to stdout. |
||
|
1 |
Accepts and prints a pallet to stdout with a newline appended. |
||
|
1 |
✓ |
When any pallet is received, this station blocks while reading from stdin until a newline is received, outputting a string pallet containing the input received. The original pallet is dropped. |
|
|
0 |
✓ |
Marks the entry point of program execution. Spawns one empty pallet when the program starts, then becomes dormant for the rest of the program execution. |
|
|
|
2 |
✓ |
Subtraction, accepts two matching number pallets and outputs the difference (pallet 1 minus pallet 2). |