Skip to content

A Python-based C code scanner that tokenizes and highlights syntax elements such as keywords, operators, and identifiers in C code. This tool uses regular expressions and a Tkinter GUI for easy code input and analysis

Notifications You must be signed in to change notification settings

abdullahellabban/C-Code-Scanner-and-RecursiveDescentParser

Repository files navigation

Python C Code Scanner

A Python-based tool for scanning and tokenizing C language code. This application uses regular expressions to identify elements such as keywords, operators, identifiers, and comments, with a Tkinter GUI for an easy interface.

Features

  • Tokenizes C language syntax, highlighting keywords, operators, identifiers, comments, and more.
  • Provides an easy-to-use GUI built with Tkinter.
  • Color-coded tokens for easier code analysis.

How to Use

  1. Clone the repository.
  2. Run the compiler-scanner-for-c .py file to open the GUI.
  3. Enter or paste C code into the text box and click "Scan Code" to view tokenized output.

Author

Abdullah Mohamed Ellaban

About

A Python-based C code scanner that tokenizes and highlights syntax elements such as keywords, operators, and identifiers in C code. This tool uses regular expressions and a Tkinter GUI for easy code input and analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages