Skip to content

Hello Sovereignty

“Speak, and it shall be done.”

It is time to breathe life into the rock.

Create a file named hello.jan in your editor.

hello.jan
func main() do
print("I think, therefore I am Sovereign.")
end

We do not interpret. We build.

Terminal window
janus build hello.jan

If you see no errors, you have succeeded. Silence is golden.

Run your creation.

Terminal window
./hello

Output:

I think, therefore I am Sovereign.

What just happened?

janus build did not just “run” the code. It created a binary.

Look at it:

Terminal window
ls -lh hello
file hello

It says ELF 64-bit LSB pie executable. This file is independent. You can copy it to another Linux machine, and it will run. It does not need Janus installed. It stands alone.

You have created an independent entity.

Now that you can speak, let us learn the grammar of the Gods.

  • [Core Fundamentals]/learn/fundamentals/ — Types, control flow, and functions
  • [Quick Start]/learn/getting-started/ — Full quick start guide