Development of APLA to C++ Automatic Program Transformation System

Author
LaiYong
Advisor
XueJinYun
School
Jiangxi Normal University
Major
Computer Software and Theory
Classification
TP311.5 Software Engineering
Degree
Master's thesis
Year
2002
Downloads
80
Citations
7

Request the full text

Abstract

Software crisis is the main factor of software industry’s slow-development. It has the following forms:(l)The quality of software products are very bad;(2)Software products are very hard to maintan;(3)The cost of software products keeps increasing;(4)The productivity of software products can’t keep up with the development of hardware and people’s increasing requirements. The PAR method is a simple and effective method to resolve the software crisis problem and improve software’s quality and productivity. This paper’s research work is an important component of the PAR method and a sub research’project of the Nation’s Natural Science Fund Project "The Research of Applied Formal Develop Methods and Their Tools". This research’s goal is to develop an auto program transforming system to transform an apla program to a C++ program.Aiming at above targets,we have done following research works:1. Researched the main factor of blocking the development of software products. Analysised several typical formal develop methods and choosed the PAR method as this project’s theory basis.2. Developed some typical algorithm programs. Lots of sample show the PAR method is indeed a simple and effective formal develop method.3. Compared apla language’s grammar with C++ language’s grammar and researched the transforming rule.4. Researched the transforming rule of transforming apla’s generic programs to it’s equivalent C++-programs.5. Developed the core translator to transform the apla’s abstract datatype to C++’s class library.6. Developed the apla to C++ auto program transforming system.7. Using lost of Apia programs to test this system.This auto program transforming system has 11,000 and more codes and we have used lots of strictly-proved apla programs to test it. The Apia language has fully absorbed the modern programming technique of data abstraction and function abstraction. It used many traditional mathematical symbols and fitted the mathematical custom,so the correctness of the programs which were written by Apia language are very easy to prove. The core translator’s reliability has been strictly tested. So the correctness of the C++ programs which were generated by this system from apla programs can be guaranteed. As we can see,this system as a powerful auto software develop tool,can be applied to the real software development procedure,it can improve software product’s reliability and productivity and boost the development of software industry.

Table of contents

Acknowledgements 2-3 Chinese Abstract 3-4 English summary 4-5 directory 5-7 Introduction 7-9 1. Background 7-8 2. The main content of the study nbsp 8-9 Chapter software formal development research; 9-14 1.1 software development difficulties faced 1.2 formal methods of software development the typical 9-10 1.3 formal methods and tools introduced 10-14 the resistance algorithm program development 14-24 2.1 program, algorithm, algorithm 14 2.2 high reliability algorithm development example 14-24 Example 1 solving the minimum and problem 14-16 Example 2 cubic array elements 16-18 Example 3 binary tree traversal algorithm 18 -20 4 single source shortest path algorithm 20-24 Chapter the APLA to the C automatic program conversion system developed 24-34 3.1 automatic program conversion system design 24-25 3.2 automatic program conversion system to achieve 25-29 3.3 automatic program conversion system generic program conversion Design and Implementation 29-30 3.4 automatic program conversion system user interface design and implementation 30-32 3.5 automatic program conversion system installation and operating environment 32-34 3.5.1 automatic program conversion system installation the 32-33 3.5.2 system running environmental 33-34 < br /> the fourth chapter of the system's actual operating results 34-65 4.1 conversion instance: the smallest and problems 34-36 4.2 conversion instance: The cubic array elements 36-37 4.3 instance: quicksort problem 37-40 4.4 Four examples: a binary tree traversal problems 40-42 4.5 conversion Example 5: Dijkstra single source shortest path algorithm the 42-54 convert 4.6 Generic Program instance: Prim's minimum spanning tree algorithm 54-64 4.7 run effects are summarized 64-65 Chapter summary and discussion 65-66 Reference 66 - 68

Related dissertations

  1. The Research of Developing Algorithmic Program Based on PAR Method
    WangSen ·Jiangxi Normal University ·2004 ·Master's thesis
  2. The Research and Application of New Strategies for Developing Loop Invariants on Recursive Problem
    YangQingHong ·Jiangxi Normal University ·2003 ·Master's thesis
  3. Development of APLA-JAVA Automatic Program Transformation System
    LuoJian ·Jiangxi Normal University ·2002 ·Master's thesis
  4. Implementation of Composed Data Type in APLA Through C++
    JiangYiJian ·Jiangxi Normal University ·2002 ·Master's thesis
  5. Implementation of Composed Data Type in Apla Through Delphi
    KangLiang ·Jiangxi Normal University ·2008 ·Master's thesis
  6. Based on a combination of data types Delphi PAR method to achieve
    LiaoWeiBing ·East China Normal University ·2008 ·Master's thesis
  7. The Analysis of Isabelle Theorem Prover and Its Application in PAR Method/PAR Platform
    YouZhen ·Jiangxi Normal University ·2009 ·Master's thesis
  8. The Weakest Pre-Predicate Generator Design and Implementation Based PAR
    YangChen ·Jiangxi Normal University ·2010 ·Master's thesis
  9. Research on C/S Architectural Style Based on XYZ/SE
    LiuManXia ·Hunan University ·2013 ·Master's thesis
  10. The Application and Research of PAR Platform in Software Outsourcing Services
    WuGang ·Jiangxi Normal University ·2013 ·Master's thesis
  11. The Formal Modeling of Network Protocols and Discovery of Attacks Based on Model Checking
    MengGuoZhu ·Tianjin University ·2012 ·Master's thesis
  12. Study on Theory and Applications of Security Protocols Formal Analysis
  13. Formal Research of UML Behavior Diagram Based on Description Logic
    RongXianQiu ·Lanzhou University of Technology ·2012 ·Master's thesis
  14. Formal Verification and Implementation of Shared Memory IPC Mechanism
    GuFei ·Lanzhou University ·2012 ·Master's thesis
  15. Formal Modeling and Verification Research of Automatic Train Protection System
    XiongXiJiao ·East China Normal University ·2012 ·Master's thesis
  16. Research on AADL model generation based on B method
    WangRiLei ·Northwestern University ·2012 ·Master's thesis
  17. Formalization and Model Checking Methods of System Security Model Based on UMLsec
    WeiRan ·Shandong University ·2013 ·Master's thesis
  18. The Research on Software Modeling Methods Based on B Method
    YangLiLi ·Northeast Normal University ·2012 ·Master's thesis
  19. Research on Component Formal Semantic and Combination
    ZhaoShuo ·Zhejiang Normal University ·2012 ·Master's thesis
  20. The Research of Formal Transformation and Verification of UML
    ZhangYang ·Taiyuan University of Technology ·2013 ·Master's thesis