Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Functions for discovering, viewing, and managing diffs
Contributed by: Lou D'Andria
DiffTools provides functionality for comparing strings, lists, cells, notebooks, and other Wolfram Language objects. In addition to computing and applying 2-way and 3-way diffs, DiffTools implements a variety of textual and graphical diffing views.
DiffTools is a prototype of functionality expected to be integrated into a future version of the Wolfram Language. The design of DiffTools functions and their outputs is a work in progress, and may change over time.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Wolfram/DiffTools"]
To load the code after installation, evaluate this code:
Needs["Wolfram`DiffTools`"]
Diff two strings:
In[1]:= | ![]() |
Out[1]= | ![]() |
Diff two lists:
In[2]:= | ![]() |
Out[2]= | ![]() |
Diff two text files:
In[3]:= | ![]() |
Out[3]= | ![]() |
Diff two notebook files:
In[4]:= | ![]() |
Out[4]= | ![]() |
Diff the StandardForm display of two expressions:
In[5]:= | ![]() |
Out[5]= | ![]() |
Diff two BioSequence expressions:
In[6]:= | ![]() |
Out[6]= | ![]() |
Perform a 3-way diff:
In[7]:= | ![]() |
Out[7]= | ![]() |
Wolfram Language Version 14.0