Task

Produce a sequential count in octal,   starting at zero,   and using an increment of a one for each consecutive number.

Each number should appear on a single line,   and the program should count until terminated,   or until the maximum value of the numeric type in use is reached.



Related task

   Integer sequence   is a similar task without the use of octal numbers.


}:l:>     Start loop, enqueue Z (initially 0).
  }:o:    Treat the queue as a stack and
    <:8:= accumulate the octal digits
    /=>&~ of the current number.
  ^:o:
 
  <:0:-   Get a sentinel negative 1.
  &>@     Enqueue it between the digits and the current number.
  {       Dequeue the first octal digit.
 
  }:p:
    ~%={+ Rotate each octal digit into place and print it.
  ^:p:
 
  <:a:~$  Output a newline.
  <:1:x{+ Dequeue the current number and increment it.
^:l: