The Formalized Procedural Semantic of Logic Programming Language G(?)del
- Author
- ChangJie
- Advisor
- ZhaoZhiZhuo
- School
- Xiamen University
- Major
- Computer Software and Theory
- Classification
- TP312.1 Programming language ALGOL
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 32
- Citations
- 0
Abstract
G (o | ¨) del Language Following the Prolog logic programming language , it builds in polymorphic class basis of first-order logic , abandon the the Prolog language of non- logical components integrated many languages active ingredients and benefits , the introduction of a type system , which makes it an efficient descriptive logic programming language . However, to date , G (o | ¨) del language compiler system research and development is still slow progress , mainly due to a polymorphic type system , new language component of the modular structure , delay calculation , pruning operation and the introduction of mechanisms , the logic programming language G ( o | ¨) del greatly improve the complexity of the logic programming language is completely different from a recursive , descriptive characteristics , and process-oriented programming language compiler methods and techniques previous compilation methods and techniques of the Prolog language can not simply transplant and copy , A theoretical study of the lag is a direct result of the slow progress of research and development , so far no new progress and system development outcomes reported . In order to facilitate the promotion of G (o | ¨) del language as well as in-depth study , I where the research group is based on a subset of the type of first-order logic Hom G (o | ¨) del language set of theoretical basis , this article in the G (o | focus on the design and Implementation of the compilation system based on ¨) del semantics of the language syntax and formal descriptive language for G (o | ¨) del established strict formal process semantics . This paper first introduces the G (o | ¨) del language fundamentals of grammar , and then elaborate on the subset of first-order logic Hom process semantics based on the type , the introduction of a partial order between the base type , structure type , structure type relations , to discuss the type compatibility relations , type inference and type constraint method , based on the type of constrained unification algorithm and SLD refute digestion method . Then , a comprehensive introduction to G (o | ¨ ) del language program designed various modules . Finally, in the original language of G (o | ¨) del system model based on perfecting the system design ideas . I believe that the support and guidance of the theory , with the gradual development of the follow-up work and G (o | ¨) del language compiler technology matures , G (o | ¨ ) del language will be more attention .
Table of contents
Abstract 4-5
Abstract 5-10
first chapter 10-14
1.1 G (o | ¨) del Language About 10-11
1.2 G (o | ¨) del language theoretical foundation 11-12
1.3 G (o | ¨) del language theoretical research and systems to achieve the status quo 12
1.4 of this paper work 12-14
G (o | ¨) del language syntax 14-26
2.1 type symbol defined 14-16
2.2 type of a first-order language 16-22
2.3 G (o | ¨) del language syntax 22-26
Chapter G (o | ¨) del language formalization process semantics 26-52
3.1 type system 26-36
3.1.1 type ordering relation 27-32
3.1.2 Type partial ordered set 32
the 3.1.3 structure type ordering relation 32-35
3.1.4 compatible with the type 35-36
3.2 type inference and type checking 36-41
3.2.1 type inference algorithm 36-38
the
the 3.2.2 type constraint algorithm 38-40
3.2.3 type calculation rules 40-41
3.3 variable substitution and unification algorithm 41-44
3.3.1 variable displacement 41-42
3.3.2 unification algorithm 42-44
3.4 SLD refute - Digestion law 44-45
3.5 SLD refute the digestion of the correctness and completeness are found; 45-52
3.5.1 SLD refute the the digestion correctness 45-47
3.5.2 SLD refute digestion completeness are found; 47-52
Chapter G (o | ¨) del language programming 52-62
4.1 G (o | ¨) del language type system 52-54
4.2 G (o | ¨) del language control mechanisms 54-57
4.2.1 Calculation Rules 54
4.2.2 delay calculation 54-56
4.2.3 pruning mechanism 56-57
4.3 G (o | ¨) del language module system 57-59
4.4 G (o | ¨) del languages ??Ghost, program design and application 59-62
4.4.1 target program 59-60
4.4.2 dynamic element program design 60-62
Chapter G (o | ¨) del language compiler system implementation principle 62-66
Chapter Summary and Outlook 66-68
the
References 68-70
Acknowledgements 70
Related dissertations
- Research on the Foundamentals of Compilation Correctness and Safety
- A Study of Mobile Computation and Its Security Based on Agent
- Formalizing Type Safety of the Java Virtual Machine
- Secure Information Flow Based on Syntax Analysis
- Archaeological Research on the Konghou Excavated in Xinjiang
- Research and Implementation on Mobile Agent for Network Computing
- Research on Software Architecture-Based Component Model and Language
- Study of the Quasinaomal Modes in Black Hole Spacetimes
- A Study on the Types of Vernacular Architecture in Hubei
- Design and Implementation of Inference Machine for G(?)del Compiler
- Contracting negligence liability type
- Yunnan Ming and Qing Confucian Temple building instance Exploration
- On the Liaodong Peninsula Dolmen Remains
- Machine-dependent optimization
- Formal Modeling and Compatibility Analysis of Web Service Composition
- Researching the Pillar of Building
- Research on Spi Calculus-Based Automatic Analyzing Technology of Cryptographic Protocols
- Research on the Type System of XML Database
- Research DBMS-STADBS data model and storage mechanism spatiotemporal analysis
- Ananlysis on the Architecture Characteristics of Guanzhong Traditional Residential