The objective for this project is to develop a lightweight C Compiler with limited C Constructs support and provide a implementation for lexer, syntax directed translator (SDT), code generated for generic instruction set architecture using simple register coloring algorithm. It has smaller footprint implementation for all of these components which can be used for learning pupose.
- flex
- yacc
- gcc (visual studio on windows)
- src/parser/zlex.l
- src/parser/zyacc.y
- src/codegen
- src/utils/zsymtab.c
- bin/
- Makefile for Linux platform
- Detailed documentation for each of the module