Syntax Null Language
Jump to navigation
Jump to search
Syntax Null Language (or SNL for short) is a language similar to brainfuck. SNL operates on an infinite tape with 8-bit unsigned cells.
Commands
Command | Description |
---|---|
> |
Move the tape head right. |
< |
Move the tape head left. |
+ |
Take the current cell and the next cell, add them, and put the result in the current cell. |
- |
Take the current cell and the next cell, subtract them, and put the result in the current cell. |
* |
Take the current cell and the next cell, multiply them, and put the result in the current cell. |
/ |
Take the current cell and the next cell, divide them, and put the result in the current cell. |
o |
Output the value of the current cell as a character. |
n |
Output the value of the current cell as a number. |
i |
Take an input and put it into the current cell. |
: |
Start/End a block. |
Examples
Hello World
7>1>9<+<*>2<+o1>1>9<+<**>0>1>9<+<*<+>1<+o1>1>9<+<**>0>1>9<+<*<+>8<+o1> 1>9<+<**>0>1>9<+<*<+>8<+o1>1>9<+<**>1>1>9<+<*<+>1<+o4>1>9<+<*>4<+o3>1> 9<+<*>2<+o8>1>9<+<*>7<+o1>1>9<+<**>1>1>9<+<*<+>1<+o1>1>9<+<**>1>1>9<+< *<+>4<+o1>1>9<+<**>0>1>9<+<*<+>8<+o1>1>9<+<**>0>1>9<+<*<+>0<+o3>1>9<+< *>3<+o