The AarOS program starts with cell 1 and upper-left corner. The program can be terminate by either moving to outside of the code or moving to @. Every cell starts with 0 each time AarOS program start.
- + - Increase the current cell by 1.
- - - Decrease the current cell by 1.
- > - Turn the pointer to east.
- < - Turn the pointer to west.
- ^ - Turn the pointer to north.
- v - Turn the pointer to south.
- L - Move into previous cell.
- R - Move into next cell.
- " - String literal. When moving to next ", all characters are converted to ASCII values then putted to the cells, while first letter is in current cell.
- \* - Start of string literal.
- *\ - End of string literal. Same as " did.
- A - Pop it, then change the current cell to A+B.
- M - Pop it, then change the current cell to A-B.
- P - Pop it, then change the current cell to AB.
- D - Pop it, then change the current cell to A/B. Doesn't work if the next cell is 0.
- / - Pop it, then change the current cell to A%B. Doesn't work if the next cell is 0.
- S - Skip a next command.
- I - If the current cell is not 0, then skip a next command.
- . - Input to the cell from a character.
- , - Output from the cell to a character.
- % - Output from the cell to a number.
- & - Remove the cell.
- @ - End program.
- \ - Change the pop mode.
- ' - Number literal. All valid digits are putted in the memory when reaching the another '.
- E - Pop it, then change the current cell to A^B.
- $ - Pop the current cell.
- # - Swap between current and next cells.
- ` - Copy the cell to next cell.
- M/ - A mirror you might excepted from /.
- M\ - A mirror you might excepted from \.
- Everything else - NO-OP.
Mode 1 pops the current cell to B then set A as the next cell.
Mode 2 pops the current cell to A then set B as the next cell.
- -h (Help to use flags)
- -d (Debug mode, show the results of the program.)
- -v (Verbose mode, show the current status each step.)
- -r (Run in different mode.)
- 1.2 - Added more commands, added 1 pop mode, updated polyglot, and changed 'Hello World!' program.
- 1.1.1 - Fixed/golfed examples. Added documentation. Fixed running in 1.0. Fixed 1.1 changelog.
- 1.1 - Added 2 new flags including -h and -r. Replaced ' with ". Added 1 example. Fixed 1.0.1.1 update log.
- 1.0.1.1 - Added how to use flags.
- 1.0.1 - Added @ command. Added 2 new flags including -d and -v and also, added examples.
- 1.0 - Release.
- 0.0 - Started this git.
- P1.1 - Added commands and first digraph commands
- P1.0 - Initial plan.