Borgo is a statically typed language that compiles to Go

Introducing Borgo, a new programming language that bridges the gap between Go’s simplicity and Rust’s power. Borgo transpiles to Go and is fully compatible with existing Go packages. With syntax similar to Rust, including optional semi-colons, Borgo boasts features like algebraic data types, pattern matching, Option, and Result for error handling. A unique ‘? operator’ simplifies error handling. Dive into Borgo with examples like a guessing game, showcasing its integration with Go’s stdlib. Run Borgo locally with Rust’s cargo, compiling .brg files into .go files. Borgo stands out as a promising language for developers seeking a balance between simplicity and robustness.

https://github.com/borgo-lang/borgo

To top