mini-c-compiler icon indicating copy to clipboard operation
mini-c-compiler copied to clipboard

Projects for Lexical Analyzer, Parser, Semantic Analyzer and ICG Phase in Compiler for subset of C type Language

Mini C-Compiler

  • Codes pertaining to projects for Compiler Design Lab for Course CO351 - Compiler Design Lab
  • It comprised of four phases:
    • Lexical Analyzer
    • Parser
    • Semantic Analyzer
    • Intermediate Code Generation

Steps to run

Only flex and bison are required to be installed on your machine. The code has been tested last on Ubuntu 20.04.

sudo apt-get install flex
sudo apt-get install bison

Execute the run.sh bash script in each of the sub folders once the installation is successful

Contributing

Please feel free to send a PR to correct any errors in the code or to keep it supported for the latest version of Ubuntu or any other Operating Systems.

Team Members