Font Size: a A A

The Design And Implementation Of Lexical Parser And Part Semantic Analysis Of TTCN-3 Compiler

Posted on:2005-12-01Degree:MasterType:Thesis
Country:ChinaCandidate:M SunFull Text:PDF
GTID:2168360125452970Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Protocol is the spirit of computer network. The aim of protocol conformance testing is to verificate the conformance between computer network communication protocol implementation and correlative protocol criterion. And, it is the key to insure the correct connection and communication among all kinds of computer systems.TTCN-3 is a normal and canonical testing language. It has advanced testing standard and is a bran-new description language. And it not only can realize conformance testing but also can implement all sides of network testing. TTCN-3 (Testing and Test Control Notation 3)[1] is based on text. It is similar to general advanced programing language on syntax and semantic. It has changed greatly comparing with former versions on form. It has ended confusion on content due to expansion on former versions time after time, and united the concept and definition, and made expression simple. But the same as former TTCN versions, abstract testing program specified by TTCN-3 is unable to be executed directly. We need compiling it with compiler. Then it can be executed on testing platform.The architecture of TTCN-3 testing platform has great difference with the existing conformance testing platform. Compiling system and testing platform of TTCN-3 is important part of network testing. However, it is a blank work about them in ourcountry. This article tries hard to realize automatic compiling of TTCN-3 core language. The whole compiling symtem adopts the means that syntax parser is leading and lexical parser is a subroutine. Finally, it compiles the abstract testing program into head file, driver table and middle code file according to design of virtual machine. We make use of the tool Parser Generator during implementation. The tool Parser Generator support Object-Oriented methods. It is an integrated tool constituting of lexical and syntax analysis.This article shows the idea of the architecture design of compler of TTCN-3 arcording to Object-Oriented methods, and gives design and approach of lexical analysis and part semantic analysis. In addition to, we present correlative algorithm.
Keywords/Search Tags:TTCN-3, testing, compiling system, Parser Generator
PDF Full Text Request
Related items