An open API service indexing awesome lists of open source software.

https://github.com/hriddhidey/c_compiler

A fairly simplistic C++ compiler made using flex and bison.
https://github.com/hriddhidey/c_compiler

Last synced: 7 months ago
JSON representation

A fairly simplistic C++ compiler made using flex and bison.

Awesome Lists containing this project

README

          

# C++ Compiler
A fairly simplistic C++ compiler made using flex and bison.

Compile the lex and yacc files, and make a 'demo.c' file
with a simeplistic C++ code of your choice.

Try this for example -



\#include\


int main()

{

int a=5;

return;

}



Go ahead and feel free to tinker with the grammar to try and understand
the full scope of this compiler, and its shortcomings(of which it has a sizeable amount),
and try to fix them if you can. I look forward to seeing you do amazing things with this.

Warm Regards,

Good Luck,

Goodspeed.