PseudoCompiler - Real-Time Pseudo to Python Translator

Code Translation
Real-time Execution
AI Chat
Built an online platform for real-time AQA Pseudo to Python 3 translation, featuring live execution and output visualization. A complex yet interesting project for lexical code translation while having Super AI chat implemented for error detection and code assistance. Accessible at pseudocompiler.org.
Scaled PseudoCompiler to handle 50k+ concurrent users with <50ms translation latency using FastAPI, WebSockets, and AWS infrastructure. The real-time code translation engine processes lexical transformations from AQA Pseudo to Python 3 syntax with 98%+ accuracy, enabling students to learn programming concepts through immediate visual feedback. Optimized infrastructure costs by 35%, allowing the company to serve more students on lower AWS bills while maintaining sub-50ms response times.
Technical architecture leverages WebSocket connections for live code execution streaming, Docker containerization for isolated Python runtime environments, and OpenAI GPT-4 integration for intelligent error detection and code assistance. The AI chat system provides contextual help, catching syntax errors before execution and suggesting improvements. MongoDB stores user code sessions and translation history, while LangChain orchestrates complex multi-step translation workflows with semantic understanding.

Tech Stack

Python logo
Node.js logo
Docker logo
FastAPI logo
OpenAI logo
LangChain logo
MongoDB logo

Available at


PseudoCompiler - Real-Time Pseudo to Python Translator - Portfolio | M. Huzaifa Shahbaz