I want to develop a program in C or C++ which can work as compiler or parser. The idea of program should be like compiler construction, The program will be able to read into and other program and compile it and display results like the statistics like of the following items used in compiled program:
1. Number of variables in a class
2. Number of character type variables
3. Number of integer type
4. Memory requirements of that class
5. Number of functions of that class
Start Free Trial