def color.word
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
692def color.word(+s: String, +acc: String) -> U.Scan:
693 match s:
694 case SNil{}: U.Scan{U.rev(acc, ""), ""}
695 case SCon{Chr{c}, tail}:
696 U.branch(U.Scan, U.space(c) || U32.is_eq(c, 44) || U32.is_eq(c, 47) || U32.is_eq(c, 41),
697 _ => U.Scan{U.rev(acc, ""), s}, _ => color.word(tail, SCon{Chr{c}, acc}))