Уже третий раз кто-то исправляет моё исправление в английской википедии в статье про brainfuck.
Рассудите, кто из нас неправ. Несовпадение мнений у нас по поводу двух операторов: [ и ].
[ - if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching ] command.
] - if the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching [ command.
Я считаю, что аналогом этих операторов в Си буду конструкции:
] - if (*p) do {
[ - } while(*p);
В статье же постоянно исправляется на
[ - while (*ptr) {
] - }