Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

The Hello World

Austin Lehman edited this page Oct 23, 2022 · 1 revision

Your First Aussom Program (helloworld.ca)

Quick overview. Aussom is an interpreted programming language. This means code is read by the interpreter, and then ran right away. The process of creating a Aussom program is simply writing code into a .ca file, and then calling Aussom to run it.

To run a Aussom program, simply open up a terminal window, navigate to the folder where your Aussom file (.ca) is located and then run it with the Aussom command. Here's a simple example.

shell> aus helloworld.ca

Let's create our first Aussom program. We will start with the simple hello world application just to get familiar. Open up your favorite text editor and create a new file called helloworld.ca. Next, copy and paste the following code and save the file.

include sys;

class helloWorld {
	public main(args) {
		msg = "Hello World";
		c.log(msg);
	}
}

Now open up a terminal window and navigate to the folder where your helloworld.ca file is located. Once there, run the Aussom helloworld.ca command shown above. If everything went well, you should see "Hello World" printed to your terminal window.

Congratulations! You have written and ran you first Aussom program. Next we will cover OOP in Aussom.

Clone this wiki locally