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.
Mail, A 2D programming language, with the typical way of having an instruction pointer moving around a grid of characters.
Memory is represented as an array of integers, and you can traverse the array with { and }, left and right respectively.
However, It is easier to use numbers and strings in this language than most other 2D languages, as you are able to use number and string literals just like how you would in any other language.
- "Hello World!" puts the string followed by the number of characters in that string in the memory.
- 256 puts 256 into memory (Now you don't have to multiply single digit numbers.)
Example Programs
Here are a number of programs that I have written in the language to show its turing completeness and other features.
Hello World
"Hello World!" @ ;
- "Hello World!" Puts the characters of Hello World! into memory and the length of those characters
- @ prints the string in order to the console
- ; ends the program.
Truth Machine
$,?;>,<
- $ accept one number for input.
- , output as number.
- ? conditional check; skips next instruction if true, doesn't if false.
- ; ends program if wasn't skipped from before
- > set direction of instruction pointer to right
- , output as number
- < set direction of instruction pointer to left
Credit
Link to Github: Mail
Made By TheJazzCat