Skip to content

ryolang/ryo

Repository files navigation

Ryo Logo

Ryo Programming Language

Ryo /ˈraɪoʊ/ — Looks like Python. Runs like Rust. Quacks like Ryduck.

Status Build License CodSpeed


Ryo is a statically-typed language designed for high Developer Experience. It pairs a Pythonic, indentation-based syntax with Rust-style memory safety ("Ownership Lite" — borrow by default, move on assignment, no garbage collector), Go-style "colorless" green-thread concurrency, and Zig-style error unions (!T). It targets web backends, CLI tools, and scripting/notebook environments, compiling to native code via Cranelift (AOT and JIT).

Warning

Ryo is in pre-alpha. The language design is stabilizing but the compiler is under active construction. Not yet ready for production use.

Example

fn main():
	print("Hello, World!\n")
cargo run -- run examples/hello.ryo

More examples in examples/. For what the compiler implements today and what's next, see the Implementation Roadmap.

Installation

From Latest Build

curl -fsSL https://raw.githubusercontent.com/ryolang/ryo/main/install.sh | sh
export PATH="$HOME/.ryo/bin:$PATH"
ryo --version

Dev builds are manually triggered and may be unstable. Update with --force:

curl -fsSL https://raw.githubusercontent.com/ryolang/ryo/main/install.sh | sh -s -- --force

From Source

Requires Rust 1.97.0+ (Install Rust). Zig linker is managed automatically.

git clone https://github.com/ryolang/ryo.git
cd ryo
cargo build --release
cargo run -- run examples/hello.ryo

Next steps: Getting Started

Language Inspirations

Python (syntax, type inference), Rust (ownership, ADTs, pattern matching, traits), Mojo (lifetime-free ownership, value semantics), Go (simplicity, fast compilation, CSP concurrency), and Zig (comptime, explicit error handling).

Getting Help & Contributing

Questions, bugs, and proposals go through the issue tracker. Contributions are welcome across the compiler, standard library, tooling, documentation, and examples.

Documentation

License

Ryo is distributed under the terms of the MIT license. See LICENSE for details.

About

A statically-typed, compiled language combining Python's ergonomics, Rust's memory safety, and Go's concurrency. AOT & JIT via Cranelift.

Topics

Resources

License

Stars

6 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors