Skip to content

Hello World

This example demonstrates how to print a message to the terminal using the Umbra language.

Code

hello-world.u
import "io"

io::printLn("Hello world")

How to Run

To run the code above, save it in a file with the .u extension, such as hello-world.u. Then, execute the command:

umbra hello-world.u

This command will display Hello world in the terminal, showcasing the basic output functionality in Umbra.

Next example: Values