O Language: Getting Started (Part 2)


Click download link and select your own system or package after setup your development environment path to extracted path. If you need to If you want to do development, you can install golang and extract the codes with this command;

go get -v github.com/olproject/olang

and run

olang(.exe) (-r) (-d=true [debug mode])

Thats it.


Olang files is to simple. Default file extension “.ola”. Let’s start by examining the programming language example.

def hello = fn(name){
  return "Hello, "+name+"! Welcome to O-lang!"
def result = hello("Oytun")


$ chmod a+x test.ol
$ ./test.ol


$ olang test.ol


Hello, Oytun! Welcome to Olang

Read more “O Language: Getting Started (Part 2)”

Why am I developing a language?

It’s a story that started a few months ago.

I had the idea of writing a language with the desire to do something simpler and faster. I had many opportunities ahead of time. But I could not because of time problems. Now I have begun to develop a new language by taking advantage of the gap between them.

I decided to write the language structure. I started doing this language, taking into account the basic needs of developers. The name is “O Language”. File format is based on “.ola”. You can run simple scripts that you write. I am developing day to day languages ​​by adding a lot of extra features. Based functions; it usually came about with the simplification and simplification of what is needed. In addition, I see that most people write code on multiple lines. I think writing more functions on the line is extending 90% of people’s work. I have developed a language that has all the definitions in one line. The writing style is somewhat similar to JavaScript and C type.

Let’s write a hello world example;

 def hello = fn () {return "Hello World!" };

To make it work;

 OlangMachine ~ $ olang hello.ola


 "Hello World!"

It’s that simple. Congratulations on your first code. We will continue with examining other sections in future periods. Stay tuned for now.

O-Language About: http://o-lang.tk