Compiles pseudocode into flowcharts using real lexing and AST analysis.
Tech StackReact, Vite, Node.js, Express, Compiler Design, AST
DescriptionA web application that converts pseudocode into accurate flowchart diagrams by applying compiler design techniques rather than pattern matching. It runs lexical analysis over the input, validates syntax, builds an abstract syntax tree, and derives control flow from that tree to generate the diagram. The problem it targets is a real one for students and developers: drawing flowcharts by hand is slow, error-prone, and gets harder as algorithms grow more complex.
My Role- Implemented a lexical analyser and syntax validator for a pseudocode grammar, reporting structural errors back to the user.
- Built an AST-based control-flow generator that derives branch and loop structure from the parsed tree.
- Developed the React and Vite frontend for editing pseudocode and rendering the generated flowchart.
- Built the Node.js and Express backend and split deployment across Vercel for the frontend and Render for the API.