# Talk:Malbolge Unshackled

## Disadvantage of Malbolge Unshackled

It is impossible to generate numbers the first trit of which is 2 without reading EOL or EOF from stdin. The reason is as follows. The rotate operator cannot be used to change the first trit, because only the right-most trits are modified. The crazy operator cannot generate any 2-trit from 0-trits and 1-trits.

In consequence, EOL cannot be printed out until EOL or EOF has been read, so \10 must be printed instead. Further, memory cells at ...22, ...21, and so on cannot be accessed (at least, until EOL or EOF has been read). However, the second fact doesn't seem to decrease the power of Malbolge Unshackled.

A fix could be to define the rotation command as follows.

- Let w be the rotation width.
- Let ...x
_{n}...x_{2}x_{1}x_{0}denote the number to be rotated, where x_{n}is repeated indefinitely to the left and n≥w. - The result of a rotation is defined as ...x
_{0}x_{w-1}x_{w-2}...x_{1}, where x_{0}is repeated indefinitely to the left.

For comparison, the result of a rotation is defined by ...x_{n}...x_{w+1}x_{w}x_{0}x_{w-1}x_{w-2}...x_{1} at the moment.
Malbranche (talk) 22:54, 4 July 2016 (UTC)