How to merge program texts

Wuu Yang*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

16 Scopus citations


Software usually exists in multiple versions. All these versions must evolve in parallel. We propose a program-merging system that helps programmers to manage the evolution of all versions, which is much needed in software development and maintenance environments. The system can either combine two programs or it can combine changes to a base program. The system consists of three stages: a syntax-based comparator, a synchronous printer and a merging editor. Based on the differences between the two programs identified by the syntax-based comparator, the synchronous printer combines the texts of two programs. Because there may be conflicts between the two programs, a merging editor provides the user with commands to resolve the conflicts. Another distinct feature of the merging system is the generator approach to producing syntactic program comparators for new programming languages.

Original languageEnglish
Pages (from-to)129-135
Number of pages7
JournalThe Journal of Systems and Software
Issue number2
StatePublished - 1 Jan 1994

Fingerprint Dive into the research topics of 'How to merge program texts'. Together they form a unique fingerprint.

Cite this