We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c70f9 commit 8b82f88Copy full SHA for 8b82f88
README.md
@@ -1,3 +1,36 @@
1
+# 编译&运行
2
+#### Linux(Debian)
3
+先安装编译依赖:
4
+
5
+ sudo apt install qt5-default flex bison g++ make
6
7
+克隆代码:
8
9
+ git clone https://github.com/zccrs/zScript
10
11
12
+编译:
13
14
+ cd zScript
15
+ mkdir build && cd build
16
+ qmake ..
17
+ make
18
19
+运行:
20
21
+ ./zScript ../demo/snake.zs
22
23
+#### Windows
24
25
26
+ 到 http://download.qt.io/official_releases/qt/ 下载并安装最新版的Qt
27
28
29
30
31
32
+打开项目并编译,可在“项目” --> “Build&Run” --> “Run” --> “Command line arguments:” 中添加命令行参数来执行要执行的代码文件。
33
34
# zScript
35
### 变量的定义
36
变量使用关键字“var”进行定义。
0 commit comments