Skip to content

Aadarshgk/CompilerProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compiler Project

This project is a compiler implementation that includes both frontend and backend components. The frontend provides a user interface for inputting code and displaying the Corrected Code, while the backend handles the compilation and execution of the code.

Features

  • Code Input: Enter your code in the provided editor.
  • Compilation: The backend compiles the code and returns the corrected code.
  • Error Handling: Displays compilation errors and lexer outputs.
  • Responsive UI: User-friendly interface with interactive elements.

Getting Started

Follow these steps to set up and run the project locally.

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd CompilerProject
  2. Set up the backend:

    cd backend
    npm install
    npm start
  3. Set up the frontend: Open another terminal and navigate to the frontend directory:

    cd frontend
    npm install
    npm install axios
    npm run dev

Usage

  • Open your browser and navigate to http://localhost:3000.
  • Enter your code in the editor and click the "Run" button.
  • View the output, errors, and lexer results in the respective sections.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

About

Debugger tool / Compiler tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •