Skip to content

Getting Started

Overview

Extron is a simple interpreter written in Rust.

You can write files for extron in its REPL (Read-Eval-Print-Loop) or in a file with the .ext extension.

Installation

For installing in Linux or WSL (Windows subsystem for Linux)

Just run this script below to download extron.

curl -sfL https://raw.githubusercontent.com/AvaterClasher/extron/main/install.sh | sh

For installing in Windows

Just run this script below to download extron.

iwr -useb https://raw.githubusercontent.com/AvaterClasher/extron/main/install.ps1 | iex

Building Locally

Build steps

  1. Clone the source with git:

    git clone https://github.com/AvaterClasher/extron.git
    cd extron
  1. Run the following command to build the project:

    # For running the REPL (Read-Eval-Print-Loop)
    cargo run
    # For running a Extron (.ext) file
     cargo run run <path-to-file>