// readme

Dream

Write expressive code. Ship native binaries and WebAssembly.

A statically typed, ahead-of-time compiled language with automatic memory management, specialized generics, and a standard library built for real applications.

Optimized ARC Β· GPU shaders in Dream Β· Typed web APIs Β· Seamless C, C++, and JavaScript interop Β· Native + WebAssembly

Get started Β· Documentation Β· Language tour Β· Examples

Get started

On macOS or Linux:

curl --proto '=https' --tlsv1.2 -sSf https://sps014.github.io/dream/install.sh | sh

On Windows, open PowerShell:

irm https://sps014.github.io/dream/install.ps1 | iex

Open a new terminal, then create and run a project:

dreamer init hello
cd hello
dreamer run

Your program lives in src/main.dream; project settings live in dream.toml. The generated starter prints Hello, world!. Replace it with the JSON example below to try a little more of the language.

Continue with the…