We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Mathmatician

From Esolang
Jump to navigation Jump to search

Mathmatician is a brainfuck based esoteric programming language created by User:Pineapple. It uses math symbols for navigation and I/O, and features a dynamic modifier that lets numbers dictate how much the addition and subtraction operators change a cell's value.

Overview

Mathmatician operates on a tape of memory cells with a pointer.

Prefixing a + or - command with a number sets the amount added or subtracted. Numbers that are not followed by a + or - are ignored by the interpreter and can be used for code stylization.

Commands

Command Brainfuck Description
[N]+ + Adds N to the current cell's value.
[N]- - Subtracts N from the current cell's value.
x > Move the pointer to the next cell.
/ < Move the pointer to the previous cell.
= . Print the current cell's value as an ASCII character.

Syntax notes

Any standalone number not followed by a + or - symbol has no effect on execution and is treated as a comment or styling.

I/O

  • Output: = prints the ASCII character corresponding to the active cell's value.

Example programs

Printing 'A'

Adds 65 to the current cell in one command and prints the ASCII character:

65+ =

Stylized math expression

Demonstrates how unattached numbers can be used for aesthetics:

100 65+ 200 =

Computational class

Turing-complete subset, directly mapping to core brainfuck operations.

External resources

  • No external resources yet.