A professional online code compiler built with React.js, featuring intelligent compilation and code analysis capabilities.
- Multi-language Support: JavaScript, Python, Java, C++, and C
- Real-time Code Editor: Syntax highlighting and line/character counting
- Live Console Output: See your code execution results instantly
- Code Analysis: Time complexity, space complexity, and optimization suggestions
- Modern Dark Theme: Professional dark interface with gradient accents
- Responsive Design: Works seamlessly on desktop and mobile devices
- Intuitive Controls: Easy-to-use buttons for running, copying, and downloading code
- Language Switching: Seamlessly switch between programming languages
- Time Complexity Analysis: Understand your algorithm's time efficiency
- Space Complexity Analysis: Monitor memory usage patterns
- Optimization Suggestions: Get recommendations for improving code performance
- React.js - Frontend framework
- Tailwind CSS - Utility-first CSS framework
- JavaScript - Programming language
- HTML5 - Markup language
- CSS3 - Styling
- Node.js (version 14 or higher)
- npm or yarn package manager
-
Clone the repository
git clone <repository-url> cd intelli-code-compiler
-
Install dependencies
npm install
-
Start the development server
npm start
-
Open your browser Navigate to
http://localhost:3000to view the application
npm run build- Select Language: Choose from JavaScript, Python, Java, C++, or C from the dropdown
- Write Code: Use the code editor to write your program
- Run Code: Click the "Run Code" button to execute your program
- View Output: See the results in the console output panel
- Analyze Code: Check the analysis panel for complexity information
- Copy/Download: Use the copy and download buttons to save your code
intelli-code-compiler/
├── public/
│ └── index.html
├── src/
│ ├── App.js # Main application component
│ ├── index.js # React entry point
│ └── index.css # Global styles and Tailwind imports
├── package.json # Dependencies and scripts
├── tailwind.config.js # Tailwind CSS configuration
├── postcss.config.js # PostCSS configuration
└── README.md # Project documentation
- JavaScript: ES6+ features with console output simulation
- Python: Python 3 syntax with print statement support
- Java: Java syntax with System.out.println support
- C++: C++ syntax with cout support
- C: C syntax with printf support
The compiler provides real-time analysis of your code:
- Time Complexity: Big O notation analysis
- Space Complexity: Memory usage analysis
- Optimization Tips: Suggestions for improving performance
- Dark Theme: Easy on the eyes for long coding sessions
- Gradient Accents: Purple to green gradient for visual appeal
- Responsive Layout: Adapts to different screen sizes
- Professional Design: Clean and modern interface
- Fork the repository
- Create a 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
This project is licensed under the MIT License - see the LICENSE file for details.
Current Version: 2.1.0
For support and questions, please open an issue in the repository.
Note: This is a frontend-only implementation that simulates code execution. For actual code compilation and execution, you would need to integrate with backend services or APIs that support the respective programming languages.