How sumitkarki188/compiler_final works
Project type and purpose
• This is a full-stack static code analyzer/compiler tool.
• The front end is a React Single-Page App (via Vite) that runs in the browser (deployed on Netlify).
• The back end is a Python web service (app.py) that orchestrates a compilation pipeline (lexical analysis, parsing, semantic checking in C via Flex/Bison, plus Python “utils” for linting, scoring, suggestions, and testing).
File structure
• Top level: FRONTEND/ and BACKEND/ folders, plus a README.md.
• FRONTEND/: a Vite-powered React project (package.json, src/, public/, build configs).
• BACKEND/:
• ErrorDetect/: the core compiler pipeline in C (lexical.l, parser.y, semantic.c/h).
• app.py: Python server entrypoint (likely Flask or FastAPI).
• utils/: auxiliary Python modules (language detection, linter, score, suggest, test).
• requirements.txt: Python dependencies.