Getting Started

From Onix OS Wiki
Jump to: navigation, search

O Language is simple "System Oriented Functional Programming Language (SOFPL)" for system level programming. O language, Python or Ruby-style interpreter programming Language.

Hello Galaxy Example

Open Code or a favorite text editor (like vim, nano). Create an empty file whose name is "hello.ola". And add the following lines;

show("Hello Galaxy!\n")


println("Hello Galaxy!")

Now save and open the terminal. Run file with olang;

olang hello.ola

Sample Result;

"Hello Galaxy!"

That's it. You're learning slowly. Keep learning and don't give up.

Now that we've started, you can find out the File Types by looking at the section below.

Other chapters related to the subject

  1. System Oriented Functional Programming Language (SOFPL)
  2. File Types
  3. Type Instructions
  4. Module Loading