Détail du package

easylang-interpreter

EasyLang is a simple programming language interpreter built with TypeScript and React. It provides an interactive REPL (Read-Eval-Print Loop) environment for users to write, execute, and debug EasyLang code.

readme

EasyLang - Programming Language Interpreter

EasyLang is a simple programming language interpreter built with TypeScript and React. It provides an interactive REPL (Read-Eval-Print Loop) environment for users to write, execute, and debug EasyLang code.

Why I Made It

I created EasyLang because I believe that everyone should have the opportunity to learn the basics of programming. EasyLang is designed with simplicity in mind, featuring an easy-to-understand syntax that makes it accessible to beginners. It empowers users to start coding without the steep learning curve of more complex languages.

Features

  • Interactive REPL for EasyLang code.
  • Syntax highlighting using Prism.js.
  • Modular and extensible architecture for lexer, parser, and interpreter.
  • Built with modern web technologies like React, TypeScript, and TailwindCSS.

Getting Started

Prerequisites

Ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/amitkumarraikwar/EasyLang.git
    cd EasyLang
    
  2. Install dependencies:

    npm install
    

    or

    yarn install
    

Running the Application

  1. Start the development server:

    npm run dev
    

    or

    yarn dev
    
  2. Open your browser and navigate to http://localhost:3000.

Building for Production

To build the application for production:

npm run build

or

yarn build

The production-ready files will be in the dist directory.

Running Tests

To run tests:

npm test

or

yarn test

Contributing

We welcome contributions to EasyLang! To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes and push them to your fork.
  4. Submit a pull request with a detailed description of your changes.

Code Style

This project uses ESLint for code linting. Run the following command to check for linting issues:

npm run lint

or

yarn lint

Reporting Issues

If you encounter any issues or have feature requests, please open an issue on the GitHub repository.

License

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


Happy coding!