Files
From OnixOS
Olang files is to simple. Default file extension “.ola”. Let’s start by examining the programming language example.
sample test.ola file:
def hello = fn(name){
return ("Hello, "+name+"! Welcome to O-lang!")
}
def result = hello("Oytun")
output(result)
Run:
$ olang test.ola
Output:
Hello, Oytun! Welcome to Olang