Wireless Coolbeans

From Esolang
Jump to navigation Jump to search

Wireless Coolbeans is an esolang made by User:Unname4798.

Help

Signals can move in the air in in 4 directions:

^ up
> right
v down
< left

? is used for comments.

Signals get reflected 90 degrees by /'s and \'s. / turns the signal right, while \ turns the signal left:

< \ / >

  ^ ^

They collect and store numbers:

> 2024

And strings:

> &Hello, world!&

$ outputs the signal contents to the console:

> "kiwi" $
? Output: kiwi

% sets contents of the signal to user input.

v

%

$

V reflects signals by 180 degrees:

v

V

And duplicates signals:

V

^

Y toggles operator mode:

> 2024 Ylog(x)Y O
? Output: log(2024)

It supports multiple inputs:

    v

    2

> 1 #+# O
? Output: 3

Operator mode supports these operators:

+, -, *, /, %, &, |, ^, >>, << (2 inputs)

sqrt, cbrt (1 input)

exp, xroot (2 inputs)

log, log2, log10 (1 input)

logx (2 inputs)

abs, sign, floor, sin, cos, tan, sinh, cosh, tanh, asin, acos, atan, asinh, acosh, atanh (1 input)

L turns the signal left if 0 or string, and turns the signal right otherwise:

  v

  1

O L
? Output: 1

T turns the signal left if number, and turns the signal right otherwise:

v

1

T O
? Output: 1

R randomly turns the signal left or right:

v

1

R O

See also