Let There Be Vibration

Source: getting-started. Raw markdown: /raw/docs/getting-started/let-there-be-vibration.md

Let There Be Vibration

Writing the first lines in a new programming language is always an exciting moment. Traditionally, this all starts with a <<<"Hello World!">>> app.

  • Create a directory and call it <<<hello-world>>>.
  • Under this directory create a new file called <<<main.art>>> and write the following code in it.
"Hello World!"?

Open a terminal inside the directory containing this file and execute it using:

""" sim -f main.art """ Hello World! !!!!

Congratulations! You have experienced the first vibrations of Simorg.

In Simorg's universe, everything exists in the form of an Event—or, as we call it, a Vibration.

In our lovely <<<Hello World!>>> example, the <<<"Hello World!">>> string is a Vibration. A Vibration is a chunk of data that has the ability to flow. So it is a package of energy and data together!

This Vibration is then received by the logger operator <<<?>>>, which absorbs the energy of the Vibration and logs the data to the terminal.