Team Members:
About Problem
Idea Description
We will be making a command line checker using open source Python language which will parse the C/ C++ code and will show the possible runtimes error which may occur in the code. The program will be 100% accurate and will not report any false positives. Few examples of how we will deal with the problem are:
We will be mapping variable names to their types in dictionaries (also known as hash tables) and this will ensure further operations on that variable don't result in errors such as unsafe type conversions, bitwise operations on signed data types.
Since each statement in C language ends with `;`, it will easy for us to determine what a statement is and will help in checking statement level errors like ones which evaluate differently from left to right and right to left.
The program will track loops and conditional statements, in a stack like data structure which will help us to know about the scopes.
Technology Stack
We will using an open source, beautiful and elegant programming language Python.
Use Case
The program will be a command line program which will have following functionality:
Dependencies
Our program will use Python 2.7 and newer (even Python 3.6 which was released about a month ago.)
Show Stopper
$ python
>>> print None
None