Readable code. Native programs.
A statically typed, functional programming language with Python-like syntax that compiles to native executables.
morrow-lang.org · Compiler · Language guide · Examples · Roadmap
fn greet(name: String) -> String:
"Hello, {name}!"
fn main():
println(greet("Morrow"))- Code that reads clearly. Significant indentation, inferred types, immutable bindings and expressions that return values keep everyday programs direct.
- Errors you can see.
Option,Resultand exhaustive pattern matching make absence and failure explicit, and the compiler checks that results are handled. - Native programs. Cranelift generates machine code and a Rust runtime supplies memory management and services. Compiled programs run without the compiler.
- Tools in the box. Formatter, REPL, source tests, documentation generator and a language server ship with the compiler.
- A full-stack path. The same typed application can run as supervised native actors and as a reactive WebAssembly browser client over typed WebSockets.
| Repository | What it is |
|---|---|
| morrow | The language: Rust compiler, Cranelift backend, runtime, LSP and CLI |
| morrow-lang.github.io | Source for morrow-lang.org |
You need rustup and a host compiler/linker (Xcode command-line tools on macOS, GCC/Clang with platform development libraries on Linux).
git clone https://github.com/morrow-lang/morrow.git
cd morrow
cargo xtask build --release
./bin/morrow run examples/tiny_cli.mrEarly preview, with a working Rust implementation. Native execution and release installation are verified on macOS ARM64 and Linux ARM64. Syntax and APIs are still evolving. See what is verified, what remains and the language status across targets.
Questions, bug reports and design discussion are welcome in issues. Contributors should start with the design, roadmap and decision record.
Released under the MIT License.