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.
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 →Write Raven
Functions, classes, pattern matching and typed outcomes, with editor support.
Language introduction → PLATFORM FOUNDATIONSOrganize code with modules
Modules form namespaces for types, functions and constants. Assemblies package them for use.
Modules and imports → EVERYDAY APISWork with data and text
Collections and queries, UTF-8 strings, dates, optional values and errors.
Library guides → APPLICATION DEVELOPMENTBuild an HTTP application
Connect a client and server, route requests and exchange typed JSON.
HTTP clients and servers → EXECUTIONCompile to native code
Explore JIT and standalone native execution, supported targets and current limitations.
Native compilation → API REFERENCELook up an API
Browse library modules, type and member signatures, parameters and behavior.
Browse the reference →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