Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bahn

Mond is the language and bahn is the CLI / build tool. Bahn seeks to behave just like Cargo does for Rust. To get started, simply run:

bahn new hello_world

This will create a new directory hello_world. You can then run:

cd hello_world
bahn run

And you should see “Hello World” printed to stdout.

If you look in src/main.mond, you’ll see this:

(use std)

(let main {}
  (io/println "Hello, world!"))

In the next section, we’ll go through the language