Create hello.gb:
import io;
io.println("Hello, Geblang!");
Run it. No build step, and no main function required for a script:
geblang run hello.gb
Geblang is typed, so a real program declares its types and the checker
catches mistakes before the code runs:
import io;
func greet(string name): string {
return "Hello, ${name}!";
}
let names = ["Mara", "Devi", "Otto"];
for (name in names) {
io.println(greet(name));
}