Skip to content

Capsum

These glyphs manipulate the capsum itself. More often than not, they do not modify species at all, just rearranging them on the stack. In many instances, these glyphs act on generic species, in these cases these species will be denoted with an uppercase letter of the Latin alphabet.

B, A$() → A, B$() Swaps the species at the head with the species below it.

D, …, A$() → A, …, D$() Swaps the ends of the capsum, with the head going to the end, and vice versa.

B, A$() → B, A, A$() Duplicates the species at the head of the capsum.

B, A$() → B$() Removes the head of the capsum and does not return anything at all.

B, A$() → A, B, A$() Takes the species at the head of the capsum, and duplicates it, placing it below the species below the head in the pattern shown above.

B, A$() → B, A, B$() Duplicates the species below the head onto the head, preserving the original two species.

B, A$() → A$() Pops the species below the head, returning nothing.

number$() → A$() Pops the species at the place, counting down from the head, corresponding to the number popped by the glyph

eg. 2 → species at the 2nd place, the one just below the head.

number$() → A$() Similar to Fish, except the selected species is not popped, but just cloned, with the clone being placed onto the head instead.

number$() → Pops the object at the place, counting down from the head corresponding to the number popped by the glyph.

eg. 2 → ; would pop the species at the 2nd place (just below the head), returning nothing.

A, number$() → Pops species A and places it in the place, counting from the head, corresponding to the number popped by the glyph.

Eg. C, B, A, 2$() → C, A, B$() (A is now at the 2nd place)

A, number$() → Pops species A and places it in the place, counting from the head, corresponding to the number popped by the glyph. It then restores A at the head, preventing consumption.

eg. C, B, A, 2$() → C, A, B, A$() (A is now at the 2nd place without counting the head)

D, C, B, A$() → B, A, D C$() Swaps the top two pairs of species with each other. Preserves order within the pairs.

B, A$() → B, A, B, A$() Duplicates the top two species, preserving the order within the pair.

B, A$() → Pops the top two species, returning nothing.

C, B, A$() → B, A, C$() Pops the third species and pushes it to the head, preserving the order of the head and the subsequent species. In short: the third species goes to the head.

C, B, A$() → A, C, B$() Pops the head and pushes it onto the third place, preserving the order of the (originally) second and third species. In short: the head goes to the third place.

A, number$() → A, A, …$() Duplicates the species below the head so its quantity matches the popped number

eg. A, 3$() → A, A, A$()

→ number$() Pushes onto the capsum a number corresponding to the number of elements held within.

A$() → Prints the head of the capsum onto a text message viewable only by the caster.