Grammars form an integral part of grammarware. When a grammar evolves, the grammarware has to evolve with it. In this process, the exact changes in the grammar have to be found and changes have to be made to parts that rely on the changed grammar parts. This thesis presents an algorithm, cfgDiff, which can find the difference between two context-free grammars. Using a model which handles both the ordered and unordered elements of a grammars, the algorithm can provide concise edit scripts.
, ,
,
T. van der Storm (Tijs) , J.J. Vinju (Jurgen)
Software Analysis and Transformation

Fluit, R. (2011, September). Differencing Context-Free Grammars.