def gr.step
import bend-kit-unicode@0.1.0.0/unicode.bend as Unicodeimport Base
import bend-kit-unicode@0.1.0.0/tables.bend as T
215def gr.step(z: Gr, +c: U32) -> Gr:
216 Gr{+p, +ri, +ep, +incb, cur, out} = z
217 +q = T.gb(c)
218 gr.cut(brk(p, q, ri, ep, incb), q, next.ri(p, q, ri), next.ep(q, ep), next.incb(q, incb), c, cur, out)