This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* EBNF grammar for diff output in normal, unified, and git formats *) | |
(* Author: Pedro R. Borges *) | |
(* Read the accompanying article at https://www.prborges.com/2023/grammar-for-diff-output *) | |
diff = emptyDiff | normalDiff | uniDiff | gitDiff ; | |
(* 1. Empty diff *) | |
emptyDiff = "" ; |