Comculations is a state-of-the-art educational code compiler designed to help students and developers learn programming with intelligent feedback. Unlike traditional online compilers, Comculations analyzes your code errors and provides simplified, AI-powered explanations to help you understand why your code failed and how to fix it.
-
🚀 Real Code Execution
- Python: Runs directly in your browser using Pyodide (WebAssembly) for blazing fast, secure execution.
- C: Compiles and runs via the Piston API (GCC backend) to support standard C libraries.
-
🤖 AI Error Analysis
- Automatically detects error patterns in your code.
- Provides beginner-friendly explanations for complex compiler errors.
- Suggests specific fixes and provides corrected example code.
-
🎨 Modern & Responsive UI
- Beautiful Dark & Light modes.
- Smooth animations powered by Framer Motion.
- Built with Next.js 14 and TailwindCSS for a premium feel.
-
📚 Learning Tools
- Built-in code templates for common algorithms and concepts.
- "Learning Mode" toggle to switch between simple output and detailed educational feedback.
- Framework: Next.js 14 (React)
- Styling: TailwindCSS
- State Management: Zustand
- Code Editor: Monaco Editor (VS Code's editor engine)
- Animations: Framer Motion
- Icons: Lucide React
- Runtime:
- Pyodide: Python Wasm
- Piston API: Server-side C execution
Follow these steps to run the project locally:
- Node.js 18+ installed on your machine.
-
Clone the repository
git clone https://github.com/indranil122/Comculations.git cd Comculations -
Install dependencies
npm install # or yarn install # or pnpm install
-
Run the development server
npm run dev
-
Open in Browser Navigate to http://localhost:3000 to start coding!
Contributions are welcome! If you have suggestions or bug reports, please open an issue or submit a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.