It seems like it's yet to be done. J2K might help do it though as there's a Java impl in linked Google's repo.
e
elizarov
02/10/2020, 5:04 PM
I just recently wrote a pure-Kotlin implementation of Myers greedy algorithm to compute the difference between two sets of lines, though it can only compute small differences (<= 100 lines) reasonably fast. Feel free to copy-paste it and adapt for your needs (it has Apache 2.0 license): https://github.com/Kotlin/kotlinx-knit/blob/master/kotlinx-knit-test/src/KnitDiff.kt