Skip to content

Introduction to HoloScript

HoloScript is the spatial programming language for VR, AR, and 3D applications. It removes the abstraction barrier between humans and computation—instead of writing text that a machine interprets, you manipulate computation directly as spatial objects.

Why HoloScript?

For Humans

  • No syntax errors - Visual/declarative approach eliminates brackets and semicolons
  • Universal input - Voice, gesture, gaze, or traditional keyboard
  • See the data flow - Watch computation happen in 3D space

For AI

  • Visual understanding - AI "sees" program structure
  • Native manipulation - AI can place and connect objects naturally
  • Any output target - Generate code for any platform

For Computing

  • One source → 9 platforms - Web, VR, AR, mobile, desktop, Unity, Unreal, VRChat
  • 50,000 → 500 lines - Declarative syntax eliminates boilerplate
  • Built for collaboration - Human and AI work in the same space

File Formats

HoloScript uses three file formats:

ExtensionPurposeBest For
.hsClassic HoloScriptSimple prototypes, learning
.hsplusHoloScript PlusVR traits, networking, physics
.holoCompositionAI-generated scenes, full worlds

Quick Start

Install the VS Code extension:

bash
ext install holoscript.holoscript-vscode

Create your first scene:

holo
composition "Hello World" {
  environment {
    skybox: "gradient"
    ambient_light: 0.5
  }

  object "Cube" {
    @collidable
    position: [0, 1, -3]
    color: "#00ffff"
  }
}

Next Steps

Released under the MIT License.