Mountain/Old
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Mountain is language by User:ChuckEsoteric08. It has only 4 commands. It goal was to make program look like mountains. The program halts only if current bit is zero
Commands
Command | Meaning |
---|---|
A | move pointer to the right and flip bit |
M | move pointer to the left |
WV[instructions]V | not do [instructions] if current bit is zero. |
I(capital i, not lowercase L) | output next 8 bits as number |
Examples
Output ascii code for lowercase h
AMA // 0 A // 1 AMA // 0 AMA // 0 A // 1 AMA // 0 AMA // 0 AMA // 0 MMMMMMMMI // back to first bit and output
Without comments:
AMAAAMAAMAAAMAAMAAMAMMMMMMMMI
Computational class
Maybe Turing complete