Font Size: a A A

Design And Realization Of The C Code Rule Compiler Based On Mobile Station

Posted on:2007-06-25Degree:MasterType:Thesis
Country:ChinaCandidate:T H FanFull Text:PDF
GTID:2178360182996280Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Along with software profession vigorous development, the software product quality which is stand or fall becomes the important target which weight software enterprise succeeds. If the software enterprises all follow the certain code rule in the code compilation period, this will do well to our software product quality. Base on above reason, this paper design and realize a C code rule compiler RuleC Engine. It can inspect the C code as the traditional compiler, besides that, it also include below functions: when this tool discovers the grammar error, it doesn't stop the inspection and go on to inspect the left code; the rules used in the inspection can increase, delete or amend according to user's request. This tool can be runned on the windows, linux, solaris and other system platforms; through counting the software complexity of C code, this tool can provide the important target of evaluated C code quality.In order to implement an integrated common C code rule compiler which conforms to ANSI C99 standard, in this paper, first, give a brief introduce to software complexity (McCabe complexity), yacc as well as visitor design pattern in Java and other software development technology which used in this C code rule compiler, based on above content analyze the related contents in ANSI C99 standards, then carry on system conformation of this C code rule compiler, and then design and implement this compiler. After the system test, compare this C...
Keywords/Search Tags:ANSI C99, YACC, McCabe complexity, Visitor design pattern
PDF Full Text Request
Related items