官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 正定县| 鄱阳县| 新余市| 福泉市| 女性| 贞丰县| 孟村| 桃园市| 淳化县| 扎囊县| 庄浪县| 黄平县| 七台河市| 内丘县| 永宁县| 建始县| 康保县| 临清市| 徐州市| 广河县| 五河县| 昌平区| 梁山县| 大渡口区| 珲春市| 河池市| 德清县| 松潘县| 水城县| 藁城市| 陇西县| 富蕴县| 英超| 仙居县| 蒲江县| 龙州县| 沈丘县| 夹江县| 广元市| 寻乌县| 沁水县|