/cpp_compiler

Compiler for C++

Primary LanguagePythonMIT LicenseMIT

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