October 16, 2006 Has someone ported Python's difflib already? | ||||
---|---|---|---|---|
| ||||
Hi, just to avoid doing it once more: Has someone already ported Python's difflib to D, especially the SequenceMatcher class. The comments state that: "The basic algorithm predates, and is a little fancier than, an algorithm published in the late 1980's by Ratcliff and Obershelp under the hyperbolic name 'gestalt pattern matching'." Or, maybe, is there already another D class around which can compare two files or byte arrays (or, better, arbitrary arrays) and create a list of commands (delete, insert, modify) to transform one array into the other? Michael |
October 16, 2006 Re: Has someone ported Python's difflib already? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael Butscher | Not that I know of. I think it'd be cool to get it for D. |
Copyright © 1999-2021 by the D Language Foundation