Design for Abstract Description Language of C++ Class Template

Author
WangFeng
Advisor
HeZuo
School
Changsha University of Science and Technology
Major
Computer Applications
Classification
TP312.1 Programming language ALGOL
Degree
Master's thesis
Year
2008
Downloads
124
Citations
2

Request the full text

Abstract

Currently, the mainstream of software development is the object-oriented technology , C is one of the well-known object-oriented language . C in the template as a tool that can be used to develop more efficient and more intelligent software . In fact , the template has become the cornerstone of many of the C programming example . Due to the combination of class template inheritance , the hierarchy of the so-called class template . VC 6.0 compiler environment , a description of the relationship of the class template is very tedious to repeat write a lot of code and the logical structure of the relationship between the expression is not very clear . The article discusses how a relatively simple way to represent the relationship between the class template hierarchy allows the programmer to focus on the architecture rather than the details of the deal . As follows : 1 . Research overview of the development of the class template and class template in program design inadequacies . Read the relevant literature on this basis , to put forward their own programs . Design a class template hierarchy description language . It is easy to use ; hierarchical relationship between the description of the class , class template and class template instance , that is simple and practical without losing support for details . Initial realization by ADLCTH program to C program conversion system and compiler environment . Conversion system design considerations for new language support problem , that there is a certain openness . Above , the full implementation of these goals , help as to improve the work efficiency of programming aids .

Table of contents

Abstract 5-6 ABSTRACT 6-9 first chapter 9-16 1.1 issues raised 9-13 1.2 content and Research 13-14 1.3 thesis structure 14-16 Chapter II class template hierarchy abstract description language 16-28 2.1 design goals 16 2.2 design principles 16-17 2.3 lexical rules 17 2.4 template hierarchy model 17-19 2.5 class template concept abstract 19-22 2.6 class template relations abstract 22-25 2.6.1 the Father and of the Son and of the relationship between abstract 23-24 2.6.2 inheritance of R specific abstract 24-25 2.7 Syntax Notation design 25-27 2.8 This chapter Summary 27-28 the the third chapter ADLCTH language design and realize 28-37 3.1 context-free grammar About 28 the 3.2 ADLCIH language defined 28-36 lexical 3.2.1 ADLCTH usual 29 3.2.2 ADLCHT syntax and semantic rules 29-35 3.2.3 ADLCHT sample program 35-36 3.3 This chapter Summary 36-37 the the fourth chapter ADLCHT language to C conversion 37-49 4.1 tools choose 37-38 4.2 compiler design 38 4.3 compiler development environment 38 the the 4.4 various modules and the relationship between the 38-39 4.5 lexical analyzer part of the realization of 39-41 4.6 parser part of the realization of 41-42 4.7 Forecast and Analysis Table realization 42-43 4.8 symbol table design to achieve 43-46 4.9 semantic analyzer design work 46-47 the 4.10 code generation design and implementation 47-48 4.11 This chapter Summary 48-49 Chapter V Conclusion 49-51 5.1 summarizes 49 5.2 Looking 49-51 the References 51-55 Acknowledgements 55-56 the Appendix (degree during the academic papers) 56

Related dissertations

  1. Application Development Method Supporting Enterprise Business Process Improvement
    YeZhiBao ·Institute of Software ·2002 ·Doctoral dissertation
  2. The Research on the Architecture and Critical Driving Factors of International Marketing Dynamic Capabilities
    LiWei ·Nankai University ·2012 ·Doctoral dissertation
  3. Research on the Key Factors of Product Family Architecture and Their Correlation Effect Based on Customer Perspective
    ZhiHuaZuo ·Tianjin University ·2012 ·Doctoral dissertation
  4. Product After-sales Service in Problem-oriented of E-Learning System Architecture
  5. A Study on the Architecture of Semantic Peer-to-Peer Web
  6. Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
    KongJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Research on Mission Planning and Re-planning for AUV
    LiuHaiTao ·Harbin Engineering University ·2013 ·Master's thesis
  8. Research on Path Planning of AUV Autonomous Docking and Semi-physical Simulation System
    LiYiMing ·Harbin Engineering University ·2013 ·Master's thesis
  9. Research on Self-Organizing and Cross Architecture of Human Computer Interaction System under Ubiquitous Environment
    ZhangZhanYing ·Nankai University ·2012 ·Doctoral dissertation
  10. The Design and Implementation of Website Construction Based on OpenCms Technology
  11. Design and Implementation of Website Security Protection System
  12. Provincial Internet Network Structure and Protocol Optimization
  13. The Paradigm of Architecture and Optimization of Integrating for Data Mining Algorithms and Multi Agent Systems with Business Intelligence
    Gebeyehu Belay Gebremeskel ·Chongqing University ·2013 ·Doctoral dissertation
  14. The Design and Relization of the Meteorological Emergency Service System
  15. The Development and Application for the Integrated Billing Inquiries System of Zhengzhou Unicom
  16. Design and Implementation of Materials Management System of Multi-level Educational Institutions
    PeiZhiChao ·Northeastern University ·2013 ·Master's thesis
  17. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  18. The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
    LinYan ·Dalian University of Technology ·2013 ·Master's thesis
  19. Design and Implementation of Tianhua College Office System
    JieJian ·Dalian University of Technology ·2013 ·Master's thesis
  20. Universities Fixed Asset Lifecycle Management System Design
    JiangChuanLin ·Dalian University of Technology ·2013 ·Master's thesis