RustScript
DocsPlaygroundCrates

Getting Started

  • Installation
  • Hello World
  • Project Structure

Language

  • Types
  • Variables
  • Functions
  • Control Flow
  • Classes
  • Type Definitions
  • Modules
  • Error Handling

Builtins

  • String
  • Array
  • Map & Set
  • Math
  • Date
  • JSON
  • Console
  • Promise & Async

Ecosystem

  • Importing Crates
  • Derives
  • Rust Blocks
  • Type Mapping

Reference

  • CLI Commands
  • Cheatsheet

RustScript Documentation

RustScript is a TypeScript-native authoring language that compiles to idiomatic Rust. Write the TypeScript you already know. Ship native binaries.

Installation

Install the RustScript compiler and create your first project.

Playground

Try RustScript in the browser without installing anything.

RustScript

Ship Rust. Write TypeScript.