Windows 1.0
Jump to navigation
Jump to search
Windows 1.0 is a version of Brainfuck made by Mihai Popa but based on names of programs from Windows 1.0. Commands are 1 per line only.
Table
Command | Brainfuck equivalent | Description |
---|---|---|
Paint |
>
|
Move the pointer to the right |
Notepad |
<
|
Move the pointer to the left |
Terminal |
+
|
Increment the memory cell at the pointer |
Clock |
-
|
Decrement the memory cell at the pointer |
Write |
.
|
Output the character signified by the cell at the pointer |
Calendar |
,
|
Input a character and store it in the cell at the pointer |
Calculator |
[
|
Jump past the matching Reversi if the cell at the pointer is 0
|
Reversi |
]
|
Jump back to the matching Calculator if the cell at the pointer is nonzero
|
Everything other than these above is a comment and it's ignored. But if you comment with these, it's executed as a command and it's a error.
Examples
Hello, World!
Quite long, but I can show here (compressed with WinRAR as ZIP and encoded in Base64)...
UEsDBBQAAAAIAFyPu1g6V2hqewAAAKwFAAAJAAAAaGVsbG8udHh0C0ktys3MS8zh5aIOyzkxJ7k0J7Ekv4iXKyAxM68EWZI6LL/8ktSCxBSgXTn5ydm8XEGpZalFxZk0sy+8KLMklQqmD1iADVzAQoOOqvFAjJlDIc6oFdpQr0JNoSoFNRruUmwMKGOg0iwpyQBKkZKASA4rCoMa1aVozgEAUEsBAh8AFAAAAAgAXI+7WDpXaGp7AAAArAUAAAkAJAAAAAAAAAAgAAAAAAAAAGhlbGxvLnR4dAoAIAAAAAAAAQAYAPOWNWZGsNoB4281Zkaw2gFuNwVmRrDaAVBLBQYAAAAAAQABAFsAAACiAAAAAAA
Here's the KZIP version:
UEsDBBQAAgAIAF2Pu1g6V2hqeAAAAKwFAAAJAAAAaGVsbG8udHh0zZOxCoNgDIT3QJ7KvRQpdA42Q2j0lxh9/i7ZWrp4otOFDJfjO/LQGG0SZ8JMnfiwumQLprvYlEzoE7eWOsuLqfM2vJl63TQWO+zeMywV4A4Gdn2whQ7aQ8nFOjuPdvEoF7CUdSX9M+AR41+3pJZgqjtr+Jn0K84HUEsBAhQAFAACAAgAXY+7WDpXaGp4AAAArAUAAAkAAAAAAAAAAAAgAAAAAAAAAGhlbGxvLnR4dFBLBQYAAAAAAQABADcAAACfAAAAAAA
Rickrolling, by printing all the lyrics of "Never Gonna Give You Up"
TOO long. See here: Windows 1.0/Rickroll
99 Bottles Of Beer
Too long. See here: Windows 1.0/99 Bottles Of Beer
Computational class
Windows 1.0 is turing-complete because Brainfuck, Numberfuck, Hanzifuck and Mariofuck are also turing-complete!