From Esolang
Jump to navigation Jump to search

Leading zeros

So how do you distinguish between brainfuck programs + (OCT "2"), >+ (OCT "02") and >>+ (OCT "002")? (Unary does it by adding a 1 in front of the number.) --fizzie 07:01, 27 April 2012 (UTC)

If the tape is unbounded in both direction, then I do not think is necessary to distinguish those. If the tape is starting pointer on the left edge so cannot go more left, then instead make 0 to mean < and it is still unnecessary to distinguish. So either way, is not problem. --Zzo38 (talk) 21:45, 5 September 2012 (UTC)