Development documentation · Some APIs may be unreleased Published release →

OPEN-SOURCE SOFTWARE PROJECT

A managed runtime
for Raven applications.

neoCLR is an experimental application platform with its own runtime, class library and development tools. Write Raven programs using familiar .NET concepts, UTF-8 text and APIs for collections, files, async work and HTTP.

MIT license · Garbage-collected memory · macOS ARM64 and Windows x64 toolchains

RAVEN EXAMPLE

Represent an optional value

func FirstPositive(values: Iterable<int>) -> Optional<int> {
    let value = values.First(number => number > 0)?
    return Some(value)
}

Optional represents a value that may be absent. Match Some(value) or None to handle either result.

Optional and Result →

Runtime, library and tools

The runtime executes compiled Raven programs with automatic memory management. The class library is organized into modules that form namespaces. The toolchain includes a compiler, project support and a VS Code extension.

Preview 16 bundles run programs with JIT by default on macOS ARM64 and Windows x64. Interpreter execution remains available; ahead-of-time compilation produces native executables for supported applications.

How neoCLR fits together →

Try the project

The published macOS ARM64 and Windows x64 bundles include the tools and runnable collections, Tasks, JSON and HTTP samples. Start with a bundled project, then explore the library.

neoCLR is experimental and APIs can change. It has its own runtime and libraries; it does not run arbitrary .NET applications. Native compilation has narrower coverage than the interpreter.

Installation and requirements →

Explore neoCLR

All guides →

Project and contributions

neoCLR is developed in the open. Bug reports, documentation improvements, sample applications and code contributions are welcome.

Source code · Issues and questions · Project direction · About neoCLR · Who it’s for