Skip to content

Nima-Hmz/C-FixTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-FixTool

Description

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.

Features

  • 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.

Installation

  1. Clone the repository: git clone https://github.com/Nima-Hmz/C-FixTool.git
  2. make sure you have python3 installed on your computer.

Usage

  1. Navigate to the C-FixTool directory: cd C-FixTool
  2. Run the following command to start the program: python3 main.py {the_c_file.c}

Contributing

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.

License

This project is licensed under the GNU General Public License v3.0. For more details, see the LICENSE file.

Contact

Created by [Nima-Hmz] - [hmznima77@gmail.com]

About

Python tool to check and auto-correct syntax in C files

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors