Apla-Java Automatic Program Transformation System with Generic Programming Supported

Author
ShiHaiHe
Advisor
XueJinYun
School
Jiangxi Normal University
Major
Computer Software and Theory
Classification
TP311.1 Programming
Degree
Master's thesis
Year
2004
Downloads
71
Citations
3

Request the full text

Abstract

Since software crisis broke out, there have many new methods and new tools available to solve problems resulted from it. However, these existing solutions can’t liberate people from software crisis thoroughly. Developing correct and efficient algorithmic programs with formal methods is called revolutionary approach by current computer world to overcome software crisis and improve software’s reliability and productivity.According to research of several projects supported by 863 Hi-Tech Programme and National Natural Science Foundation of China, Professor Xue proposed a simple and practicable approach for formal development and proving of Algorithmicprograms--PAR approach. In addition, Radl is defined for describing algorithmicspecifications and algorithms, and Apia is defined for describing abstract programs.Automatic program transformation is the important component of PAR method, which is aided tool for developing advanced language program with PAR method. The research work of this paper is to provide a practicable tool to support the automatic transformation from generic Apia program to Executable Java programs, which is a sub research project of the two National Natural Science Fund projects which Xue Jinyun is taking charge of.The primary works we have done in this paper are listed as follows:1 testing and maintaining the existing automatic transformation system.2 optimizing and adjusting the structure of the existing self-defined Java class library, then extending it.3 refactoring the transformer; strengthening the existing function of the transformation system and add some new features for the system.4 strengthening the parameterized types function of generic problem; implementing the function of parameterized operation and allowing the operation parameter’s name is some special symbol.5 researching how implementing Apia generic program in Java and proposing corresponding translation rules; now system supports generic program function.6 researching how implementing Apia user self-defined ADT in Java and propose corresponding translation rules; According to those rules, system have implemented the transformation of self-defined ADT.Now some tools for formal methods can only supported specification edit, specification refinement and manual proving, but this system has the following features and innovations that differentiate it from those tools:1 it is an important component of the PAR method. Radl describes the algorithm and Apia program generates from it. Radl has reference transparence and detach thealgorithm from program, which make derivation of algorithm and program easy and guarantee the correctness of Apia program.2 it allows user to describe Apia program with simple mathematical symbols.3 compelling the use of ADT to design and describe program, which make user can pay more attention to derivation algorithm.4 supported by component library, user can employ complex data type as simple data type.5 supporting Apia program edit, Apia program compiling and Apia program implementing, which is very convenient for user.6 supporting the programming ICAI system which is researching by our project group.7 can improve software’s reliability and productivity which contributes resolving of the software crisis.There are obvious mechanisms for generic programming in Apia while Java doesn’t have them, which is the paper’s keystone and difficulty. Implementing generic programming in Java is the paper’s innovation.

Table of contents

Introduction Background 7-10 7-8 The main work and organization 8-10 1 of this article 8-9 This paper is organized 9-10 the first chapter of formal software development methodology Overview 10-19 1.1 Formal Methods 10 1.2 formal software development methodology and its significance 10-11 1.2.1 formal software development methodology 10-11 1.2.2 in the form software development methods. 11 1.3 research status and existing problems 11-19 1.3.1 the VDM method (Cliff Jones) < br /> 1.3.2 Z-method (Spivey); 12-13 1.3.3 the RAISE methods (Nielsen); 13 1.3.4 B method (JRAbrial), 13-14 1.3.5 PAR methods (Xue) 14-19 APLA-> JAVA automatic program conversion system introduced 19-22 <br / 2.1 System structure 19 2.2 system has been functional 19 2.3 system is running and use 19-20 2.3.1 runtime environment 19-20 2.3.2 system using the 20 2.4 system to be perfect at 20-22 Chapter III of the original system reconstruction and improve 22-35 3.1 of the original system reconstruction 22-28 3.1.1 Reconstruction of basic knowledge [5] 22-23 < br /> 3.1.2 Java reusable class library reconstruction 23-25 ?? 3.1.3 converter refactoring 25-28 3.1.4 Reconstruction of summary 28 3.2 JAVA language and JAVA program performance optimization 28-33 3.2.1 of the Java language 28-30 3.2.2 Java program performance optimization 30-33 3.3 system improvement and new features to add 33-35 3.3.1 perfect work 33 3.3.2 add features 33-35 Chapter generic mechanism to achieve in the APLA-> JAVA automatic program conversion system 35-68 4.1 Generic Programming basics of 35-36 4.1.1 Generic Program design concept 35 4.1.2 Generic Program design role 35-36 4.2 APLA language is Generic Programming 36-43 4.2.1 generic subroutine 36-38 4.2.2 Generic Program 38-40 4.2.3 users to customize the ADT type 40-43 4.3 JAVA language generic program designed to achieve 43-44 4.4 APLA in generic mechanism in the conversion system achieve 44-58 4.4.1 generic subroutine to achieve 44-48 4.4.2 Generic Program to achieve 48-52 <br / 4.4.3 to achieve user-defined generic ADT 52-57 4.4.4 conversion rules of correctness 57-58 4.5 System Operation 58-68 4.5.1 Kleen algorithm.; 58-63 4.5.2 universal pre-order traversal binary tree.; 63-67 4.5.3 operating results summary 67-68 Chapter V Conclusion 68-71 5.1 This work summary 68-69 5.1.1 theoretically is 68 < br /> 5.1.2 to achieve 68-69 5.2 further work 69 5.3 Looking 69-71 References 71-74 Acknowledgement 74

Related dissertations

  1. Design and Implementation of Apla to C# Automatic Program Transformation System
    ZuoZhengKang ·Jiangxi Normal University ·2004 ·Master's thesis
  2. APLA-Delphi Automatic Program Transformation System with Generic Programming Surpported
    ZhouZuo ·Jiangxi Normal University ·2003 ·Master's thesis
  3. Research on the Parallel and Concurrent Mechanism of Apla-Java Reusable Components
    JieAnQuan ·Jiangxi Normal University ·2003 ·Master's thesis
  4. Development of APLA-JAVA Automatic Program Transformation System
    LuoJian ·Jiangxi Normal University ·2002 ·Master's thesis
  5. Design and implementation of a remote experiment system based on CS4000 platform
  6. The Application and Research of PAR Platform in Software Outsourcing Services
    WuGang ·Jiangxi Normal University ·2013 ·Master's thesis
  7. Design and Implement of Detention Center Information Management System
    TianYanHui ·Tianjin University ·2012 ·Master's thesis
  8. Design and Application of Ziyang Local Taxation Management Information Platform
  9. Design and Implementation of Enterprise Project Audit Management System
    LiEnFeng ·Jilin University ·2013 ·Master's thesis
  10. Research and Implementation of STL Runtime Concept
    ZhangZhe ·Ningxia University ·2014 ·Master's thesis
  11. The Research and Implementation of Coal Mine Equipment Management System Based on the Spot Check Instrument
  12. The Design and Implementation of Instructional System of Java Program Design
    CaoFeiTeng ·Hunan Normal University ·2012 ·Master's thesis
  13. Study on Information Query System of Occupational Disease Prevention Based on JSP
    LiuQunZhi ·Nanchang University ·2012 ·Master's thesis
  14. Design and implementation of distributed test data management system based on wireless communication
    ShenWenWu ·Central South University ·2012 ·Master's thesis
  15. The Design and Implementation of Science and Technology Plan Declaration Management System for Weifang
    WangWeiCheng ·Shandong University ·2013 ·Master's thesis
  16. The Design and Implementation of Album Production Order Management System
    ZhaoLing ·Shandong University ·2013 ·Master's thesis
  17. The Design and Implementation of Construction Enterprise Information Reporting System for Coastal Zone
    ZhangTao ·Shandong University ·2012 ·Master's thesis
  18. The Design and Implementation of VIP Guard Mmanagement System for Weifang Public Security Bureau
    GuoGuangCai ·Shandong University ·2012 ·Master's thesis
  19. The Design and Implementation of Open Education Student Services Management System
    ZhouALiu ·Shandong University ·2012 ·Master's thesis
  20. Design and Implementation of the Sms/mms Operating and Managing System for Jiangsu Telecom
    WangYuJing ·Beijing University of Technology ·2012 ·Master's thesis