The why : Cambridge AS students write pseudocode for exams — a structured, precise dialect defined by the syllabus. The problem? There's nowhere to run it. Students write code on paper, guess whether it's correct, and find out weeks later when results come back. That feedback loop is challenging for learning. This loop is closed to zero. Also, the compiler that runs entirely on the browser with no requirement for a backend or server. Repository : https://github.com/nsriram/pseudo-code-ide/
The how : The app presents an exam-style question, gives students a plain editor (no autocomplete — that's intentional, exams are unaided), and compiles their pseudocode the moment they click Compile. If it's clean, it runs against the question's test cases and shows pass/fail instantly. 50 questions. Three difficulty levels. Works on any device.
SCA & Code Quality 90 end-to-end Playwright tests (15 full student journey scenarios). The e2e suite runs against both docker on pipeline and on the deployed app at render.com 515 unit tests, ≥90% branch coverage enforced in CI, Quality Report Linting with '6' ESLint plugins, pre-push hooks Auto deployed on Render Pipeline : https://github.com/nsriram/pseudo-code-ide/actions
Compiler Writing a tiny pseudocode compiler from scratch involved a lot of learning. The pipeline has five phases, all written in TypeScript and fine-tuned for students with corners cut. "Lexer → Parser → Validator → Interpreter → Evaluator" more here : https://github.com/nsriram/pseudo-code-ide/blob/main/COMPILE...