Compiling regex syntax rules into a neural network nobody trained
RibbonDiff 4.2.9 colors code with small recurrent networks whose weights are compiled from the old regex rules, not learned. How the compiler works, how the output is kept identical to the regex rules, and what it took to make it faster than they were.
Read article