Your first Opa application
As a first example, here is the most simple program in Opa:
jlog("hello Opa!")
Compile and run it:
$ opa hello.opa -o hello.js $ ./hello.js
Note
We can type opa hello.opa --
to compile and run the code in a single line.
The code does nothing but prints hello Opa on your screen. If you can see this message, it means Opa is working properly on your machine.