About
Crane is a programming language for writing robust and elegant software that will endure over time.
Features
Crane comes with all the features you need to write reliable software:
- A static, strong, and sound type system
- Sum types†, like
Option
andResult
- Pattern matching† with exhaustiveness checks
- Generics†
The inclusion of features alone is not what makes a good language. Equally important are the features that are not present:
- No
null
orundefined
- No inheritance
- No exceptions
†Not yet implemented.
use std::io::println
fn main() {
println("你好,世界。")
}