Skip to content

hriddhidey/C_compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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<iostream.h>
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.

About

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

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages