Hydrogen
Jump to navigation
Jump to search
Hydrogen is an esolang by User:JIT, 2025
- also inspired by Oats
- but just the brackets
- , just inspired by the brackets
- of Oats
- , just the brackets, not the commands with the brackets
- from Oats
| commands | what they do |
|---|---|
| I | the input |
| [ | start a set |
| ] | end a set |
| ⎡
⎣ |
if the first set equals to the second set use the code on the top, else on the bottom |
| ⎤
⎦ |
end if statement |
| ⎡
⎢ length of n ⎣ |
output in ASCII if there's no set given top to bottom |
| ⎤
⎥ length of n ⎦ |
if there is a set are given, the ip goes to the set's number set starting at 0 |
hello world
⎡[72] ⎤ ⎢[101]⎥ ⎢[108]⎥ ⎢[108]⎥ ⎢[111]⎥ ⎢[44] ⎥ ⎢[32] ⎥ ⎢[87] ⎥ ⎢[111]⎥ ⎢[114]⎥ ⎢[108]⎥ ⎢[100]⎥ ⎣[33] ⎦
Truth-machine
[I][0]⎡⎡[48]⎤ ⎤
⎣⎢ ⎥[I][1]⎡⎡[49]⎤[6]⎡⎤⎤⎦
⎣ ⎦ ⎣⎢ ⎥ ⎢⎥⎦
⎣ ⎦ ⎣⎦
Cat program
[]⎡[I]⎤[0]⎡⎤ ⎢ ⎥ ⎢⎥ ⎣ ⎦ ⎣⎦