This language operates with a memory of 2^16 bytes and a pointer that navigates the current byte. You can manipulate the pointer, move it forward or backward, increment or decrement the value at the pointer, print to the stdout, and take input.
Be cautious! It's possible to underflow or overflow both the memory and the pointer. If the pointer is at zero and an attempt is made to decrement it, it will go to the last byte.
Loops evade the code,
Memory's dance knows no bounds,
Unfettered by loops.
- e - moves the pointer forward
- i - moves the pointer backward
- m - increments the value at the pointer
- a - decrements the value at the pointer
- 👍 - prints the value at the pointer to the stdout
- ' ' (space) - takes an ASCII character from the stdin and stores it at the pointer
git clone https://github.com/matteac/maradoscript.git
cd maradoscript
cargo install --path .
maradoscript -i <FILE>
Or use the repl
maradoscript
Read the transpiler documentation
The following code prints Hello World
:
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm👍emmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm👍emmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm👍emmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm👍emmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm👍emmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm👍emmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm👍emmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm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