rfx icon indicating copy to clipboard operation
rfx copied to clipboard

Update diff with meyers_difference

Open dgoldie opened this issue 3 years ago • 1 comments

dgoldie avatar Jul 09 '21 22:07 dgoldie

Doug: thanks a lot for this! I merged your PR into a dev branch, ran the tests and had a bunch of failed cases. Also: I wonder if the Meyers diff can be translated to/from JSON. Meyer's diff produces a data structure like [[:ins, "Text"], [:eq, "x = 1\n"]]. When you translate back/forth to JSON, the atoms are converted to strings. Will Meyer's diff work with string "keys"?

Please update PR with:

  • 100% passing tests
  • passing tests that demonstrate JSON conversion

THANKS!

andyl avatar Jul 16 '21 16:07 andyl