Skip to content

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

Notifications You must be signed in to change notification settings

mishal23/mini-c-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published