Font Size: a A A

Design For Abstract Description Language Of Function Template With Transformation Toward C++

Posted on:2009-10-09Degree:MasterType:Thesis
Country:ChinaCandidate:C L ZhangFull Text:PDF
GTID:2178360242992865Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Description, which is developing along with human practice, is an important process of human civilization. Computer programming language is a description mark with grammar and semantic that people specially have designed to describe calculate process.The development of programming language has gone through several stages. At present, it is widely used to develop software systems by people with object-oriented programming language. Object-oriented technology have greatly increased the efficiency of software development, among them,reuse technology is one of the important mechanisms to improve the efficiency of software development. So the paper attempts to put forward a reasonable description method, and further abstract the function templates that can effectively reduce the source code and enhance software maintainability, design an abstract description language of function templates, and make a research for transformation system from the language to C++. The main work in this paper can be summarized as follows:1. Design a kind of Abstract Description Language of Function Template(Adloft). By deeply studying the description characters of function templates, abstractly attracting the common about statements, design an Adloft which to applying the language to generating the required function templates when use a large number of function templates in program design, thus which can reduce the workload of program designer.2. Design the transformation system which can transform the Adloft program to C++ program. The system includes the design and implementation of lexical analyzer, semantic analyzer, symbol table and code generator. In this paper, some common design patterns be used, which make the modularization is good and the system is easily maintained and updated.
Keywords/Search Tags:Description, SoftWare Reuse, Adloft Language, Function Template, Transformation System
PDF Full Text Request
Related items