Content area

Abstract

Source code conversion between different programming languages is always a very important task for the migration of existing software systems. This dissertation deals with bi-directional source code conversion between Visual Basic .NET and C#. Both languages are based on Microsoft .NET environment, which is a common platform to support multiple languages. This dissertation presents a common code model as the central data structure for the source code conversion. The common code model provides a complete and accurate description of source code in different programming languages. The description of the proposed conversion system based on the common code model is presented. The system provides a systematic approach for source code conversion and is composed of three phases, i.e., importing phase, adjustment phase, and exporting phase. The importing phase includes the scanning step, parsing step, model importing step, and binding step. The result of the importing phase is a complete and accurate description of the original source code. The adjustment phase adjusts the code model such that it will be compatible with the target programming language. The exporting phase generates the source code in the target programming language from the adjusted code model. System architecture for the code conversion is designed to organize common tasks into shared service modules to improve the efficiency of the conversion system. Additional conversion issues, including conditional compilation and partial code conversion, are discussed from the viewpoint of their required design modification in the conversion system and required extra complexity in data structure. A concept-proving experimental system, named GodeGen, is implemented by combining all the above mentioned ideas.

Details

1010268
Title
Design considerations and techniques for the conversion between Visual Basic .NET and C#
Author
Number of pages
187
Degree date
2009
School code
0659
Source
DAI-B 71/06, Dissertation Abstracts International
ISBN
978-1-124-01046-5
University/institution
Syracuse University
University location
United States -- New York
Degree
Ph.D.
Source type
Dissertation or Thesis
Language
English
Document type
Dissertation/Thesis
Dissertation/thesis number
3410015
ProQuest document ID
613940491
Document URL
https://www.proquest.com/dissertations-theses/design-considerations-techniques-conversion/docview/613940491/se-2?accountid=208611
Copyright
Database copyright ProQuest LLC; ProQuest does not claim copyright in the individual underlying works.
Database
ProQuest One Academic