type Tr
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
1505# next: the state after the char; hit: 1 + the index of the thread that matched, or 0;
1506# fresh: no match yet and every new thread comes from the seed, so the next state is a fresh start.
1507type Tr is Data:
1508 TrNo{}
1509 TrSame{}
1510 Tr{next: U32, hit: U32, outs: List<&2, Op>, fresh: Bool}