Writing your first application
Let's start by creating a "Hello World" application.
- Create an empty file and save it as
HelloWorld.juk
. - In that file, copy and paste the following code:
func main() = {
printLine("Hello World")
}
- Once done, save the file and run the following command:
./juka HelloWorld.juk
This will compile and run your application. If everything went well, you should see the following output:
Hello World