Design and Implementation of Programming Environment for Language G(?)del

Author
HouMiNa
Advisor
ZhaoZhiZhuo
School
Xiamen University
Major
Applied Computer Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2007
Downloads
19
Citations
1

Request the full text

Abstract

G(o|¨)del is a declarative, general-purpose , high efficiency logic programming language succeed to language Prolog. G(o|¨)del discards the unlogic ingredient and tries to solve the semantic problem in language Prolog. Based on the original Prolog language and the years’research on logic programming, G(o|¨)del introduces to type system, modules, delay and commit control rules in language. It also provides with the facility of abstract data type (ADT) and meta-programming, all of these ingredients make the new language more expressive.The importance of the logic programming has been familiar to programmer years before. But to be a new logic programming language, G(o|¨)del needs some time and practices to make itself to be accepted and popular, which especially requires the support of the appropriate compiler and development environment of this language. In this paper, we design and primarily implement a programming development environment for G(o|¨)del (GPDE) succeed to the development of the G(o|¨)del compiler which designed and Implemented by others member in project team. GPDE is a visual programming development environment running under Windows environment. It has many the functions such as programming, file edit, program compiling, loading and linking, running and debugging, and program running. So it can provide well support for G(o|¨)del programming.According as the development principle and style of modern system software, in this paper, we design and give the system framework model of GPDE based on requirement analysis and function analysis. We discuss the work principle of the module and the design ideas of the main function module. Then we give the connection of the compiler and inference machine with GPDE, and emphasize the implementation method and technique of the Multi-Document-Interface (MDI) source code editor, project manager and the visual computation technology.Module system is one of the main ingredient and facility of G(o|¨)del, it support the programming of abstract data type (ADT). G(o|¨)del language itself has a rich system modules library, it provides with abstract data type which hardly satisfies all the application for users.The organization and implementation for the module system in GPDE will provide with a separate compiling implementation facility for G(o|¨)del language’s compiling system .The module system we have implemented provides a compile-link module which supports separated compiling and type-safe linking facility. In this paper, we give a detail design and analysis for the organization and implementation of the module system in GPDE, firstly, we give the function framework,secondly,We give the detail design and implementation for the pre-compiling processor, module storage and the intermediate file which generated by separated compiling. At last we give the implementation examples of the system module.On the whole, the G(o|¨)del programming environment GPDE which we design and implement has the basic function component of modern advanced programming environment. GPDE will basically help with the popular and deep study of language G(o|¨)del. We believed that G(o|¨)del language will be able to receive more attention and obtain a more widespread use with the mature of G(o|¨)del programming environment.

Table of contents

Summary 4-6 Abstract 6-14 The first chapter 14-25 1.1 G (o | ¨) del main features of the language and its impact on program design environment 14-21 1.1.1 G (o | ¨) del language type system 14-16 1.1.2 G (o | ¨) modular program structure del language 16-18 1.1.3 G (o | ¨) control mechanisms del language 18-20 1.1.4 G (o | ¨) del meta- language program support mechanisms 20-21 1.2 G (o | ¨) Background del language and scientific significance 21-23 1.2.1 Background 21-22 scientific significance 1.2.2 Research 22-23 The main work of this paper 1.3 23-25 Chapter II program designed language development environment overview 25-32 Implementation 2.1 high-level language programming environment 25-29 2.1.1 Development of high-level language programming environment 25-26 Development Status 2.1.2 high-level language programming environment 26-27 structural design and implementation 2.1.3 high-level language programming environment 27-29 2.2 implementation logic programming language environment 29-32 2.2.1 Development of logic programming language 29-30 2.2.2 logic programming language development status of 30 2.2.3 logical structure design and implementation of programming language environment 30-32 Chapter III G (o | ¨) del language programming environment (GPDE) overall analysis and design 32-44 3.1 G (o | ¨) demand del programming language environment analysis 32 3.2 G (o | ¨) function del programming language environment analysis 32-33 3.3 G (o | ¨) functional and structural design nbsp del language programming environment ; 33-36 3.3.1 The overall design concept 33-35 3.3.2 features modular design 35-36 3.4 compiler and inference procedures relationship with GPDE of 36-44 3.4.1 G (o | ¨) achieved Profile del language compiler 36-38 3.4.2 compiler relationship with GPDE of 38-39 3.4.3 G (o | ¨) achieved Profile del language inference engine 39-41 3.4.4 inference engine program relationship with GPDE of 41-44 Chapter IV G (o | ¨) del language programming environment (GPDE) implementations 44-57 Environmental analysis tools and techniques to achieve 4.1 GPDE 44-49 The basic concept 4.1.1 message 45 4.1.2 Windows messaging system 45-47 4.1.3 C + + Builder messaging system 47-49 4.2 GPDE achieve the main function modules 49-57 4.2.1 supports multi- document interface source code editor 49-51 4.2.2 Project Explorer 51-53 4.2.3 Visualization 53-57 Chapter V G (o | ¨) module system mechanisms del organization and implementation of the language in GPDE the 57-80 5.1 Basic Concepts of abstract data types and modules 57-58 5.2 G (o | ¨) del language module Introduction 58-61 5.3 G (o | ¨) del language compiler system module system in the organization and implementation 61-73 The basic concept 5.3.1 compiled module system implemented 61-64 5.3.2 G (o | ¨) del system implementation language module function and structure 64-66 5.3.3 preprocessor 66-68 5.3.4 memory module design 68-69 5.3.5 module file intermediate files compiled independently represent 69-72 5.3.6 Dynamic Link and assembly 72-73 5.4 G (o | ¨) to achieve del language system modules 73-80 achieve 5.4.1 system modules 74-75 Dynamic Invocation 5.4.2 system modules 75-77 5.4.3 System module instance 77-80 Chapter VI system operation and analysis 80-83 6.1 a program developed using GPDE instance 80-81 6.2 testing and performance analysis 81-83 Chapter VII Summary and Outlook 83-85 7.1 summarizes 83 The main work 7.2 GPDE prospects and the next paragraph 83-85 References 85-88 Graduate research during 88-89 Thanks 89

Related dissertations

  1. The Design of Module System Based on CSP Technology
  2. The Study for the Visualization of G(?)del Programs
    WangLiangLin ·Xiamen University ·2008 ·Master's thesis
  3. Godel thinking about absolutely undecidable propositions
    ZongWeiHan ·Fudan University ·2010 ·Master's thesis
  4. Godel 's concept of realism
    YangYongMing ·Fudan University ·2010 ·Master's thesis
  5. Godel : Mathematics is not the language syntax
    ZhuZengYue ·Fudan University ·2011 ·Master's thesis
  6. A Study on the Application of Traditional Module Ideology in Landscape Form Design
    GuoWeiQin ·Suzhou University ·2011 ·Master's thesis