Skip to content

RuneScript Compiler

Welcome to the RuneScript Compiler documentation. RuneScript is a modern scripting language that compiles to bytecode for execution in a virtual machine.

Overview

RuneScript is designed to be a powerful, expressive language with a focus on simplicity and readability. The compiler transforms RuneScript source code into bytecode that can be executed by the RuneScript Virtual Machine.

Key Features

  • Functional Programming: Support for functional programming paradigms
  • Pipe Operator: Chain operations with the intuitive |> operator
  • Type Safety: Compile-time type checking to prevent runtime errors
  • Java Integration: Seamless integration with Java 21+ environments

Quick Start

To get started with RuneScript, you'll need Java 21 or higher installed on your system.

  1. Download the latest runescript.jar release
  2. Create a simple script file (hello.rn):
    print("Hello, RuneScript!")
    
  3. Run the script:
    java -jar runescript.jar hello.rn
    

For more detailed instructions, see the Getting Started guide.