The Design & Implementation of TTCN-3 Language Incremental Compiler
- Author
- JiangBiao
- Advisor
- JiangFan
- School
- University of Science and Technology of China
- Major
- Computer Architecture
- Classification
- TP314 Compiler,interpreter
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 34
- Citations
- 0
Abstract
This paper explores into incremental compilation techniques based on TTCN-3, and elaborates the design and implementation of incremental compiler combining with TTCN-3 characteristic.In this paper, through the analysis and comparision of current incremental compilation techniques a compilation technique tightly coupling with TTCN-3 characteristics is proposed based on the intensive study of implemented compiler of our laboratory. While introducing the design and implementation of incremental compiler in details, this paper makes a general discussion on incremental compilation techniques firstly; then, on the basis of detailed analysis and study and combing with TTCN-3 characteristics, elaborates on the structures of intermediate files and cross reference table, incremental static semantic check, symbol table extension and improved code generation mechanism; at last, the gross structure of incremental compiler and memory management scheme using in implementation are given.For the problems of close coupling and high redundancy in code generation of the intrinsic compilers, this paper makes a significant optimization on the code generation mechanism of intrinsic compilers, and conducts redesigns and re-implementation according to the current software engineering thinking of structuring and modularization, which has detailed introduction in this paper.This paper has realized the prototype of incremental compiler based on the implemented TTCN-3 compiler of our laboratory.
Table of contents
Abstract 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-13
1.1 Background
1.2 of this study and contribution 10-11
1.3 of this article organization 11-12
1.4 Terms and Abbreviations 12-13
Chapter 2 test description language TTCN-3 13-20
in TTCN of 2.1 development history 13-14
2.2 TTCN-3 Overview 14-15
2.3 TTCN-3 constitutes 15-20
2.3.1 Type Definition 16-17
2.3.2 constant test data template definition 17-18
2.3.3 function, test cases and optional step defined 18
2.3.4 program statement 18-20
Chapter 3 TTCN-3 compiler framework 20-41
3.1 compiler framework structure 20-21
3.2 lexical, syntax analysis 21-22
3.3 compiler syntax tree structure 22-30
3.3.1 literal node 24-25
3.3.2 Type node 25-26
3.3.3 entity defined node 26-27
3.3.4 Constraints node 27-28
3.3.5 expression operation node 28-29
3.3.6 statement node 29-30
3.3.7 the grammar tree structure section 30
3.4 compiler symbol table organization 30-37
3.4.1 identifier node 31
3.4.2 identifier hash table 31-32
3.4.3 hierarchical chain stack 32-34
3.4.4 entity reference node 34-36
3.4.5 Symbol Table section 36-37
3.5 static semantic checks 37
3.6 IMPORT processing mechanism 37-39
3.7 code generated 39-41
Chapter 4 TTCN-3 incremental compiler design and implementation 41-68
4.1 incremental compilation techniques Overview 41-44
4.1.1 Overview 41-42
4.1.2 based on minimum compilation unit incremental compilation 42-43
4.1.3 Syntax-editing incremental compilation method 43-44
4.2 incremental compilation technology program select 44-46
4.2.1 program select 44
4.2.2 compilation unit to determine 44-46
4.3 TTCN-3 incremental compiler overall structure 46-47
4.4 intermediate file structure 47-49
4.5 cross-reference table 49-57
4.5.1 reference relationship description 49-50
4.5.2 call table 50-53
4.5.3 reference table 53-57
4.6 extend the symbol table 57
4.7 static semantic checks 57-60
4.7.1 cross-reference table calculated 58-59
4.7.2 incremental semantic checking 59-60
4.8 code generated 60-64
the 4.8.1 code translation strategy improved 60-62
4.8.2 code to generate improvement 62-64
4.9 system constitutes 64-66
4.10 memory management scheme 66-68
Chapter 5 incremental compiler performance analysis 68-73
5.1 incremental compiler execution time performance analysis 68-71
5.1.1 scanner time performance analysis 68-69
The
the 5.1.2 incremental compiler execution time performance 69-71
5.2 incremental compiler to perform spatial analysis 71-72
the 5.3 incremental compiler performance analysis Summary 72-73
Chapter 6 Summary and Outlook 73-74
the
References 74-77
Acknowledgements 77-78
the
papers published during reading the research achievements 78
Related dissertations
- Design and research of testing system of MPLS L2VPN protocol based on TTCN-3
- TTCN-3Test Suits Generation Approach for Corba Network Management Interfaces
- Research on Conformance Testting of LDP Protocol Based on E-Lotos
- Design and Implementation for Consistency Test Tool of DSRC Standard Based on ETC
- The Research and Implementation of Realtime Testing in TTCN-3System
- Reconstruction of the Tool of TTCN-3Test Suite Automatic Generation Based on GFT
- Design and Implementation of TTCN-3Adapter Library Management System
- Design and Codec Sotfware Implementaiton of Testing System for High Performance Network over Coax
- The Research on TTCN-3CoDec Automatically Generator
- Design and Implementation of TTCN-3Code Generation Platform Based on Model Driven Testing
- Testsing Concurrent Software Behavior Based on Cpn and TTCN-3
- The Research and Implementation of ERP Testing Based on TTCN-3
- Research on Regression Testing Selection
- Design and Implementation of Az Interface Test Cases in TETRA Digital Trunked System
- Design and Implement of Codec Scheme of Adapter in Td-Lte Terminal Test System Based on Ttcn-3
- The Study and Design of Lte Network Interfaces Conformance Test Based on TYCN-3
- Implementation of Cell Reselection Test Cases Based on Ttcn-3in Td-Lte Rrm Conformance Test System
- Research and Design of6LoWPAN Conformance Testing Platform Based on TTCN-3
- The Design of Td-Lte/Td-Scdma Dual-Mode Test System Softwore and Implement of Typical Test Cases
- Design and Implementation of Coap Conformance Testing System Based on TTCN-3