Summary: | 博士 === 國立交通大學 === 資訊工程系 === 89 === This proposal presents an approach to construct language-based tools by combing attribute grammars (AGs) and object-oriented technology. The combination of AGs and OO exemplifies the integration of generative and compositional programming techniques. The approach, called OOAG, is presented to effectively construct language-based tools that deal with fine-grained language semantics as well as a mass of graphics-drawing activities. It consists of two inter-related parts: a model-view-shape (MVS) class framework and an AG++, an object-oriented extension to traditional AGs, is intended to preserve both advantages introduced by respective OO and AG models, such as rapid prototyping, reusability, extensibility, incrementality, and applicability. So far, a flow-based editor associated with two flow-analyzer prototypes, DU/UD tools and a program slicer, have been implemented using OOAG on the Windows environment. Our flow-based editor can be used to construct programs by specifying the associated flow information in a visual way, while (incremental) flow analyzers incorporated into the editor can help analyze incomplete program fragments to locate and inform the user of possible errors or anomalies during programming.
CHAPTER 2. BACKGROUND 5
2.1. THE OBJECT-ORIENTED MODEL 5
2.2. THE ATTRIBUTE GRAMMAR MODEL 6
CHAPTER 3. INTEGRATION OF OBJECT-ORIENTED AND ATTRIBUTE GRAMMAR MODELS - OOAG 8
3.1. THE MODEL-VIEW-SHAPE CLASS FRAMEWORK 8
3.2. AG++ 11
CHAPTER 4. CONSTRUCTING LANGUAGE-BASED TOOLS WITH OOAG 19
4.1. THE CONSTRUCTION PROCESS 19
4.2. THE LANGUAGE-BASED EDITOR 21
4.3. THE FLOW ANALYZERS 26
CHAPTER 5. EXPERIENCE WITH OOAG AND RELATED WORK 35
5.1. EXPERIENCE WITH OOAG 35
5.2. RELATED WORK 36
CHAPTER 6. CONSTRUCTING AN OBJECT-ORIENTED ARCHITECTURE FOR WEB APPLICATION TESTING 42
6.1. INTRODUCTION 42
6.2. CUSTOMIZE TESTING ARCHITECTURES TO TEST WEB APPLICATIONS 44
6.3. WEB TESTING ENVIRONMENT ARCHITECTURE 49
6.4. APPLYING THE ARCHITECTURE 65
6.5. SUMMARY 73
CHAPTER 7. CONCLUSION AND FUTURE WORK 76
REFERENCES 78
VITA 86
|