Fourest

From Esolang
Jump to navigation Jump to search
Not to be confused with 4est, nor Forest. Both names were original names for this.

Fourest is a tree-based esolang[1] by User:Hammy. It was supposed to be called Forest, then 4est but both names were took.

Commands

There is a tree of nodes. It starts with 1 node.

Commands in fourest
Command Meaning
<> Creates a child in those directions and moves to it
^v Goes up and down in the tree respectively. If there is no child nodes, create one
l/r Take the left/right route next command
.,+- Basically same as bf but . outputs as EUCS
() If this node is the same as the other node with the same parent, run code inside. If this node is the only child of the parent node, NOP
{} If this node is equal to the other node with the same parent, run code inside until it isn't. If this is the only child of the parent node, do a bf loop
? Randomly either l or r
[] Primordial code. Do it for all nodes. Does not support ^ and v

Examples

Dice

[++]<+r^>++l^lv<+++r^>+++++l^r^rv<++++r^>++++++l^l^?v?v.

this should work hopefully

  1. At least, this is what the creator thinks a tree-based esolang could be like.