Try harder to un-mangle the Markdown.
catseye
10 years ago
143 | 143 | input bits, creating rooms thusly, terminating when there are no more |
144 | 144 | input bits. |
145 | 145 | |
146 | The following program is a variation of the above which, when it | |
146 | We can write a program that is a variation of the above which, when it | |
147 | 147 | encounters the end of input, writes out the bits in the reverse order |
148 | 148 | they were read in, with the following changes: |
149 | 149 | |
150 | 150 | * for every `1` in the input, a `1` comes out |
151 | 151 | * for every `0` in the input, `10` comes out |
152 | 152 | * there's an extra `1` at the end of the output |
153 | ||
154 | Here is the program: | |
153 | 155 | |
154 | 156 | +------------+ |
155 | 157 | | /} | |