Brainflick

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

Brainflick is a modified BrainF with improved maths support. First of all, decimals are now supported!

New BrainFlick Commands

a
Command Description
* Multiply the current cell by the cell next to it
/ Divide the current cell by the cell next to it
π{digits} Set the current cell to pi of {digits} digits
"+" in BrainF but half
"-" in BrainF but half
If wrapping is not enabled and limited stack size is enabled, goes to the last item of the stack. Otherwise, does nothing.
If wrapping is not enabled and limited stack size is enabled, goes to the first item of the stack. Otherwise, does nothing.
Sets cell mode to real numbers
i Sets cell mode to imaginary numbers
: If the current cell is positive, turn it negative. If the current cell is negative, turn it positive.