Font Size: a A A

Heterogeneous Programming Language Translation Of Model Design And Methods Of Research

Posted on:2006-09-25Degree:MasterType:Thesis
Country:ChinaCandidate:L LiangFull Text:PDF
GTID:2208360152997337Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the development of computer science, the computer technologies are applied to more and more field. Various software are made out to serve our living, learning and working. Also, so many programming languages are created and used to made out software. Software engineers have written many source codes by these programming languages. Many source codes are closed to others in function, some mean the same function indeed. These codes are written by different programming languages, so it is hard to transplant and reuse these source code directly. In order to improve these code's capabilities of transplant and reuse, improve the efficiency of software developing, reduce the developing cost and be easy to redeveloping, all software engineers want to carry out the translation and conformation between the program code that are written by the different programming languages. What this paper expatiate is just about the researching of this thesis. In this paper, we described the designing and achievement of a model system. The whole achievements of this model system base on the formal language and automaton theories and the whole model system draws lessons from compiler system. Each parts of the model system does some analysis and processing, analyzing lexical,syntax and semantic of source program step by step, dividing source program to word or symbol which can be translated and transformed directly. At the end, we can translate and transform this source program to another programming languages. The contents of this paper expatiate some consideration and effective methods of carrying out the translating and transforming between the different programming languages'source codes.
Keywords/Search Tags:Token, Token-Dictionary, Translation-Transform, Syntax Tree, Semantic analysis
PDF Full Text Request
Related items