Skip to content

C-like programming language interpreter written in C++ with UI in NextJS

Notifications You must be signed in to change notification settings

jordannakamoto/Web-C-Interpreter

Repository files navigation

Simple C-Like Language Interpreter

C++ Interpreter in /Program directory
NextJS Frontend in /src

This project is an interpreter for a simplified C-like language, designed to explore the fundamentals of language parsing, interpretation, and execution in a controlled environment.

Features

  • Interactive Development Environment (IDE): A web-based interface that allows users to write, test, and run C-like language scripts.

Usage

  • Write your C-like code in the provided code editor.
  • Use the IDE controls to step through the parsing process and execute your code.
  • View parsing steps like "Remove Comments", "Tokenize", "CST", "Symbol Table", and "AST" in the dedicated panels.

Installation

Ensure you have Node.js installed on your system to run the project and manage its dependencies.

  1. Clone the repository:
git clone https://github.com/your_username/your_repository.git
cd your_repository
  1. Install the required npm packages:
npm install
  1. Start the development server:
npm start

The application will be available at http://localhost:3000 (or another port if configured differently).

Contributing

Contributions to this project are welcome! Please refer to our contribution guidelines for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • This project uses React for the frontend and Node.js for backend services.
  • Syntax highlighting and code editing features are powered by CodeMirror.

About

C-like programming language interpreter written in C++ with UI in NextJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published