A mini make c compiler including
- preprocessing
- scanning (lexical analysis)
- parsing (syntax analysis)
- symantic analysis & icgen (intermediate code generation)
to compile a programe wrote by a subset of c language
- algutil.h basic algrithms, including string processing, obtaining first, follow set
- base.h declearation for all data struct, hash table
- ioutil.h basic input or output, xml read and write
- mmcc.cpp main project
- pp.cpp preprocessing, fitter comment
- scanning.cpp output .token.xml
- parsing.cpp output .tree.xml
- semantic.cpp output .ic.xml
- The compiler's architecture detailed methods are in mmcc_design
- The intermediate results for debug are in debug_view