This Python project provides an automated tool to detect and fix common syntax errors in C program files.
The tool analyzes the given C code, identifies common issues such as missing semicolons, unmatched parentheses,
and other syntax errors, and applies corrections where possible.
- Error Detection: Automatically detects common syntax errors in C programs.
- Error Fixing: Attempts to fix issues such as missing semicolons and unmatched parentheses.
- Modular Design: The project is structured with various modules that can be easily extended for additional error types.
- Supports Multiple Errors: Can handle multiple errors in a single run, processing the entire file.
- Clone the repository:
git clone https://github.com/Nima-Hmz/C-FixTool.git - make sure you have python3 installed on your computer.
- Navigate to the C-FixTool directory:
cd C-FixTool - Run the following command to start the program:
python3 main.py {the_c_file.c}
Feel free to fork this project and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the GNU General Public License v3.0. For more details, see the LICENSE file.
Created by [Nima-Hmz] - [hmznima77@gmail.com]