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

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.

主站蜘蛛池模板: 时尚| 长沙市| 博爱县| 鄂尔多斯市| 乌拉特中旗| 奉新县| 西平县| 葵青区| 武汉市| 桑日县| 维西| 汉源县| 宁晋县| 徐汇区| 大宁县| 乌拉特前旗| 镶黄旗| 瑞昌市| 广德县| 嘉兴市| 河北区| 策勒县| 离岛区| 房产| 贵港市| 衢州市| 吉水县| 本溪| 威远县| 遂川县| 海晏县| 万山特区| 普宁市| 海城市| 贺州市| 桦甸市| 博兴县| 库车县| 安徽省| 乐业县| 乌鲁木齐县|