CoolFace
Apppublic

NitinDumka/Flowchart-Generating-Compiler

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
App README

Flowchart Generating Compiler

This project converts C, C++, and Python source code into:

  • Tokens (Lexical Analysis)
  • Abstract Syntax Tree (AST)
  • Intermediate Representation (IR)
  • Control Flow Graph (CFG)
  • Visual Flowchart (SVG)

🔧 Technology Stack

  • FastAPI
  • Python
  • NetworkX
  • Graphviz
  • Docker (Hugging Face Space)

🚀 How it works

  1. 1.User submits source code
  2. 2.Compiler pipeline processes it
  3. 3.Flowchart is generated automatically

📡 API

  • POST /compile
  • GET /health