From Esolang
Jump to: navigation, search

>+ and <

Using >+ and < in opposite directions won't work, because how would you do a loop that moves an arbitrary number of cells right? Any loop would have to run an equal number of up/down and left/right commands. However, the number of vertical vs. horizontal movements can be varied. How about this proposal: [note: edited later by Graue to switch up and down]

Up = >
Down = nop
Left = <@
Right = nop

Where we'd also switch to bits and @ would flip the bit. Also, we'd switch TL0 and TL1: in the new language, TL0 would be the bit you flip to do an output operation, and TL1 would be the bit that got read or written. Input and output could be buffered and done one bit at a time MSB first. Thoughts? --Graue 17:40, 30 Jul 2005 (GMT)

The above cannot output 0 bits. TL2 needs to be special as well. If TL0 is flipped, then:

If TL1 and TL2, then a 1 bit is output.
If TL1 and not TL2, then a 0 bit is output.
If not TL1, then a bit is input and saved in TL2.

That should do it. --Graue 18:01, 30 Jul 2005 (GMT)

I've switched up and down so that you can get away from the starting position (go down and right) easily without doing anything. --Graue 19:13, 30 Jul 2005 (GMT)

What about Black?

Black is a two dimensional language with only 2 (types of) symbols: whitespace and non-whitespace. Should it get a mention?

Alksentrs 00:11, 11 January 2008 (UTC)

Not sure what kind of mention you mean, but I've linked it now to "See also". --Keymaker 10:22, 12 January 2008 (UTC)
For that matter, what about Wierd? "In Wierd, there are only two symbols: whitespace and everything else." --Chris Pressey 02:16, 20 November 2010 (UTC)