Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Borgo

< >

Borgo is a programming language created in 2023 by Marco Sampellegrini.

#673on PLDB 2Years Old
Download source code:
git clone https://github.com/borgo-lang/borgo
Homepage · REPL · Source Code

A language for writing applications that is more expressive than Go but less complex than Rust.


Example from the web:
use fmt enum NetworkState<T> { Loading, Failed(int), Success(T), } struct Response { title: string, duration: int, } fn main() { let res = Response { title: "Hello world", duration: 0, } let state = NetworkState.Success(res) let msg = match state { NetworkState.Loading => "still loading", NetworkState.Failed(code) => fmt.Sprintf("Got error code: %d", code), NetworkState.Success(res) => res.title, } fmt.Println(msg) }

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v165.2.0