Design of C- Compiler: Lu Xiaochun
Download Design Documents and Code Preface: This is the big course required for our semester compilation. I do is a C-compiler. There is not much function, but it is normal, and the development step is clear. I hope to share with you. The compiler is as follows: Design document basic contents as follows: 1) Overall Frame 2) Less Channel CTOKENizer Class Cscaner C Keyword Form Identifier 3) Syntax Analysis CParser Grammar Basic Tree Structure Supported Statement Structure Support 4) Establish a symbol table Class LineListRec class BucketListRec class csymb5) Type Detection CLASS CANALYZER Type Match Function Call Parameter Detection 6) Code Generation PCODE 80x86 ASM7) Summary Details Please read this article. Design documentation and all source code.