Skip to content

A lightweight lox language web based text editor built from scratch to learn and host the lox compiler/virtual machine

License

Notifications You must be signed in to change notification settings

bp7968h/lox-editor

Repository files navigation

Lox Editor

A lightweight lox language web based text editor built with React and TypeScript for writing and running Lox code. Designed to provide a clean and responsive interface with features like syntax highlighting, line numbers, and error feedback.

Features

  • Syntax highlighting for Lox code.
  • Line numbers for better readability.
  • Error highlighting to debug Lox programs.
  • Minimal and responsive UI.

Getting Started

Prerequisites

  • Node.js (v16 or later)
  • npm or yarn

Installation

  1. Clone the repository:
    git clone https://github.com/bp7968h/lox-editor.git
    cd lox-editor
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev

Build for Production

To build the project for production:

npm run build

Contributing

Contributions are welcome! Feel free to submit issues or pull requests to improve the editor.

License

This project is licensed under the MIT License.

About

A lightweight lox language web based text editor built from scratch to learn and host the lox compiler/virtual machine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published