The Research of Semantics Description Integration Environment
- Author
- LiaoJinShun
- Advisor
- HeZuo
- School
- Changsha University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP391.7 Machine-assisted technology
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 55
- Citations
- 0
- Semantics Description
- Software Understanding
- Analysing Source Code
- Software Understanding Tools
- Semantics Action
Abstract
The research of methodologies and tools of software understanding are the software industry’s important issues. Software understanding is through some tools and methodologies to identify "what" and "how" of software system, is a process of developing mental modeling of software system meanings and behaviors. Understanding of a software system is an abstract process that abstracts more senior description of the system. The goal products of abstract process are software understanding models. They include objects from the real world and its mutual relations, while ignoring some programming areas less important details.The semantics included in software source codes is concealed expression of the grammar and syntax of software, which is direct embodiment of the design intent and design decision-making of software producers during developing software system, as well as high-level product of transforming human thinking to machine thinking. Therefore, takeing out design ideas and design decision-making from software semantics would be a direct and effective way. From this point to explore automaic intelligent algorithms and tools of software understanding will have great significance. Therefore, this thesis emphasizes the study to build up a semantics description integration environment. It can handle various programming language, withdraw the semantics information of the customer concern from the software source codes. It help customer to understand software system accurately quick roundly.This thesis mainly made the following work:1.Putting forward semantics description integration environment model.Aimming at the existent shortages of the current program understanding tools, It puts forward semantics description integration environment model.2.Design and implement of semantics description integration environment model.Designing each moldule of the environment semantics description integration environm- ent model. Using the VC++ to implement important functions of each moldule.3.Giving application example.Sampling the C language function definition is taked to as example to explain the usage of semantics description integration environment.
Table of contents
Summary 5-6
ABSTRACT 6-9
Chapter Preface 9-12
1.1 semantic description of the integrated environment research significance are found; 9-10
1.2 the 10-11 1.3 paper structure
11-12
Chapter II software to understand overview 12-19
2.1 software understanding tasks 12-13
2.2 software to understand the model 13-14
2.3 software understanding tools 14-19
Chapter programming language and semantic description 19-25
3.1 programming language syntax 19-20
3.2 programming language syntax description 20-25
Chapter semantic description of the integrated environment designed 25-37
4.1 semantic description of the integrated environment model 25-26
4.2 lexical analyzer nbsp a; 26-28
4.3 build Parsing table 28-32
4.4 build semantic action analysis table the the analysis 32-33
4.5 controller 33-34
4.6 semantic description of action the code generator 34-35
4.7 semantic the action description code execution 35-36
4.8 semantic actions management 36-37
Chapter semantic description of an integrated environment to achieve the 37-48
5.1 Dynamic Link Library the 37-38
5.2 lexical analyzer 38-40
5.3 build syntax analysis table 40-42
5.4 build semantic action analysis table the 42-44
5.5 semantic actions described code generator 44
5.6 Analysis Controller 44-45
5.7 semantic actions described code execution 45-46
5.8 semantic actions management 46-47
5.9 class diagram 47-48
Chapter VI application example 48-53
6.1 generates C language lexical analyzer dynamic libraries and predictive analysis table 48-49
6.2 generate extraction dynamic libraries of C language function defined semantic actions 6.3 in the analysis of Table 49
add semantic actions 49-51
6.4 to generate results 51-53
Conclusion 53-55
1 summarizes 53
further work 53-54
Looking 54-55
Reference 55-58
Acknowledgements 58-59
Appendix A degree-papers during the BC language lexical LEX 59-60
Appendix Program 60-65
Appendix the CC language syntax the SDSR source the 65-76
Appendix D system main classes 76-84
Appendix E to extract C language function is defined semantic action function 84-86
the Chinese detailed summary 86-91