Skip to main content

First Ayla Program

Now that you've installed the ayla binary and put it in your PATH, let's make a Hello World program in Ayla!

The built in functions for printing to the console are put and putln.

putln("Hello world!")

output: Hello world!

Let's try another program that uses a variable to print out a message

egg x = "Hi Ayla"

putln(x)

output: Hi Ayla

Now you're ready to move on to the main language features found in ayla lang!