Skip to content

vaibhavnaagar/cpp_compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Compiler

Compiler Design

How to use

  • Run make command to build code binaries
  • Use CPP compiler by running command:
./runcpp filename

Compiler Specifications

  • Source Language: C++
  • Implementation Language: Python
  • Target Language: MIPS

Tools or packages used

  • Python 3.5.2
  • ply 3.10 (Python Lex & Yacc)
  • Pydot 1.2.3

Grammar

  • E.d. Willink's C++ grammar and lexer written in yacc and flex of C language.

Contributors

  • Vaibhav Nagar
  • Tushant Mittal