Development of Compiler Based on Flex and Bison

Dai Guo · Ordnance Industry Automation · 2004

After flex and bison source program was respectively processed, subprograms of lexical analysis and parsing described by VC++ were created. After them were compiled by compiler, object file connected else module or command file that may run was obtained. If system of processing language is established with programs of lexical analysis and parsing, the function name, parameter and return value should be accordant. Taking calculator as an example, executive code was accomplished with VC++ by lexical and parsing analyzer needless object code middle express.

Read the paper · More papers on PaperTik