Font Size: a A A

Implementation Of The Parser Of TTCN-3 By Parser Generator Based On The Windows System

Posted on:2005-12-09Degree:MasterType:Thesis
Country:ChinaCandidate:J E YanFull Text:PDF
GTID:2168360125952970Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As a specially designed testing language, TTCN-3 clearly defined the grammatical and semantic rules. Due to its originality, its compiling or operating environment is not available in China yet and the TTCN-3 development abroad is still underway. The existing TTCN-3 operating environment converts TTCN-3 into another language (such as JAVA) and realizes the TTCN-3 compilation indirectly from code of the existing compiler. The development of TTCN-3 compiler has become urgent.Syntactic analysis is the core of the compiling process. Main task of Syntactic analysis is to decide whether the syntatics structure of the program is coincident with its rules of syntactic while the lexical analysis find a symbol, in our developing process, We made use of Object-Oriented technology to define the various Data structures, objects and so on used in the system. My works maintains: the first is to change the extended BNF of TTCN-3 into the normal BNF; the second is to write the YACC source code of TTCN-3 for syntactic analysis, including the works of defining the object of symbols, using and managing the symbol table, intalling identifiers, semantic actions of the rules of syntactic, error and so on; the third is to generate the driving table and head file that are used in the operations of coding and encoding when execution platform sends the informations. Owing to having the better advantages and characters on technology, Object-Oriented technology is introduced and used in all our developing process, and that we make use of UML in our work when we analyse and design the system, so it make our software developing process conform to the standard rules and improve the efficiency and the project' s schedule.
Keywords/Search Tags:TTCN-3, LEX, YACC, Lexical analysis, Syntactic analysis, UML
PDF Full Text Request
Related items